:root {
  
  --bg-start: #f8fafc;       
  --bg-end:   #eef2f7;      
  --text:     #0f172a;       
  --muted:    #334155;       
  --line:     #e5e7eb;      
  --accent:   #0ea5e9;       
  --accent-strong: #2563eb;  
  --accent-soft:   #e2f3fb;  
  --footer-bg:     #0b1220;  
  --footer-text:   #cbd5e1;  

  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --shadow-soft: 0 8px 20px rgba(2, 6, 23, 0.06);
  --shadow-card: 0 10px 24px rgba(2, 6, 23, 0.08);

  
  --outer-width: 1120px; 
  --gap: 24px;

 
  --base-font: 'Inter', 'Poppins', Arial, sans-serif;
  --heading-font: 'Poppins', 'Inter', Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-family: var(--base-font);
  color: var(--text);
  background: url('/Images/aurora.d2a6947c3dcfb777c25f.webp') center 20% fixed; 
  background-size: cover; 
}


img { max-width: 100%; height: auto; border: 0; }


a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }


h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .75em 0;
  font-family: var(--heading-font);
  color: var(--text);
  letter-spacing: .2px;
}
h1 { font-size: 32px; font-weight: 600; }
h2 { font-size: 26px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }


br.clear { clear: both; }


#bg { padding: 16px; }


#outer {
  width: var(--outer-width);
  margin: 0 auto;
}


#header {
  position: relative;
  padding: 24px 30px;
  width: 100%;
}

#logo {
  position: static; 
  line-height: 1.1;
}

#logo h1 {
  font-size: 36px; 
  font-weight: 600;
  margin: 0;
}

#logo a {
  color: #0ea5e9;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

#logo a:hover, #logo a:focus {
  text-decoration: none;
}



#nav {
  position: absolute;
  right: 30px;
  top: 28px;
  font-family: var(--heading-font);
  font-size: 16px;
}

#nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

#nav ul li {
  margin: 0;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background .2s ease, color .2s ease;
}

#nav li a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  font-size: 18px; 
  font-weight: bold;
}

#nav ul li:hover { background: var(--accent-soft); }
#nav ul li.active { background: var(--accent-soft); }
#nav ul li.active a { color: #0ea5e9; }


#banner {
  position: relative;
  padding: 0;
  height: 220px;
  width: 100%;
  margin: 12px 0 0 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}


#banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: saturate(.9) contrast(1.05);
}

#banner > .banner-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}


#main {
  position: relative;
  margin: 24px 0 0 0;
  width: 100%;
  color: var(--text);
  display: flex;
  align-items: stretch; 
}


#sidebar {
  width: 24%;
  float: left;
  padding: 16px; 
  margin-right: 4%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.9); 
  flex: 0 0 24%; 
  border-radius: var(--radius-lg); 
}

#sidebar h3 { color: var(--text); font-weight: 600; }
#sidebar p  { color: var(--muted); margin-top: 8px; }


#content {
  width: 72%;
  float: left;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: rgba(255, 255, 255, 0.9); 
  flex: 1; 
}

#box1, #box2 {
  margin: 0 0 20px 0;
  overflow: hidden;
}

#content img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

#footer {
  position: relative;
  padding: 24px;
  width: 100%;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-radius: var(--radius-lg);
  margin-top: 28px;
}

#footer a { color: #7dd3fc; }


input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--base-font);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea { resize: vertical; min-height: 120px; }

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}

button,
input[type="submit"],
input[type="button"] {
  display: inline-block;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .02s ease;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover { background: var(--accent-strong); }

button:active,
input[type="submit"]:active,
input[type="button"]:active { transform: translateY(1px); }

table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 16px 0;
  font-size: 15px;
}

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

thead th {
  background: var(--accent-soft);
  color: #0369a1;
  font-weight: 600;
}

.muted { color: var(--muted) !important; }
.card {
  background: rgba(255, 255, 255, 0.9); 
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.muted-sm {
  font-size: 15px; 
  line-height: 1.8; 
  color: var(--muted); 
}

@media (max-width: 900px) {
  #header { padding: 20px; }
  #nav { position: static; margin-top: 12px; }
  #nav ul { flex-wrap: wrap; gap: 6px; }
  #banner { height: 180px; margin-top: 8px; }

  #sidebar,
  #content {
    width: 100%;
    float: none;
    margin: 0 0 16px 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  #banner { height: 150px; font-size: 20px; }
}

.reg-btn{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1100;
  padding: 10px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color:#fff;
  font-family: var(--heading-font);
  font-weight:600;
  cursor:pointer;
  box-shadow: var(--shadow-soft);
  transition: background .2s ease, transform .02s ease;
}
.reg-btn:hover{ background: var(--accent-strong); }
.reg-btn:active{ transform: translateY(1px); }


.modal-backdrop{
  position: fixed; inset: 0;
  background: rgba(2,6,23,.45);
  display: none;                
  align-items: center;
  justify-content: center;
  z-index: 1090;
  padding: 16px;
}


.modal{
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px;
}

.modal header{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 10px;
}
.modal header h3{ margin:0; font-size: 20px; }

.modal .close{
  border:0; background: transparent; cursor:pointer; font-size: 22px;
  line-height: 1; padding: 6px; border-radius: 8px;
}
.modal .close:hover{ background: var(--accent-soft); }


.modal .row{ margin: 10px 0; }
.modal .row label{ display:block; font-size: 14px; margin-bottom: 6px; color: var(--muted); }

.modal .actions{
  display:flex; gap:10px; justify-content:flex-end; margin-top: 12px;
}
.modal .ghost{
  background: #f1f5f9; color: var(--text);
}



.auth-buttons{
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 1100;
  display: flex;
  gap: 10px;
}


.login-btn{
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #0d6efd;
  background: #ffffff;
  color: #0d6efd;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: background .2s ease, color .2s ease, transform .02s ease, border-color .2s ease;
}
.login-btn:hover{
  background: #0d6efd;
  color: #fff;
  border-color: #0b5ed7;
}
.login-btn:active{ transform: translateY(1px); }


.auth-buttons .login-btn,
.auth-buttons .reg-btn{
  line-height: 1;
}

.sidebar-note ul{
  margin: 8px 0 0 0 !important;   
  padding-left: 0 !important;      
  list-style-position: inside;      
}
.sidebar-note li{
  margin: 0;
  padding: 0;
}



.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: background 0.3s, transform 0.2s;
}

.social-btn i {
  font-size: 18px;
  color: #1a1a1a;
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-btn.tg i { color: #0088cc; }
.social-btn.fb i { color: #1877f2; }
.social-btn.ig i { color: #e1306c; }
.social-btn.yt i { color: #ff0000; }
.social-icons a,
.social-icons a:hover,
.social-icons a:focus,
a.social-btn,
a.social-btn:hover,
a.social-btn:focus {
text-decoration: none;
}
