:root{
  --bg0:#070b14;
  --bg1:#091426;
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.04);
  --stroke:rgba(255,255,255,.10);
  --stroke2:rgba(255,255,255,.16);
  --text:#eaf2ff;
  --muted:#b8c4d8;
  --accent:#4ea1ff;
  --accent2:#31d3e6;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: "Tahoma", "Segoe UI", system-ui, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 15%, rgba(78,161,255,.20), transparent 55%),
    radial-gradient(900px 600px at 75% 25%, rgba(49,211,230,.16), transparent 60%),
    radial-gradient(900px 700px at 50% 80%, rgba(255,255,255,.05), transparent 60%),
    linear-gradient(135deg, var(--bg0), var(--bg1));
}

/* ================= TOP BAR ================= */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 22px;
  background:rgba(8,14,26,.55);
  backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.brand-title{
  font-size:28px;
  font-weight:800;
}
.brand-title .en{font-weight:900}

.brand-subtitle{
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
}

.pill{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
}
.pill__label{color:var(--muted); font-size:13px}
.pill__value{font-weight:800; font-size:16px}

/* ================= LAYOUT ================= */
.layout{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:18px;
  padding:18px;
}

.left,.right{
  min-height: calc(100vh - 110px);
}

.left{
  position:relative;
  overflow:hidden;
}

.left__card{
  padding:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
}

.left__logo{
  width:100%;
  background:#fff;
  padding:10px;
  border-radius:14px;
}

.left__note{
  margin-top:14px;
  padding:14px;
  border-radius:16px;
  background:rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.10);
}

.left__noteTitle{
  font-size:18px;
  font-weight:800;
  margin-bottom:10px;
}

.left__noteList{
  margin:0;
  padding-right:18px;
  color:var(--muted);
  line-height:1.8;
  font-size:14px;
}

.left__english{
  margin-top:14px;
  padding:14px;
  background:rgba(255,255,255,.04);
  border-radius:18px;
}

.left__englishTitle{
  font-weight:900;
  margin-bottom:8px;
}

.left__englishText{
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}

/* ================= PANEL ================= */
.panel{
  padding:18px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
}

.panel__header{
  font-size:20px;
  font-weight:900;
  margin-bottom:14px;
}

.field{margin-bottom:12px}

.label{
  display:block;
  color:var(--muted);
  margin-bottom:8px;
  font-size:14px;
}

.input,.textarea,.select{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.20);
  color:var(--text);
}

.actions{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.btn{
  padding:12px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
}

.btn--primary{
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  color:#0b1324;
}

/* ================= PROGRESS ================= */
.progressWrap{
  margin-top:14px;
  padding:12px;
  border-radius:16px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
}

.progressPct{
  font-size:22px;
  font-weight:900;
}

.progressBarOuter{
  height:12px;
  background:rgba(255,255,255,.08);
  border-radius:999px;
  overflow:hidden;
}

.progressBarInner{
  height:12px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
}

/* ================= SUPPORT TEXT (INSIDE PANEL) ================= */
.contentSupportPanel{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.10);
  font-size:14px;
  line-height:1.7;
  color:rgba(234,242,255,.78);
  text-align:right;
  direction:rtl;
}

/* ================= CONTACT FOOTER ================= */
.contactFooter{
  margin-top:16px;
  padding-top:14px;
  دborder-top:1px solid rgba(255,255,255,.08);
  display:flex;
  justify-content:flex-end;
  gap:14px;
}

.contactFooter__logo{
  width: calc(110px + 80px);   /* امتداد 3 سم تقريباً */
  height:auto;
  padding:12px;
  background:rgba(255,255,255,.06);
  border-radius:16px;
  box-shadow:0 14px 40px rgba(0,0,0,.30);

  /* النزول 30 ملم + اليمين 3 سم */
  transform: translate(90px, 00px);
}

.contactFooter__text{
  text-align:right;
  font-size:14px;
  color:var(--muted);
}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .layout{grid-template-columns:1fr}
  .contactFooter{
    flex-direction:column;
    align-items:flex-end;
  }
  .contactFooter__logo{
    width:100%;
    transform: translate(0,40px);
  }
}
/* زر تحديث عداد الزيارات – أحمر */
.btn--danger{
  background: rgba(220, 38, 38, .18);
  border-color: rgba(220, 38, 38, .45);
  color: #ffdada;
}
.btn--danger:hover{
  background: rgba(220, 38, 38, .28);
}

/* زر تحميل الملف – أخضر */
.btn--success{
  background: rgba(25, 180, 80, .20);
  border-color: rgba(25, 180, 80, .45);
  color: #d9ffe7;
}
.btn--success:hover{
  background: rgba(25, 180, 80, .30);
}
