:root{
  /* Logo palette */
  --blue:#0b5fb3;
  --red:#e71822;
  --green:#9ac321;

  /* Neutral system */
  --bg:#f4f7fb;
  --text:#0b1b2b;
  --muted:#5c6f84;
  --card:#ffffff;

  --line: rgba(11,27,43,.10);
  --shadow: 0 18px 50px rgba(11,27,43,.12);
  --radius: 20px;

  --focus: 0 0 0 4px rgba(11,95,179,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 460px at 14% 10%, rgba(11,95,179,.12), transparent 62%),
    radial-gradient(820px 420px at 86% 12%, rgba(231,24,34,.10), transparent 58%),
    radial-gradient(720px 420px at 50% 96%, rgba(154,195,33,.12), transparent 58%),
    var(--bg);
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,Arial,"Noto Kufi Arabic","Noto Sans Arabic",sans-serif;
}

.page{
  min-height:100%;
  max-width:1100px;
  margin:0 auto;
  padding: 26px 18px 18px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

/* ===== Topbar ===== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 8px 2px;
}

.brand{display:flex;align-items:center}
.logo{
  width:220px;
  height:auto;
  display:block;
  filter: drop-shadow(0 14px 28px rgba(11,95,179,.10));
}

/* ===== Main card ===== */
.card{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,95,179,.10);
  padding: 30px;
  position:relative;
  overflow:hidden;
}

/* Decorative official header line */
.card::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
}

/* Subtle corner watermark feel */
.card::after{
  content:"";
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -260px;
  top: -260px;
  background: radial-gradient(circle at 30% 30%, rgba(11,95,179,.10), transparent 60%);
  pointer-events:none;
}

/* ===== Badge ===== */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,95,179,.16);
  background: rgba(11,95,179,.06);
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .2px;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(231,24,34,.10);
}

/* ===== Typography ===== */
.title{
  margin: 16px 0 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  letter-spacing: .2px;
}
.subtitle{
  margin: 0 0 22px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

/* ===== Action buttons ===== */
.actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  user-select:none;
  font-weight: 900;
  letter-spacing: .2px;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:active{ transform: translateY(1px); }
.btn:focus{ outline:none; box-shadow: var(--focus); }

.btn-icon{ font-size: 18px; line-height: 1; }

/* Primary */
.btn-primary{
  background: linear-gradient(90deg, var(--blue), #0f6fcc);
  color:#fff;
  box-shadow: 0 14px 28px rgba(11,95,179,.18);
}
.btn-primary:hover{
  box-shadow: 0 18px 40px rgba(11,95,179,.22);
}

/* Outline */
.btn-outline{
  background:#fff;
  color: var(--blue);
  border-color: rgba(11,95,179,.22);
}
.btn-outline:hover{
  border-color: rgba(11,95,179,.35);
  box-shadow: 0 14px 28px rgba(11,27,43,.10);
}

/* Ghost / language */
.btn-ghost{
  background: rgba(11,95,179,.06);
  border-color: rgba(11,95,179,.14);
  color: var(--blue);
}
.btn-ghost:hover{
  background: rgba(11,95,179,.10);
}

/* ===== Info section ===== */
.info{
  margin-top: 24px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}

.info-item, .progress{
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,27,43,.02), transparent);
  padding: 16px;
  position:relative;
}

.info-item::before{
  content:"";
  position:absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, var(--blue), var(--green));
  opacity: .9;
}

.info-title{
  font-weight: 1000;
  margin-bottom: 8px;
}
.info-text{
  color: var(--muted);
  line-height: 1.9;
}

/* Progress */
.progress{
  border-color: rgba(154,195,33,.28);
  background: linear-gradient(180deg, rgba(154,195,33,.10), transparent);
}

.progress-bar{
  height: 12px;
  border-radius: 999px;
  background: rgba(11,27,43,.08);
  overflow:hidden;
}

.progress-fill{
  display:block;
  height:100%;
  width:70%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--red));
}

.progress-meta{
  display:flex;
  justify-content:space-between;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 900;
}

.footer{
  text-align:center;
  color: rgba(11,27,43,.55);
  font-weight: 800;
  padding: 10px 0 6px;
}

/* ===== Responsive ===== */
@media (max-width: 860px){
  .logo{ width: 180px; }
  .card{ padding: 22px; }
  .info{ grid-template-columns: 1fr; }
}
