/* =================================================
   EXAM PREP PLATFORM — PROFESSIONAL DASHBOARD THEME
   ================================================= */

/* ===== Theme Variables ===== */
:root{
  --brand:#28a745;

  --surface:#171a21;
  --surface2:#1e232c;

  --stroke:rgba(255,255,255,.10);

  --text:#e6edf3;
  --muted:#b3bcc6;
  --heading:#ffffff;
}

/* ===== Global Reset ===== */
*{
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  filter:none !important;
  text-shadow:none !important;

  box-sizing:border-box;
}

/* ===== Page Layout ===== */
html,body{
  height:100%;
  margin:0;
  padding:0;
}

body{
  margin:0;

  background:
    radial-gradient(circle at top, rgba(40,167,69,.18), transparent 55%),
    radial-gradient(circle at bottom, rgba(0,140,255,.14), transparent 60%),
    linear-gradient(180deg,#0f1115,#0b0c10 70%);

  background-attachment: fixed;

  color:var(--text);

  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;

  -webkit-font-smoothing:auto;
  -moz-osx-font-smoothing:auto;
  text-rendering:auto;

  font-size:16px;
  line-height:1.6;

  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ===== Container ===== */
.container{
  max-width:1360px;
  padding:18px;
  margin:0 auto;

  flex:1;
  width:100%;
}

/* ===== Typography ===== */

h1{
  font-size:28px;
  margin:0;
}

h2{
  font-size:20px;
  margin:0;
}

h3{
  font-size:18px;
}

h1,h2,h3,strong{
  color:var(--heading);
}

/* ===== Remove ALL Underlines ===== */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus{
  text-decoration:none !important;
  color:inherit;
}

/* ===== Premium Link Hover ===== */

a{
  font-weight:600;
  transition:color .15s ease, opacity .15s ease;
}

a:hover{
  opacity:.9;
  color:#fff;
}

/* ===== Optional animated link ===== */

.link{
  position:relative;
}

.link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:2px;
  background:var(--brand);
  transition:width .18s ease;
}

.link:hover::after{
  width:100%;
}

/* ===== Cards ===== */

.card{
  background:var(--surface);
  border:1px solid var(--stroke);
  border-radius:18px;

  padding:18px;

  box-shadow:0 12px 28px rgba(0,0,0,.35);
}

/* ===== Topbar ===== */

.topbar{
  background:var(--surface);
  border:1px solid var(--stroke);
  border-radius:18px;

  padding:14px 16px;

  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;

  box-shadow:0 12px 28px rgba(0,0,0,.35);
}

/* ===== Buttons ===== */

.btn{
  border-radius:14px;
  border:1px solid var(--stroke);
  background:var(--surface2);
  color:var(--text);

  padding:10px 16px;

  cursor:pointer;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  font-weight:600;

  transition:
    transform .08s ease,
    box-shadow .12s ease,
    border-color .12s ease,
    background .12s ease;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.20);
  box-shadow:0 8px 18px rgba(0,0,0,.35);
}

.btn.primary{
  border-color:rgba(40,167,69,.55);

  background:
    linear-gradient(
      180deg,
      rgba(40,167,69,.98),
      rgba(40,167,69,.80)
    );

  color:#fff;
  font-weight:800;
}

.btn.primary:hover{
  box-shadow:0 14px 24px rgba(40,167,69,.25);
}

/* ===== Inputs ===== */

.input,
select.input,
textarea.input{
  color:var(--text);
  background:var(--surface2);

  border:1px solid var(--stroke);
  border-radius:14px;

  padding:12px;

  outline:none;
  width:100%;
}

.input:focus,
select.input:focus,
textarea.input:focus{
  border-color:rgba(40,167,69,.65);
  box-shadow:0 0 0 4px rgba(40,167,69,.18);
}

/* ===== Badges ===== */

.badge{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);

  padding:4px 10px;
  border-radius:999px;

  font-size:12px;
}

/* ===== Pills ===== */

.pill{
  display:inline-flex;
  align-items:center;
  gap:6px;

  padding:6px 12px;

  border-radius:999px;

  border:1px solid rgba(255,255,255,.12);

  background:rgba(255,255,255,.05);

  font-size:13px;
  font-weight:600;
}

/* ===== Muted Text ===== */

.muted,
.muted-mini{
  color:var(--muted) !important;
  opacity:1 !important;
}

.muted-mini{
  font-size:12px;
}

/* ===== Grid Layout ===== */

.row{
  display:grid;
  gap:14px;
}

.row-2{
  grid-template-columns:1fr 1fr;
}

.row-3{
  grid-template-columns:1fr 1fr 1fr;
}

/* ===== Responsive ===== */

@media (max-width:900px){

  .row-2,
  .row-3{
    grid-template-columns:1fr;
  }

  .topbar{
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width:720px){

  .container{
    padding:14px;
  }

  .btn{
    width:100%;
    text-align:center;
  }
}