 /* header */
  /* HEADER STYLING */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #1d263b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  border-bottom: 1px solid #24307a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

header .logo {
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: bold;
}

header .header-nav a {
  margin-left: 20px;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

header .header-nav a:hover {
  color: orange;
}

header .header-right button {
  background: transparent;
  border: 1px solid orange;
  color: orange;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

header .header-right button:hover {
  background: orange;
  color: #000;
}

header button {
  background: transparent;
  border: 1px solid orange;
  color: orange;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

header button:hover {
  background: orange;
  color: #000;
}

/* Responsive header */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px;
  }
  header .header-nav {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  header .header-right {
    margin-top: 10px;
    width: 100%;
  }
}
/* ana */

/* ================= MAIN ================= */
main {
  flex: 1;
  max-width: 1300px;
  margin: auto;
  padding: 30px;
}

/* ================= UPLOAD ================= */
.upload-box {
  border: 2px dashed var(--border);
  padding: 50px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.upload-box h2 {
  margin-bottom: 10px;
}

.upload-box p {
  color: var(--text-muted);
}

.upload-box input {
  margin-top: 20px;
}

/* ================= GRID ================= */
.dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

/* ================= CARDS ================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.card h3 {
  color: var(--accent);
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* ================= LIST ================= */
ul {
  padding-left: 18px;
}
li {
  margin-bottom: 8px;
  font-size: 14px;
}

.good { color: var(--good); }
.warn { color: var(--warn); }
.bad  { color: var(--bad); }

/* ================= SCORE ================= */
.score-box {
  text-align: center;
}
.score {
  font-size: 56px;
  font-weight: bold;
}
.grade {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 2px;
}

/* footer */

/* Allow page to scroll */
html, body {
    height: 100%;
    overflow-y: auto;
}

/* Main content should fill screen but allow scrolling */
#mainContainer {
    flex: 1;
    min-height: calc(100vh - 80px); /* header height */
}

/* Footer naturally appears at bottom on scroll */
.site-footer {
    margin-top: 100px; /* space before footer */
}


/* ahahera */

.site-footer {
  background: linear-gradient(135deg, #0a0f1f, #0d1b2a);
  color: #cfd8dc;
  padding: 60px 20px 20px;
  font-family: "Segoe UI", Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-size: 26px;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.6;
  color: #b0bec5;
}

.footer-column h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a,
.footer-column p a {
  color: #b0bec5;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column p a:hover {
  color: orange;
}

.footer-socials {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  font-size: 14px;
  color: orange;
  text-decoration: none;
  border: 1px solid orange;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: rgb(241, 190, 94);
  color: #0a0f1f;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: #90a4ae;
}

.footer-legal a {
  color: #90a4ae;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  color: rgb(236, 186, 93);
}

/* new */
:root {
  --bg-main: #0b1024;
  --bg-card: #151c3d;
  --border: #24307a;
  --accent: #ff9800;
  --good: #4caf50;
  --warn: #ffc107;
  --bad: #f44336;
  --text-muted: #9aa7ff;
}

body {
  background: var(--bg-main);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}