/* =========================================================
   BASE (STUDENT / PUBLIC)
   Matches ADMIN NAV STYLE
========================================================= */

/* -------------------- THEME -------------------- */
:root {
  --violet: #4b2fa8;
  --indigo: #5a6cff;
  --bg: #f5f7ff;
  --card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e5e7eb;
}

/* -------------------- RESET -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial;
  background: linear-gradient(180deg, #f7f9ff, #eef2ff);
  color: var(--text-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   HEADER / NAVBAR (SAME AS ADMIN)
========================================================= */
.oa-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.oa-nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.brand {
  display: flex;
  align-items: center;

}

.brand .logo {
  height: 60px;
}

/* HAMBURGER */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* MOBILE MENU */
.nav-links {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff, #8093ff94);
}

.nav-links a {
  padding: 16px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-links.show {
  display: flex;
}

/* =========================================================
   DESKTOP NAVBAR
========================================================= */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background: none;
  }

  .nav-links a {
    padding: 0;
    border: none;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--violet), var(--indigo));
    transition: width 0.25s ease;
  }

  .nav-links a:hover::after {
    width: 100%;
  }
}

/* =========================================================
   PAGE OFFSET (CRITICAL)
========================================================= */
main.container {
  padding-top: 96px;
  padding-bottom: 80px;
}

/* =========================================================
   FOOTER
========================================================= */
footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

footer .container {
  padding: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding: 14px 50px 14px 14px;
  border-radius: 10px;
  border: none;
  background: #e6ebf2;
  font-size: 15px;
}

.password-wrapper span {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  color: #4a5bdc;
  font-weight: 600;
  transition: 0.3s;
}

.password-wrapper span:hover {
  color: #2c39b3;
}

