/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Background for Auth Pages */
.auth-page {
  
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Auth Form Container */
.auth-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  width: 350px;
  text-align: center;
  transition: all 0.3s ease;
}

.auth-container:hover {
  transform: translateY(-2px);
}

.auth-container h2 {
  margin-bottom: 20px;
  color: #333;
}

.auth-container form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border 0.3s;
}

.auth-container form input:focus {
  border: 1px solid #74ebd5;
  outline: none;
}

.auth-container button {
  width: 100%;
  padding: 12px;
  background: #74ebd5;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.auth-container button:hover {
  background: #57c6b9;
}

.auth-container a {
  display: block;
  margin-top: 15px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

.auth-container a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: #a4ddf7;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: white;
  margin-right: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.navbar a:hover {
  text-decoration: underline;
}

.navbar button {
  background-color: white;
  color: #4CAF50;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.navbar button:hover {
  background-color: #ddd;
}

/* Main Container */
.container {
  padding: 2rem;
}

/* Pet Grid */
.pet-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));  /* Decreased min width */

  gap: 1.5rem;
}

/* Pet Card */
.pet-card {
   max-width: 400px; 
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
  background-color: #fff;
}

.pet-card:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pet-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.pet-card p {
  margin-top: 0.5rem;
  font-weight: bold;
}

/* Global Button (used in edit, forms, etc.) */
button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #bbcbfd;
}


/* Pet Details Container */
#petDetailsContainer {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin: 2rem auto;
  max-width: 500px;
  text-align: center;
}

#petDetailsContainer img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

#petDetailsContainer p {
  margin: 0.5rem 0;
  color: #333;
  font-weight: bold;
}

/* Edit Form Container */
.form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 2rem auto;
}

.form-container form input,
.form-container form select {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.form-container form button {
  width: 100%;
  padding: 0.8rem;
  background: #c9ccf7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.form-container form button:hover {
  background: #45a049;
}


/* Pet Grid - 3 in a row */
.pet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;  /* Reduced from 1.5rem */
}

/* Pet Card */
.pet-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
  background-color: #fff;
}

.pet-card:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pet-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}


