@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root{
  --bg:#0b0b0c;
  --panel:#121214;
  --card:#17171a;
  --muted:#9aa0a6;
  --border:#242427;
  --blue:#4285F4;
  --red:#EA4335;
  --yellow:#FBBC05;
  --green:#34A853;
  --radius:18px;
}

*{box-sizing:border-box}

body{
  margin:0;
  font-family:'Roboto',sans-serif;
  background:radial-gradient(circle at 20% 0%, #111 0%, #0b0b0c 40%);
  color:#e8eaed;
}

/* LAYOUT */
.layout{display:flex; min-height:100vh}

/* SIDEBAR */
.sidebar{
  width:240px;
  background:rgba(18,18,20,0.9);
  backdrop-filter: blur(10px);
  border-right:1px solid var(--border);
  padding:24px 18px;
}

.brand{
  font-size:22px;
  font-weight:600;
  margin-bottom:30px;
  letter-spacing:0.5px;
}

.sidebar a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  margin:8px 0;
  border-radius:12px;
  color:#cfcfcf;
  text-decoration:none;
  transition:0.25s;
}

.sidebar a:hover{
  background:rgba(66,133,244,0.15);
  color:white;
  transform:translateX(4px);
}

/* MAIN */
.main{flex:1}

/* TOPBAR */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 30px;
  background:rgba(18,18,20,0.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.topbar input{
  width:300px;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#0f0f10;
  color:white;
  font-size:14px;
}

/* CONTENT */
.content{
  padding:35px;
}

/* CARDS */
.card{
  background:linear-gradient(145deg,#17171a,#131316);
  padding:28px;
  border-radius:var(--radius);
  margin-bottom:20px;
  border:1px solid var(--border);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 50px rgba(0,0,0,0.6);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:22px;
}

/* STAT CARDS */
.stat{
  font-size:14px;
  color:var(--muted);
}

.stat h1{
  margin:10px 0 0;
  font-size:34px;
  font-weight:600;
}

/* BADGES */
.badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:20px;
  font-size:12px;
  margin-top:8px;
}

.high{background:rgba(234,67,53,0.2); color:var(--red);}
.medium{background:rgba(251,188,5,0.2); color:var(--yellow);}
.low{background:rgba(52,168,83,0.2); color:var(--green);}

/* BUTTON */
button{
  margin-top:12px;
  padding:12px 20px;
  border:none;
  border-radius:12px;
  background:linear-gradient(270deg,#4285F4,#EA4335,#FBBC05,#34A853);
  background-size:600% 600%;
  animation:gradientMove 6s ease infinite;
  color:white;
  font-weight:500;
  cursor:pointer;
  transition:0.2s;
}

button:hover{
  transform:scale(1.05);
}

/* INPUTS */
input,select{
  width:100%;
  padding:12px;
  margin:8px 0;
  border-radius:10px;
  border:1px solid var(--border);
  background:#0f0f10;
  color:white;
}

/* TABLE STYLE (ADMIN LOOK) */
.table{
  width:100%;
  border-collapse:collapse;
}

.table th,.table td{
  padding:12px;
  border-bottom:1px solid var(--border);
  text-align:left;
}

/* TOAST */
#toast{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#1f1f22;
  padding:15px 22px;
  border-radius:12px;
  display:none;
  box-shadow:0 10px 30px rgba(0,0,0,0.5);
}

/* ANIMATION */
@keyframes gradientMove{
  0%{background-position:0%}
  50%{background-position:100%}
  100%{background-position:0%}
}
.popup {
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,0.7);
    display:none;
    align-items:center;
    justify-content:center;
}

.popup-box {
    background:#1f1f22;
    padding:30px;
    border-radius:15px;
    text-align:center;
}
.special-link {
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 16px;
    margin:12px 0;
    border-radius:14px;
    font-weight:500;
    letter-spacing:0.3px;

    background: linear-gradient(270deg,#4285F4,#EA4335,#FBBC05,#34A853);
    background-size:600% 600%;
    animation:gradientMove 6s ease infinite;

    color:white;
    text-decoration:none;

    box-shadow:0 8px 25px rgba(0,0,0,0.5);
    transition:all 0.25s ease;
}

.special-link:hover {
    transform:translateY(-3px) scale(1.03);
    box-shadow:0 15px 35px rgba(66,133,244,0.4);
}