@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* Consistent with previous theme */
:root {
  --navy: #003366;
  --orange: #FF9900;
  --teal: #194775;
  --white: #ffffff;
}

body {
  background-color: var(--teal);
  font-family: 'Outfit', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
nav, nav *, .admin-nav, .admin-nav * {
  font-family: 'Oswald', sans-serif !important;
}

/* Navigation - Same as previous */
nav {
  background: #003366;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

/* Navigation  */
nav {
  background: #003366;
  padding-right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo img {
  height: 45px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style-type: none;
  margin: 0;
  padding: 0;
} 

nav ul li {
  position: relative;
}

/* Modify existing navigation styles */
nav ul li a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  border-radius: 10px;
  padding: 8px 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}



nav ul li a:hover {
  background: #FF9900;
  color: #000000;
}

nav ul li.active a{
  background-color: #FF9900;
  color:#000000;
}

nav ul li.active a::after {
  display: none; /* Hide underline on active state */
}


/* Auth Container */
.auth-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 5%;
}



.auth-box {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-width: 4px;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h2 {
  color: var(--navy);
  font-size: 2rem;
  margin: 0 0 10px 0;
}

.auth-header p {
  color: #666;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  color: var(--navy);
  margin-bottom: 5px;
  font-weight: 500;
}

.auth-form input {
  width: 95%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--orange);
}

.auth-form button {
  width: 100%;
  padding: 15px;
  color: var(--navy);
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-form button:hover {
  background: #FF6600;
  color: white;
}

.auth-links {
  text-align: center;
  margin-top: 20px;
}

.auth-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-links a:hover {
  color: var(--orange);
}

@media (max-width: 768px) {
  .auth-box {
    padding: 30px 20px;
  }
  
  nav ul {
    display: none;
  }
}



/* Popup Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.popup-content p {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.popup-content button {
  padding: 0.5rem 1.5rem;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Error Popup Styling */
.error-popup {
  background: #ffebee;
  border: 2px solid #ff5252;
}

.error-popup p {
  color: #ff5252;
}

.error-popup button {
  background: #ff5252;
}



/* Password Requirements Styles */
.password-requirements {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.password-requirements ul {
  margin: 5px 0 0 20px;
  padding: 0;
}

.password-requirements li {
  list-style-type: none;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.password-requirements i {
  font-size: 18px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Password Requirements */
.password-requirements {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.password-requirements ul {
  margin: 5px 0 0 20px;
  padding: 0;
}

.password-requirements li {
  list-style-type: disc;
  margin-bottom: 3px;
}

.password-requirements li.valid {
  color: #28a745;
}
/* Consent checkbox styling */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px !important;
  color: #555;
  line-height: 1.4;
}

.checkbox-group input {
  width: 18px !important;
  height: 18px !important;
  margin-top: 2px;
  cursor: pointer;
}

.checkbox-group a {
  color: var(--navy);
  text-decoration: underline;
  font-weight: 600;
}

.checkbox-group a:hover {
  color: var(--orange);
}

/* ===== Google Sign-In Button ===== */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: #444;
  border: 1.5px solid #dadce0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
  margin-top: 4px;
  font-family: inherit;
}

.google-btn:hover {
  background: #f8f8f8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  border-color: #bbb;
}

.google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  color: #aaa;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