.navbar {
  background-color: #6ba5c0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Left side links container */
.nav-links {
  display: flex;
  gap: 0.5rem; /* Reduce space between links */
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Logout button on right */
.navbar button {
  background-color: white;
  color: #4CAF50;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.navbar button:hover {
  background-color: #ddd;
}



/* Modal Styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.modal-content h3 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #4CAF50;
}

.modal-content button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-top: 10px;
}

.modal-content button:hover {
  background-color: #45a049;
}

/* Request Button on Pet Cards */
.request-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  width: 100%;
}

.request-btn:hover {
  background-color: #0056b3;
}




/* Compact Request Card */
.request-card {
  background-color: #fefefe;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  font-size: 0.9rem;
}

.request-card:hover {
  transform: scale(1.03);
}

.request-card h3 {
  margin-bottom: 0.5rem;
  color: #4CAF50;
  font-size: 1rem;
}

.request-card p {
  margin: 0.2rem 0;
  color: #333;
  font-size: 0.85rem;
}

/* Status Labels */
.request-card .status-approved {
  color: green;
  font-weight: bold;
}

.request-card .status-pending {
  color: #ff9800;
  font-weight: bold;
}

.request-card .status-rejected {
  color: red;
  font-weight: bold;
}



#requests-container {
  display: grid;
  height: 100px;
  width: 200px;
  gap: 15px;
  margin-top: 20px;
  padding-left: 20px;
}



    /* Chat Integration Styles */
    .chat-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 15px 20px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
      transition: all 0.3s ease;
      z-index: 1000;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .chat-button:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    }

    .chat-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      backdrop-filter: blur(5px);
    }

    .chat-container {
      width: 90%;
      max-width: 500px;
      height: 600px;
      background: white;
      border-radius: 20px;
      display: flex;
      flex-direction: column;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .chat-header {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .chat-header h3 {
      margin: 0;
      font-size: 18px;
    }

    .close-chat {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 5px;
      border-radius: 50%;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.3s;
    }

    .close-chat:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    .recipient-selector {
      padding: 15px;
      background: #f8f9fa;
      border-bottom: 1px solid #e0e0e0;
    }

    .recipient-selector select {
      width: 100%;
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      background: white;
    }

    .chat-messages {
      flex: 1;
      overflow-y: auto;
      padding: 15px;
      background: #fafafa;
    }

    .message {
      margin-bottom: 15px;
      max-width: 80%;
      word-wrap: break-word;
      animation: messageSlide 0.3s ease-out;
    }

    @keyframes messageSlide {
      from {
        opacity: 0;
        transform: translateX(20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .message.sent {
      margin-left: auto;
      text-align: right;
    }

    .message.received {
      margin-right: auto;
    }

    .message-bubble {
      padding: 12px 16px;
      border-radius: 18px;
      font-size: 14px;
      line-height: 1.4;
    }

    .message.sent .message-bubble {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
    }

    .message.received .message-bubble {
      background: #e9ecef;
      color: #333;
    }

    .message-info {
      font-size: 11px;
      opacity: 0.7;
      margin-top: 4px;
    }

    .chat-input {
      padding: 15px;
      background: white;
      border-top: 1px solid #e0e0e0;
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .chat-input input {
      flex: 1;
      padding: 12px 16px;
      border: 1px solid #ddd;
      border-radius: 25px;
      font-size: 14px;
      outline: none;
      transition: border-color 0.3s;
    }

    .chat-input input:focus {
      border-color: #667eea;
    }

    .send-btn {
      background: linear-gradient(135deg, #667eea, #764ba2);
      color: white;
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.2s;
    }

    .send-btn:hover {
      transform: scale(1.05);
    }

    .send-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }

    .empty-state {
      text-align: center;
      color: #666;
      font-style: italic;
      padding: 40px 20px;
    }

    .connection-status {
      padding: 8px 15px;
      text-align: center;
      font-size: 12px;
      font-weight: bold;
    }

    .connected {
      background: #d4edda;
      color: #155724;
    }

    .disconnected {
      background: #f8d7da;
      color: #721c24;
    }

    .connecting {
      background: #fff3cd;
      color: #856404;
    }

    /* Notification badge */
    .chat-notification {
      position: absolute;
      top: -8px;
      right: -8px;
      background: #dc3545;
      color: white;
      border-radius: 50%;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: bold;
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    /* Mobile responsiveness */
    @media (max-width: 768px) {

      .pet-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  /* Pet Card adjustments */
  .pet-card {
    padding: 0.8rem;
    max-width: 100%;
  }

  .pet-card img {
    height: 180px; /* smaller height for mobile */
  }

  .pet-card p,
  .pet-card h3 {
    font-size: 14px; /* smaller font */
  }

  .request-btn {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Navbar adjustments */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
      .chat-container {
        width: 95%;
        height: 90vh;
      }
      
      .chat-button {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 14px;
      }
    }
  
/* Hide the checkbox */
#nav-toggle {
  display: none;
}

/* Hamburger icon */
.hamburger {
  display: none; /* only show on mobile */
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-right: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {

  .nav-links {
    display: none;           /* hide links by default */
    flex-direction: column;  /* vertical dropdown */
    width: 100%;
    background-color: #6ba5c0;
    position: absolute;
    top: 60px;               /* below navbar */
    left: 0;
    padding: 1rem 0;
  }

  .nav-links a {
    display: block;
    padding: 10px 20px;
    color: white;
  }

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
  }

  /* Toggle nav links when checkbox checked */
  #nav-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }

  /* Optional: move logout button below links */
  #logoutBtn {
    margin-top: 10px;
  }

  .navbar {
    position: relative;
    flex-wrap: wrap;
  }
}




/* Container for Admin Dashboard */
#requestsContainer {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap; 
  gap: 20px;
  padding: 20px;
  width: 100%;
  justify-content: flex-start;
}

/* Admin Request Card */
#requestsContainer .request-card {
  flex: 0 1 350px;       /* Fixed width for a 'box' look */
  min-height: 300px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* Style for the 'Decision Finalized' text */
#requestsContainer .request-card em {
  display: block;
  margin-top: auto;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
  text-align: center;
  color: #777;
}



/* Container for User Adoption History */
#requests-container {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap; 
  gap: 15px;
  padding: 20px;
  width: 100%;
  justify-content: flex-start;
}

/* User Status Card */
#requests-container .request-card {
  flex: 0 1 280px;       /* Slightly smaller width for history cards */
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

/* Make pet names stand out in history */
#requests-container .request-card h3 {
  color: #388e3c;
  font-size: 1.1rem;
  margin-bottom: 8px;
}



/* Make textareas and buttons look better inside the horizontal cards */
.admin-message {
  width: 100%;
  margin: 10px 0;
  resize: vertical;
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: auto; /* Pushes buttons to the bottom of the card */
}

/* Responsive: 1 card per row on small screens */
@media (max-width: 768px) {
  .request-card {
    flex: 1 1 100%;
  }
}



/* ========================
   PetAdopt Landing Page
======================== */

/* 1. Base Landing Styles */
.landing-page {
  background-color: #0b0b0b; /* Deep dark background */
  color: #ffffff;
  overflow-x: hidden;
}

/* 2. Hero Section - Big Screen No-Scroll Layout */
@media (min-width: 769px) {
  html:has(.landing-page), 
  body.landing-page {
    height: 100vh;
    overflow: hidden; /* Lock screen for desktop */
  }

  .hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: calc(100vh - 80px); /* Fill screen minus navbar */
    padding: 0 9%;
    gap: 6rem;
  }

  /* Text takes 75% area */
  .hero-content {
    flex: 3;
    max-width: 800px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
  }

  /* Use your existing blue/green theme for the accent */
  .hero-content h1 span {
    color: #6ba5c0; 
    text-shadow: 0 0 20px rgba(107, 165, 192, 0.3);
  }

  .hero-content p {
    font-size: 1.2rem;
    color: #aaaaaa;
    margin-bottom: 2.5rem;
    max-width: 90%;
  }

  /* Small Image Positioning */
  .hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .hero-image img {
    width: 300px; /* Small decorative image */
    height: auto;
    max-height: 50vh;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(107, 165, 192, 0.2);
    object-fit: cover;
  }

  .hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
  }
}

