/* Google Fonts: Open Sans */
:root {
  --primary: #1769aa;
  --primary-light: #2196f3;
  --background: #f8fbff;
  --text: #222;
  --white: #fff;
  --footer-bg: #e3eaf2;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Helvetica, 'San Francisco', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  margin: 0;
  padding: 0;
}

header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: var(--primary-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.header-logo {
  display: flex;
  align-items: center;
  margin-right: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.logo-image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero {
  background: linear-gradient(90deg, var(--primary) 60%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 2rem 3rem 2rem;
  text-align: center;
}

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

.hero p {
  font-size: 1.3rem;
  margin: 0 auto;
  max-width: 600px;
}

.intro, .about-section, .contact-section {
  max-width: 900px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(23, 105, 170, 0.07);
  padding: 2.5rem 2rem;
  transition: box-shadow 0.3s;
}

.intro h2, .about-section h1, .contact-section h1 {
  color: var(--primary);
  margin-top: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  padding: 0.7rem 1rem;
  border: 1px solid #bcd2e8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #f4faff;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid var(--primary-light);
  outline: none;
}

.contact-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.08);
}

.contact-form button:hover {
  background: var(--primary-light);
}

/* Phone number validation styles */
.contact-form input.invalid {
  border: 2px solid #e74c3c;
  background: #fff5f5;
}

.contact-form input.invalid:focus {
  border: 2px solid #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form input.invalid::placeholder {
  color: #e74c3c;
}

.contact-info {
  margin-top: 2rem;
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--primary);
  text-decoration: underline;
}

.contact-info .note {
  margin-top: 1rem;
  font-size: 0.98rem;
  color: #555;
}

footer {
  background: var(--footer-bg);
  text-align: center;
  padding: 1.2rem 0;
  color: var(--primary);
  font-size: 1rem;
  margin-top: 3rem;
}

ul {
  padding-left: 1.2rem;
}


.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-content {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(23, 105, 170, 0.07);
  z-index: 10;
  padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  text-align: center;
}

.nav-links .dropdown-content a {
  display: block;
  color: var(--primary);
  text-decoration: none;
  padding: 0.7rem 0;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s;
}

.nav-links .dropdown-content a:hover {
  color: var(--primary-light);
  background: #f8fbff;
}

.nav-links .dropdown:hover .dropdown-content,
.nav-links .dropdown:focus-within .dropdown-content,
.nav-links .dropdown-content:hover {
  display: block;
}

.nav-links .dropdown-content::before,
.nav-links .dropdown-content::after {
  display: none;
}


@media (max-width: 900px) {
  .intro, .about-section, .contact-section {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }
  .navbar {
    padding: 1rem 1rem;
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--white);
    flex-direction: column;
    width: 200px;
    gap: 0;
    padding: 0;
    box-shadow: 0 4px 16px rgba(23, 105, 170, 0.10);
    border-radius: 0 0 0 12px;
    display: none;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links li a {
    display: block;
    padding: 1rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links .dropdown-content {
    position: static;
    transform: none;
    min-width: unset;
    box-shadow: none;
    border: none;
    padding: 0;
    display: none;
    background: #f8fbff;
    width: 100%;
  }
  .nav-links .dropdown.active .dropdown-content {
    display: block;
  }
  .nav-links .dropdown-content::before,
  .nav-links .dropdown-content::after {
    display: none;
  }
  .nav-links .dropdown-content a {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #e0e0e0;
  }
  .nav-links .dropdown-content a:last-child {
    border-bottom: none;
  }
}


.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(23, 105, 170, 0.1);
}

 .team-photo {
   width: 120px;
   height: 120px;
   border-radius: 8px;
   object-fit: cover;
   object-position: center center;
   margin: 0 auto 1rem auto;
   border: 3px solid var(--primary);
   display: block;
 }

.team-member h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
}

