:root {
  --bg-primary: #fff;
  --bg-secondary: #f5f5f5;
  --text-primary: #000;
  --text-secondary: #666;
  --border-color: #ddd;
  --navbar-bg: #BFEBFF;
  --accent-color: #BFEBFF;
}

body.dark-mode {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --text-primary: #e0e0e0;
  --text-secondary: #b0b0b0;
  --border-color: #444;
  --navbar-bg: #0d1b2a;
  --accent-color: #5a9fb5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* NAVBAR */
.navbar {
  background: var(--navbar-bg);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 0;
  height: auto;
}

.logo-svg {
  height: 70px;
  width: auto;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.logo-initials {
  font-size: 24px;
  font-weight: bold;
  color: var(--text-primary);
  background: #D6D0D0;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  flex: 1;
  justify-content: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  color: var(--text-primary);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.3);
  border-bottom-color: #0066cc;
  color: #0066cc;
}

body.dark-mode .nav-link:hover,
body.dark-mode .nav-link.active {
  border-bottom-color: #7ac5f5;
  color: #7ac5f5;
}

/* User Section */
.nav-user-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.theme-toggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

body.dark-mode .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.user-profile-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
}

.user-greeting {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.greeting-text {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.user-name {
  font-size: 13px;
  color: var(--text-primary);
  font-weight: 600;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  object-fit: cover;
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(191, 235, 255, 0.5);
}

.user-menu-dropdown {
  position: absolute;
  bottom: -50px;
  right: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.user-avatar-wrapper:hover .user-menu-dropdown {
  opacity: 1;
  visibility: visible;
  bottom: -65px;
}

.logout-btn {
  width: 100%;
  padding: 10px 15px;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-btn:hover {
  background-color: var(--accent-color);
  color: #000;
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #000;
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* MAIN CONTENT */
main {
  min-height: calc(100vh - 100px);
}

.section {
  display: none;
  padding: 40px 20px;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.section.active {
  display: block;
}

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

.section-title {
  font-size: 32px;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 15px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
  transition: color 0.3s ease;
}

/* HERO / INICIO */
.hero-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card-identity,
.card-contact {
  display: flex;
  flex-direction: column;
}

.logo-section {
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--accent-color) 0%, #D6D0D0 100%);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
}

.identity-logo {
  height: 140px;
  width: auto;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.fhs-initials {
  font-size: 48px;
  font-weight: bold;
  color: #000;
  background: linear-gradient(135deg, var(--accent-color) 0%, #D6D0D0 100%);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s ease;
}

.name-section {
  text-align: left;
}

.full-name {
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.profession {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.tagline {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 2px;
  opacity: 0.7;
  transition: color 0.3s ease;
}

.card-divider {
  width: 2px;
  background: var(--border-color);
  transition: background-color 0.3s ease;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 15px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-icon-wrapper {
  font-size: 24px;
  color: var(--text-primary);
  background: var(--accent-color);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  opacity: 0.7;
  transition: color 0.3s ease;
}

.contact-value {
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.cta-section {
  text-align: center;
}

.cta-button {
  background: var(--accent-color);
  color: #000;
  border: 2px solid var(--border-color);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  background: #D6D0D0;
  border-color: var(--text-primary);
}

/* SOBRE MI */
.about-wrapper {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-content {
  display: flex !important;
  flex-direction: row !important;
  gap: 40px;
  align-items: flex-start;
}

.about-text-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-photo-column {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-section {
  border-left: 4px solid var(--accent-color);
  padding-left: 20px;
  transition: border-color 0.3s ease;
}

.about-subtitle {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.about-text {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.about-text-final {
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 10px;
  opacity: 0.8;
  transition: color 0.3s ease;
}

/* PHOTO CAROUSEL */
.photo-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  background: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-bottom: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  transform: scale(1.2);
}

.dot.active {
  background: var(--accent-color);
  transform: scale(1.3);
}

body.dark-mode .dot {
  background: #555;
}

.about-closing {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .about-closing {
  background: rgba(255, 255, 255, 0.05);
}

/* ÁREAS DE DERECHO */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.area-card {
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  transition: all 0.3s;
}

.area-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(191, 235, 255, 0.3);
}
}

.area-icon {
  font-size: 36px;
  color: #BFEBFF;
  background: #D6D0D0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 15px;
}

.area-title {
  font-size: 20px;
  color: #000;
  margin-bottom: 10px;
  border-bottom: 2px solid #BFEBFF;
  padding-bottom: 8px;
}

.area-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
}

.area-list {
  list-style: none;
  margin-bottom: 15px;
}

.area-list li {
  color: #555;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
}

.area-list li:last-child {
  border-bottom: none;
}

.area-expand-btn {
  background: #BFEBFF;
  color: #000;
  border: 2px solid #D6D0D0;
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.area-expand-btn:hover {
  background: #D6D0D0;
}

.area-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #D6D0D0;
}

.area-details h4 {
  color: #000;
  margin-bottom: 10px;
}

.tab-toggle {
  background: #fff;
  border: 1px solid #D6D0D0;
  color: #000;
  padding: 6px 12px;
  margin-right: 8px;
  margin-bottom: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.tab-toggle.active {
  background: #BFEBFF;
  border-color: #000;
}

.tab-toggle:hover {
  background: #f0f0f0;
}

#familia-content,
#civil-content,
#laboral-content {
  margin-top: 10px;
}

.news-item, .fallo-item {
  background: #f9f9f9;
  border-left: 3px solid #BFEBFF;
  padding: 12px;
  margin: 10px 0;
  border-radius: 4px;
}

.news-item h5, .fallo-item h5 {
  color: #000;
  font-size: 13px;
  margin-bottom: 5px;
}

.news-item p, .fallo-item p {
  color: #555;
  font-size: 12px;
}

.news-date {
  color: #999;
  font-size: 11px;
}

/* RESERVAS */
.reserva-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Columna izquierda más pequeña */
  gap: 40px;
  align-items: flex-start;
}

.reserva-columna {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.availability-section,
.area-selection-section,
.form-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  transition: all 0.3s ease;
}

.availability-section h3,
.area-selection-section h3,
.form-section h3 {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 12px;
}

/* Áreas de Derecho en Reservas */
.areas-buttons {
  display: flex; /* Cambiado a flex para una sola fila */
  gap: 10px;
  justify-content: center; /* Centra los botones en la fila */
}

.area-btn {
  flex-grow: 1; /* Permite que los botones crezcan para llenar el espacio */
  flex-basis: 0; /* Base de tamaño flexible */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px; /* Padding reducido para hacerlos más pequeños */
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px; /* Fuente más pequeña */
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

.area-btn i {
  font-size: 24px;
  color: var(--accent-color);
  transition: color 0.3s ease;
}

.area-btn:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
  box-shadow: 0 4px 10px rgba(191, 235, 255, 0.3);
}

.area-btn.selected {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
}

.area-btn.selected i {
  color: #000;
}

/* Google Sign-In Section */
.google-signin-section {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0fbff 100%);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.google-signin-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  font-weight: 500;
}

#g_id_signin {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.google-status {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
}

.google-status.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.google-status.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.email-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.email-input-wrapper input {
  flex: 1;
}

.email-source-badge {
  position: absolute;
  right: 12px;
  background: #BFEBFF;
  color: #000;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  display: none;
}

.date-selector {
  margin-bottom: 20px;
}

.date-selector label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
  font-size: 14px;
}

/* CALENDAR STYLES - PROFESIONAL */
.calendar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.nav-button {
  background: transparent;
  border: 2px solid #BFEBFF;
  color: #BFEBFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: #BFEBFF;
  color: #000;
  transform: scale(1.1);
}

.calendar {
  flex: 1;
}

.calendar-header {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: #BFEBFF;
  font-size: 16px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 30px;
}

.day-header {
  text-align: center;
  font-weight: bold;
  color: #BFEBFF;
  font-size: 12px;
  padding: 10px 0;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(191, 235, 255, 0.2);
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(191, 235, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  background: rgba(191, 235, 255, 0.05);
  color: #aaa;
}

.calendar-day:not(.other-month):hover {
  border-color: #BFEBFF;
  background: rgba(191, 235, 255, 0.2);
  color: #BFEBFF;
}

.calendar-day.other-month {
  color: #444;
  cursor: not-allowed;
}

.calendar-day.selected {
  background: #BFEBFF;
  color: #000;
  border-color: #BFEBFF;
  font-weight: bold;
}

.calendar-day.disabled {
  cursor: not-allowed;
  color: #444;
  background: rgba(0, 0, 0, 0.2);
}

.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid #D6D0D0;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s;
}

.date-input-wrapper:focus-within {
  border-color: #BFEBFF;
  box-shadow: 0 0 8px rgba(191, 235, 255, 0.4);
}

.date-input-wrapper input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 15px;
  color: #000;
  background: transparent;
}

.date-input-wrapper input:focus {
  outline: none;
}

.date-icon {
  padding: 0 15px;
  color: #BFEBFF;
  font-size: 18px;
  pointer-events: none;
}

.date-helper {
  color: #999;
  font-size: 12px;
  margin-top: 8px;
}

/* RESUMEN FIJO */
.selection-summary {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0fbff 100%);
  border: 2px solid #BFEBFF;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 25px;
  display: grid;
  gap: 12px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  border-left: 3px solid #BFEBFF;
}

.summary-label {
  font-weight: 600;
  color: #666;
  font-size: 13px;
  text-transform: uppercase;
}

.summary-value {
  font-weight: 700;
  color: #000;
  font-size: 15px;
  min-width: 150px;
  text-align: right;
  background: #BFEBFF;
  padding: 6px 12px;
  border-radius: 4px;
}

.hours-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(191, 235, 255, 0.2);
}

.hours-section h4 {
  color: #BFEBFF;
  margin-bottom: 15px;
}

.available-hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hour-button {
  background: rgba(191, 235, 255, 0.1);
  border: 1px solid rgba(191, 235, 255, 0.3);
  color: #000;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  font-weight: 500;
}

.hour-button:hover {
  background: rgba(191, 235, 255, 0.3);
  border-color: #BFEBFF;
  color: #BFEBFF;
}

.hour-button.selected {
  background: #BFEBFF;
  color: #000;
  border-color: #BFEBFF;
  font-weight: bold;
}

.hour-btn {
  background: #fff;
  border: 2px solid #D6D0D0;
  color: #000;
  padding: 12px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.hour-btn:hover {
  background: #f0f8ff;
  border-color: #BFEBFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(191, 235, 255, 0.3);
}

.hour-btn.selected {
  background: #BFEBFF;
  border-color: #000;
  color: #000;
  box-shadow: 0 4px 12px rgba(191, 235, 255, 0.5);
  font-weight: 600;
}

.hours-helper {
  color: #999;
  font-size: 12px;
  margin-top: 8px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 2px solid #D6D0D0;
  border-radius: 4px;
  font-size: 14px;
  color: #000;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #BFEBFF;
  box-shadow: 0 0 4px rgba(191, 235, 255, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  width: 100%;
  background: #BFEBFF;
  color: #000;
  border: 2px solid #D6D0D0;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-button:hover {
  background: #D6D0D0;
  border-color: #000;
}

.form-result {
  margin-top: 15px;
  padding: 12px;
  background: #f0fdf4;
  border: 1px solid #D6D0D0;
  border-left: 4px solid #BFEBFF;
  border-radius: 4px;
  color: #000;
}

/* ADMIN */
.admin-auth {
  background: #fff;
  border: 2px solid #D6D0D0;
  border-radius: 8px;
  padding: 30px;
  max-width: 400px;
  margin: 0 auto;
}

.admin-login h3 {
  color: #000;
  margin-bottom: 20px;
  text-align: center;
  font-size: 18px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.admin-panel {
  background: #fff;
  border: 2px solid #D6D0D0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #D6D0D0;
  margin-bottom: 20px;
}

.admin-tab-button {
  background: #fff;
  border: 2px solid #D6D0D0;
  border-bottom: none;
  color: #000;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s;
}

.admin-tab-button.active {
  background: #BFEBFF;
  border-color: #000;
  border-bottom-color: #BFEBFF;
}

.admin-tab {
  display: none;
}

.admin-tab.active {
  display: block;
}

.admin-tab h3 {
  color: #000;
  margin-bottom: 15px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  border: 2px solid #D6D0D0;
}

.admin-table th {
  background: #BFEBFF;
  color: #000;
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #D6D0D0;
}

.admin-table td {
  padding: 12px;
  border-bottom: 1px solid #D6D0D0;
  color: #333;
  font-size: 13px;
}

.admin-table tr:hover {
  background: #f9f9f9;
}

.mark-paid-btn {
  background: #BFEBFF;
  color: #000;
  border: 1px solid #D6D0D0;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.mark-paid-btn:hover {
  background: #D6D0D0;
}

.paid {
  color: #22863a;
  font-weight: 600;
}

.not-paid {
  color: #cb2431;
  font-weight: 600;
}

/* FOOTER */
.footer {
  background: #BFEBFF;
  color: #000;
  text-align: center;
  padding: 20px;
  border-top: 3px solid #D6D0D0;
  margin-top: 40px;
}

.footer p {
  margin: 5px 0;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-divider {
    display: none;
  }

  .reserva-wrapper {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }

  .carousel-container {
    max-width: 100%;
    height: 300px;
  }

  .section {
    padding: 20px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .admin-table {
    font-size: 12px;
  }

  .admin-table th,
  .admin-table td {
    padding: 8px;
  }
}

/* ÁREA SELECTION */
.area-selection-section {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0fbff 100%);
  border: 2px solid #BFEBFF;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}

.area-selection-section h3 {
  font-size: 18px;
  color: #000;
  margin-bottom: 20px;
  border-bottom: 3px solid #BFEBFF;
  padding-bottom: 12px;
}

.areas-buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 0;
}

.area-btn {
  background: #fff;
  border: 2px solid #D6D0D0;
  color: #000;
  padding: 10px 6px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.area-btn i {
  font-size: 20px;
  color: #BFEBFF;
  transition: all 0.3s ease;
}

.area-btn:hover {
  background: #f0fbff;
  border-color: #BFEBFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(191, 235, 255, 0.3);
}

.area-btn.selected {
  background: #BFEBFF;
  border-color: #000;
  color: #000;
  box-shadow: 0 4px 16px rgba(191, 235, 255, 0.5);
}

.area-btn.selected i {
  color: #000;
  transform: scale(1.15);
}