/* 3. Button Variants for Landing */
.btn-primary {
  background-color: #6ba5c0 !important;
  color: white !important;
  padding: 12px 30px !important;
  border-radius: 6px !important;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-outline {
  border: 2px solid #6ba5c0 !important;
  color: #6ba5c0 !important;
  background: transparent !important;
  padding: 10px 28px !important;
  border-radius: 6px !important;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover { background-color: #5794af !important; }
.btn-outline:hover { background-color: rgba(107, 165, 192, 0.1) !important; }

/* 4. Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding: 4rem 5%;
    text-align: center;
    height: auto;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-image img {
    width: 80%;
    max-width: 300px;
    margin-top: 3rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .btn-primary, .btn-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}



/* ========================
   LANDING PAGE EXCLUSIVE
======================== */

/* 1. Global Page Lock for Desktop */
@media (min-width: 769px) {
  /* Use specific body class to avoid global impact */
  body.landing-page {
    height: 100vh;
    overflow: hidden; 
    background-color: #0b0b0b; /* Dark theme for landing */
  }

  /* Side-by-Side Hero Layout */
  .landing-page .hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 70px); /* Fill screen minus navbar height */
    padding: 0 9%;
    gap: 6rem;
  }

  /* Text Area Priority (75%) */
  .landing-page .hero-content {
    flex: 3;
    max-width: 800px;
    text-align: left;
  }

  .landing-page .hero-content h1 {
    font-size: clamp(3rem, 5vw, 4.4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
  }

  .landing-page .hero-content h1 span {
    color: #6ba5c0; /* Themed accent color */
  }

  /* Small Decorative Image (25%) */
  .landing-page .hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .landing-page .hero-image img {
    width: 300px; /* Small image as requested */
    height: auto;
    max-height: 50vh;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(107, 165, 192, 0.2);
    object-fit: cover;
  }
}

/* 2. Mobile Responsive Fixes */
@media (max-width: 768px) {
  .landing-page .hero {
    display: flex;
    flex-direction: column; /* Stack vertically for phones */
    padding: 4rem 5%;
    text-align: center;
    height: auto;
  }

  .landing-page .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .landing-page .hero-image img {
    width: 80%;
    max-width: 300px;
    margin-top: 3rem;
  }


   /* Mobile menu hidden by default */
  .landing-page .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #6ba5c0;
    flex-direction: column;
    padding: 1rem 0;
    z-index: 1000;
  }

  /* Show menu when active */
  .landing-page .nav-links.active {
    display: flex;
  }

  .landing-page .nav-links li {
    text-align: center;
  }

  .landing-page .nav-links a {
    color: white;
    padding: 12px 0;
    display: block;
  }
}

/* 3. Landing Specific Button Styles */
.landing-page .btn-primary {
  background-color: #6ba5c0;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: 0.3s;
}




.landing-page .btn-primary:hover {
  background-color: #5794af;
  transform: translateY(-2px);
}


@media (max-width: 768px) {

  .landing-page .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .landing-page .hamburger span {
    width: 25px;
    height: 3px;
    background-color: white; /* IMPORTANT */
    border-radius: 2px;
  }
}



/* --- Global Auth Page Fix --- */
body.auth-page {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Stacks Nav on top of Container */
    min-height: 100vh;      /* Use min-height so content can grow if needed */
    background-color: #f4f7f6;
    overflow-x: hidden;
}

/* --- Full Width Navbar (Fix for Screenshot 2) --- */
.auth-page .navbar {
    width: 100%;            /* Ensure it spans full width across the top */
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Links right */
    align-items: center;    /* Vertically centers text in bar */
    background-color: #6ba5c0; /* The specific blue from your screenshots */
    padding: 0 5%;          /* Side padding for content */
    height: 70px;
    box-sizing: border-box;
    flex-shrink: 0;         /* Prevent navbar from squashing */
}

/* --- Logo Styling --- */
.auth-page .navbar .logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
}