.team-member .title {
  color: var(--primary-light);
  font-weight: 600;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

 .team-member .contact {
   color: var(--text);
   margin: 0.3rem 0;
   font-size: 0.9rem;
 }
 
 .team-member .email {
   color: var(--primary);
   margin: 0.5rem 0;
   font-size: 0.9rem;
   font-weight: 500;
   word-break: break-all;
 }
 

 .welcome-section {
   background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
   padding: 4rem 2rem;
   margin: 0;
 }
 
 .welcome-content {
   max-width: 1200px;
   margin: 0 auto;
   text-align: center;
 }
 
 .welcome-text h2 {
   color: var(--primary);
   font-size: 2.2rem;
   font-weight: 700;
   margin-bottom: 1.5rem;
   line-height: 1.3;
 }
 
 .welcome-text > p {
   font-size: 1.2rem;
   line-height: 1.6;
   color: var(--text);
   margin-bottom: 3rem;
   max-width: 800px;
   margin-left: auto;
   margin-right: auto;
 }
 
 .welcome-features {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
   gap: 2.5rem;
   margin-top: 3rem;
 }
 
 .feature {
   background: var(--white);
   padding: 2rem 1.5rem;
   border-radius: 12px;
   box-shadow: 0 4px 20px rgba(23, 105, 170, 0.08);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: 1px solid rgba(23, 105, 170, 0.05);
 }
 
 .feature:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 30px rgba(23, 105, 170, 0.12);
 }
 
 .feature-icon {
   font-size: 2.5rem;
   margin-bottom: 1rem;
   display: block;
 }
 
 .feature h3 {
   color: var(--primary);
   font-size: 1.3rem;
   font-weight: 600;
   margin-bottom: 0.8rem;
 }
 
   .feature p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
  }


  .hero-image-section {
    padding: 0;
    margin: 0;
    background: var(--white);
  }

  .hero-image-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
  }

  .hero-image {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(23, 105, 170, 0.9));
    color: var(--white);
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
  }

  .hero-image-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }

  .hero-image-overlay p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
  }


  .gallery-section {
    background: var(--background);
    padding: 4rem 2rem;
  }

  .gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
  }

  .gallery-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(23, 105, 170, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(23, 105, 170, 0.12);
  }

  .gallery-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .gallery-caption {
    padding: 2rem;
    text-align: center;
  }

  .gallery-caption h4 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .gallery-caption p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
  }


  .testimonial-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 4rem 2rem;
  }

  .testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .testimonial-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
  }

  .testimonial-image {
    text-align: center;
  }

  .testimonial-img {
    width: 100%;
    max-width: 500px;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }


  .final-image-section {
    background: var(--white);
    padding: 4rem 2rem;
  }

  .final-image-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .final-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(23, 105, 170, 0.1);
  }

  .final-image-text h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .final-image-text p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
  }

  .ukraine-help-section {
    background: linear-gradient(135deg, #f8fbff 0%, #e3f2fd 100%);
    padding: 4rem 2rem;
  }

  .ukraine-help-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .ukraine-help-content {
    text-align: center;
  }

  .ukraine-help-content h3 {
    color: var(--primary);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
  }

  .ukraine-help-content > p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .ukraine-help-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .ukraine-feature {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(23, 105, 170, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(23, 105, 170, 0.05);
  }

  .ukraine-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(23, 105, 170, 0.12);
  }

  .ukraine-feature h4 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .ukraine-feature p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
  }

  .ukraine-cta {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(23, 105, 170, 0.08);
    border: 1px solid rgba(23, 105, 170, 0.05);
  }

  .ukraine-cta p {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .ukraine-contact-btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 105, 170, 0.2);
  }

  .ukraine-contact-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 105, 170, 0.3);
  }

   @media (max-width: 768px) {
    .header-logo {
      margin-right: 15px;
    }

    .logo-image {
      width: 35px;
      height: 35px;
    }

    .welcome-section {
      padding: 3rem 1rem;
    }
    
    .welcome-text h2 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }
    
    .welcome-text > p {
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }
    
    .welcome-features {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 2rem;
    }
    
    .feature {
      padding: 1.5rem 1rem;
    }

    
    .hero-image {
      height: 500px;
    }

    .hero-image-overlay {
      padding: 2rem 1rem 1.5rem 1rem;
    }

    .hero-image-overlay h3 {
      font-size: 1.5rem;
      margin-bottom: 0.8rem;
    }

    .hero-image-overlay p {
      font-size: 1rem;
    }

 
    .gallery-section {
      padding: 3rem 1rem;
    }

    .gallery-container {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .gallery-image {
      height: 450px;
    }

    .gallery-caption {
      padding: 1.5rem;
    }

    .gallery-caption h4 {
      font-size: 1.2rem;
    }


    .testimonial-section {
      padding: 3rem 1rem;
    }

    .testimonial-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }

    .testimonial-content h3 {
      font-size: 1.8rem;
    }

    .testimonial-content p {
      font-size: 1.1rem;
    }

    .testimonial-img {
      height: 500px;
    }


    .final-image-section {
      padding: 3rem 1rem;
    }

    .final-image-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }

    .final-image {
      height: 500px;
    }

    .final-image-text h3 {
      font-size: 1.6rem;
    }

    .final-image-text p {
      font-size: 1rem;
    }

    .ukraine-help-section {
      padding: 3rem 1rem;
    }

    .ukraine-help-content h3 {
      font-size: 1.8rem;
      margin-bottom: 1rem;
    }

    .ukraine-help-content > p {
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }

    .ukraine-help-features {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    .ukraine-feature {
      padding: 1.5rem 1rem;
    }

    .ukraine-cta {
      padding: 2rem 1.5rem;
    }

    .ukraine-cta p {
      font-size: 1rem;
    }

    .ukraine-contact-btn {
      padding: 0.9rem 1.8rem;
      font-size: 1rem;
    }
    
    .team-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
   
   .team-member {
     padding: 1rem;
   }
   
                        .team-photo {
        width: 100px;
        height: 100px;
        border-radius: 6px;
        object-position: center center;
        margin: 0 auto 1rem auto;
        display: block;
      }
  }


