/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* Header with logo */
.site-header {
  background-color: #ffffff;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.header-logo {
  height: 60px;
  width: auto;
}

/* Navigation - with blue background to match live site */
.main-nav {
  background-color: #2e6da4;
  padding: 15px 0;
  border-bottom: 1px solid #1e5294;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  margin-right: 25px;
  font-size: 16px;
  font-weight: normal;
  padding: 12px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.nav-link.active {
  color: #ffffff;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid #ffffff;
}

.auth-button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-left: auto;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.auth-button:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
  transition: 0.3s;
}

/* Container for main content */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Dashboard Header */
.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.dashboard-header h1 {
  font-size: 2.5rem;
  color: #2e6da4;
  margin-bottom: 10px;
}

.dashboard-header h2 {
  font-size: 2rem;
  color: #2e6da4;
  margin-bottom: 15px;
}

.subheading {
  font-size: 1.3rem;
  color: #5583b8;
  font-weight: 300;
}

/* Welcome Section */
.welcome-section {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.welcome-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.welcome-text {
  flex: 1;
}

.welcome-text p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.welcome-text a {
  color: #007bff;
  text-decoration: none;
}

.welcome-text a:hover {
  text-decoration: underline;
}

.welcome-image {
  flex: 0 0 300px;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Auth Section */
.auth-section {
  text-align: center;
  border-top: 1px solid #e5e5e5;
  padding-top: 30px;
}

.auth-options {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.google-sso-link {
  display: inline-block;
}

.google-sso-btn {
  height: 46px;
  width: auto;
  max-width: 240px;
  transition: opacity 0.3s ease;
}

.google-sso-btn:hover {
  opacity: 0.9;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

/* Practice Hub Section */
.practice-hub {
  margin-bottom: 30px;
}

.practice-hub .card {
  background: #fffbe6;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.practice-hub .card h3 {
  text-align: center;
  color: #2e6da4;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}

.hub-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s ease;
}

.hub-item:hover:not(.disabled) {
  background-color: #f8f9fa;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.hub-item.disabled {
  background-color: #e8e8e8;
  color: #999;
  cursor: not-allowed;
}

.hub-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: block;
}

.hub-item:not(.disabled) .icon {
  color: #2e6da4;
}

.hub-item.disabled .icon {
  color: #aaa;
}

.hub-item h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 600;
}

.hub-item p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Notifications Section */
.notifications-box {
  background-color: #fffbe6;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.notifications-box h3 {
  text-align: center;
  color: #2e6da4;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.notifications-box > p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #666;
}

.inner-notification {
  background-color: #e0f7fa;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  font-size: 0.95rem;
  border-left: 4px solid #2e6da4;
}

/* Content Sections */
.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  color: #2e6da4;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #2e6da4;
  padding-bottom: 10px;
}

.class-list {
  list-style: none;
  padding: 0;
}

.class-list li {
  background-color: #ffffff;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  border-left: 4px solid #2e6da4;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-divider {
  margin: 40px 0;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e5e5e5 20%, #e5e5e5 80%, transparent 100%);
}

/* Intro Text */
.intro-text {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.intro-text a {
  color: #2e6da4;
  text-decoration: none;
}

.intro-text a:hover {
  text-decoration: underline;
}

/* STATUS MESSAGES */
.status-message {
  margin-bottom: 30px;
}

.status {
  margin: 15px 0;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* FORM STYLES */
/* Registration Form Container */
.registration-form-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Enhanced Contact and Registration Form Styling */
.contact-form,
.registration-form {
  background-color: #ffffff;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border: 1px solid #e5e5e5;
}

/* Form Sections */
.form-section {
  margin-bottom: 45px;
}

.form-section:last-child {
  margin-bottom: 30px;
}

.form-section.personal-info-section {
  background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
  padding: 35px;
  border-radius: 12px;
  border: 2px solid #e3f0ff;
  position: relative;
}

.form-section.personal-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2e6da4, #5583b8);
  border-radius: 12px 12px 0 0;
}

.section-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2e6da4;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 3px solid #2e6da4;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2e6da4, #5583b8);
  border-radius: 2px;
}

/* Form Groups and Rows */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.form-row {
  display: flex;
  gap: 25px;
  width: 100%;
}

/* Form Fields */
.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field.full-width {
  flex: 1 1 100%;
}

.form-field label {
  font-size: 16px;
  font-weight: 600;
  color: #2e6da4;
  margin-bottom: 10px;
  display: block;
  letter-spacing: 0.3px;
}

.required {
  color: #dc3545;
  font-weight: bold;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2e6da4;
  box-shadow: 0 0 0 4px rgba(46, 109, 164, 0.15);
  background-color: #fafbfc;
  transform: translateY(-1px);
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #5583b8;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
  font-style: italic;
  opacity: 0.8;
}

/* Field Notes */
.field-note {
  font-size: 14px;
  color: #666;
  font-style: italic;
  margin-top: 8px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border-left: 3px solid #2e6da4;
  border-radius: 0 6px 6px 0;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  min-width: 120px;
  justify-content: center;
}

.radio-label:hover,
.checkbox-label:hover {
  border-color: #2e6da4;
  background-color: #f8fbff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 109, 164, 0.15);
}

.radio-label input[type="radio"]:checked + *,
.checkbox-label input[type="checkbox"]:checked + * {
  background-color: #2e6da4;
  color: #ffffff;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  transform: scale(1.2);
  accent-color: #2e6da4;
}

/* Age Confirmation Group */
.age-confirmation-group {
  margin-top: 25px;
}

.age-confirmation-group > label:first-child {
  margin-bottom: 15px;
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #2e6da4;
}

/* Guardian Field */
.guardian-field {
  display: none;
  margin-top: 20px;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Liability Content */
.liability-content {
  background: linear-gradient(135deg, #fff9f0 0%, #fff5e6 100%);
  padding: 30px;
  border-radius: 12px;
  border: 2px solid #ffe4cc;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.liability-content p {
  margin-bottom: 20px;
  color: #444;
}

.liability-content ul {
  margin: 20px 0;
  padding-left: 25px;
}

.liability-content li {
  margin-bottom: 15px;
  color:  #444;
}

/* Button Groups */
.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* Primary and Secondary Buttons */
.primary-button {
  background-color: #2e6da4;
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.primary-button:hover {
  background-color: #1e5294;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 109, 164, 0.3);
}

.secondary-button {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.secondary-button:hover {
  background-color: #545b62;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Confirmation Section */
.confirmation-section {
  display: none;
}

.review-data-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 25px;
}

.review-list {
  list-style: none;
  padding: 0;
}

.review-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
}

.review-list li:last-child {
  border-bottom: none;
}

/* Status Messages */
.status {
  margin-top: 15px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: 30px 0;
  text-align: center;
  margin-top: 50px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.site-footer p {
  margin: 5px 0;
  color: #666;
}

.site-footer a {
  color: #007bff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }
  
  .nav-container .nav-link:not(.auth-button) {
    display: none;
  }
  
  .nav-container.mobile-active .nav-link:not(.auth-button) {
    display: block;
    width: calc(100% - 36px);
    padding: 15px 18px;
    margin: 5px 0;
    border-bottom: none;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-container.mobile-active .nav-link:not(.auth-button):hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
  }
  
  .hamburger {
    display: block;
  }
  
  .dashboard-header h1 {
    font-size: 2rem;
  }
  
  .subheading {
    font-size: 1.1rem;
  }
  
  .welcome-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .welcome-image {
    flex: none;
    text-align: center;
  }
  
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .hub-item {
    max-width: 100%;
  }
  
  .section {
    padding: 20px 15px;
  }
  
  .google-sso-btn {
    height: 40px;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .dashboard-header h1 {
    font-size: 1.7rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .header-logo {
    height: 45px;
  }
  
  .footer-logo img {
    height: 40px;
  }
}