/* --- Centered Login Section --- */
.auth-page .auth-container {
    flex-grow: 1;           /* Takes up all remaining screen height */
    display: flex;
    justify-content: center; /* Vertical centering */
    align-items: center;     /* Horizontal centering */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Form Card Styling (Card look from Screenshots) --- */
#loginFormSection, #registerFormSection {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;        /* Keeps the card professional size */
    text-align: center;
}

/* --- Clean up Nav Links (Removes dots from Screenshots) --- */
.nav-links {
    display: flex;
    list-style: none;       /* Removes bullets seen in image_615cf5.png */
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* --- Consolidated Mobile Navbar Fix --- */
@media (max-width: 768px) {
    /* 1. Navbar Container: Increased height and left alignment */
    .auth-page .navbar {
        width: 100%;
        height: 100px;              /* Large height for mobile */
        display: flex;
        flex-direction: row;        /* Horizontal layout */
        justify-content: flex-start; /* Aligns all content to the far left */
        align-items: center;        /* Vertical centering */
        background-color: #6ba5c0;  /* Your theme blue */
        padding: 0 20px;            /* Consistent left breathing room */
        box-sizing: border-box;
        gap: 15px;                  /* Space between hamburger and logo */
        position: relative;
    }

    /* 2. Hamburger: Large icon on the far left */
    .auth-page .navbar .hamburger {
        display: flex !important;   /* Force visibility */
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        order: -1;                  /* Forces hamburger to the far left */
        margin: 0;
    }

    .auth-page .navbar .hamburger span {
        width: 30px;                /* Large clickable icon */
        height: 4px;
        background-color: white;
        border-radius: 2px;
    }

    /* 3. Logo: Bold and large text */
    .auth-page .navbar .logo {
        color: white;
        font-size: 2rem;            /* Big size */
        font-weight: bold;          /* Extra bold */
        margin: 0;
        white-space: nowrap;        /* Prevents text wrapping */
    }

    /* 4. Dropdown Menu: Ensures it opens correctly under the large bar */
    .auth-page .nav-links {
        display: none !important;   /* Hidden by default */
        position: absolute;
        top: 100px;                 /* Matches the 100px navbar height */
        left: 0;
        width: 100%;
        background-color: #6ba5c0;
        flex-direction: column;
        padding: 1rem 0;
        z-index: 1000;
        list-style: none;           /* Removes bullet points */
    }

    .auth-page .nav-links.active {
        display: flex !important;   /* Opens menu when toggled */
    }
}



/* FROM THIS: */
.auth-page .nav-links {
    display: none !important;
    /* ... rest of styles ... */
}

/* TO THIS: */
.auth-page .nav-links {
    display: none;  /* Remove !important */
    /* ... rest of styles ... */
}

/* Default for non-auth pages - hidden by checkbox */
.nav-links {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  /* Checkbox toggle for non-auth pages */
  #nav-toggle:checked + .hamburger + .nav-links {
    display: flex;
  }
}

/* Auth page specific - hidden by default, shown with .active class */
@media (max-width: 768px) {
  .auth-page .nav-links {
    display: none;
  }
  
  .auth-page .nav-links.active {
    display: flex !important;
  }
}