.admin-section {
  max-width: 900px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(23, 105, 170, 0.07);
  padding: 2.5rem 2rem;
}

.admin-section h2 {
  color: var(--primary);
  margin-top: 0;
}

.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.ticket-item {
  background: #f8fbff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.ticket-item:hover {
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.1);
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.ticket-header h3 {
  color: var(--primary);
  margin: 0;
}

.ticket-status {
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ticket-status.new {
  background: #e3f2fd;
  color: #1976d2;
}

.ticket-info p {
  margin: 0.5rem 0;
  color: var(--text);
}

.ticket-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.view-details-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
}

.view-details-btn:hover {
  background: var(--primary-light);
}

.delete-btn {
  background: #f44336;
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
}

.delete-btn:hover {
  background: #d32f2f;
}

.no-tickets {
  text-align: center;
  color: #666;
  font-style: italic;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

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

.close:hover {
  color: var(--primary);
}

.ticket-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-item label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.detail-item p {
  margin: 0;
  color: var(--text);
}

.status {
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
}

.status.new {
  background: #e3f2fd;
  color: #1976d2;
}

@media (max-width: 768px) {
  .ticket-detail-grid {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
}


.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.login-container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(23, 105, 170, 0.07);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.login-container h1 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login-form label {
  font-weight: 600;
  color: var(--primary);
  text-align: left;
}

.login-form input {
  padding: 0.8rem 1rem;
  border: 1px solid #bcd2e8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #f4faff;
  transition: border 0.2s;
}

.login-form input:focus {
  border: 1.5px solid var(--primary-light);
  outline: none;
}

.login-form button {
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

.login-form button:hover {
  background: var(--primary-light);
}

.login-error {
  color: #d32f2f;
  background: #ffebee;
  padding: 0.8rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.logout-btn {
  background: #f44336;
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1rem;
}

.logout-btn:hover {
  background: #d32f2f;
}

.admin-panel {
  display: none;
}

@media (max-width: 768px) {
  .login-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
}

.loading {
  text-align: center;
  color: var(--primary);
  font-style: italic;
  padding: 2rem;
}

.error {
  text-align: center;
  color: #d32f2f;
  background: #ffebee;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}


.logs-section {
  max-width: 1200px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(23, 105, 170, 0.07);
  padding: 2.5rem 2rem;
}

.logs-section h2 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 2rem;
}

.visitor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #f8fbff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s;
}

.stat-card:hover {
  box-shadow: 0 2px 8px rgba(23, 105, 170, 0.1);
}

.stat-card h3 {
  color: var(--primary);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.stat-card p {
  color: var(--text);
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.visitor-table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.visitor-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.visitor-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.visitor-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
  color: var(--text);
}

.visitor-table tr:hover {
  background: #f8fbff;
}

.visitor-table tr:last-child td {
  border-bottom: none;
}

.no-data {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 2rem;
}

.error {
  text-align: center;
  color: #d32f2f;
  background: #ffebee;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .visitor-stats {
    grid-template-columns: 1fr;
  }
  
  .visitor-table th,
  .visitor-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .visitor-table-container {
    font-size: 0.8rem;
  }
}