/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variables de color */
:root {
  --color-principal: #024602;
  --color-principal-oscuro: #013a02;
  --color-principal-claro: #037a03;
  --color-principal-bg: #e6f4ea;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-principal);
  text-decoration: none;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-principal);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--color-principal);
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--color-principal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-principal-oscuro);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6b7280;
  color: #fff;
}

.btn-secondary:hover {
  background: #4b5563;
}

.btn-outline {
  background: transparent;
  color: var(--color-principal);
  border: 2px solid var(--color-principal);
}

.btn-outline:hover {
  background: var(--color-principal);
  color: #fff;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

.btn:disabled:hover {
  transform: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  background-image: url("/placeholder.svg?height=1080&width=1920");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(37, 99, 235, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: #f9fafb;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #6b7280;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-principal);
}

.stat-label {
  font-size: 0.9rem;
  color: #6b7280;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-principal), var(--color-principal-oscuro));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-principal);
}

/* Team Section */
.team {
  padding: 6rem 0;
  background: #f9fafb;
}

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

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.team-member h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.team-member p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--color-principal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.team-social a:hover {
  background: var(--color-principal-oscuro);
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  font-weight: 600;
  color: #1f2937;
}

.testimonial-author span {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: #f9fafb;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: var(--color-principal);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.contact-item p {
  color: #6b7280;
}

.contact-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Footer */
.footer {
  background: var(--color-principal);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #e6f4ea;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #374151;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: var(--color-principal-claro);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
}

/* Floating Book Button */
.floating-book-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.floating-book-btn .btn {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
  animation: pulse 2s infinite;
}

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

/* Booking Styles */
.booking {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  background: #f9fafb;
}

.booking-header {
  text-align: center;
  margin-bottom: 3rem;
}

.booking-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.booking-header p {
  color: #6b7280;
  font-size: 1.1rem;
}

/* Progress Bar */
.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
  gap: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.completed {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: var(--color-principal);
  color: #fff;
}

.progress-step.completed .step-number {
  background: #10b981;
  color: #fff;
}

.progress-step span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.progress-step.active span {
  color: var(--color-principal);
}

/* Booking Steps */
.booking-step {
  display: none;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.booking-step.active {
  display: block;
}

.booking-step h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1f2937;
  text-align: center;
}

/* Treatment Grid */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.treatment-card {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.treatment-card:hover {
  border-color: var(--color-principal);
  transform: translateY(-2px);
}

.treatment-card.selected {
  border-color: var(--color-principal);
  background: #eff6ff;
}

.treatment-icon {
  width: 80px;
  height: 80px;
  background: var(--color-principal-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--color-principal);
  font-size: 2.5rem;
  box-shadow: 0 2px 8px rgba(2, 70, 2, 0.10);
}

.treatment-card.selected .treatment-icon {
  background: var(--color-principal);
  color: #fff;
  box-shadow: 0 4px 16px rgba(2, 70, 2, 0.18);
}

.treatment-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.treatment-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.treatment-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-principal);
}

/* Specialists Grid */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.specialist-card {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.specialist-card:hover {
  border-color: var(--color-principal);
  transform: translateY(-2px);
}

.specialist-card.selected {
  border-color: var(--color-principal);
  background: var(--color-principal-bg);
}

.specialist-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.specialist-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.specialist-card p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* DateTime Selection */
.datetime-selection {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.date-selection h3,
.time-selection h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.time-slot:hover {
  border-color: var(--color-principal);
}

.time-slot.selected {
  border-color: var(--color-principal);
  background: var(--color-principal);
  color: #fff;
}

.time-slot:disabled,
.time-slot.disabled {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.6;
  border-color: #d1d5db;
}

.time-slot:disabled:hover,
.time-slot.disabled:hover {
  border-color: #d1d5db;
  background: #f3f4f6;
  color: #9ca3af;
  transform: none;
}

/* Loading para horarios */
.loading-times {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.loading-times i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2563eb;
}

.loading-times p {
  margin: 0;
  font-size: 1rem;
}

/* Forms */
.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

/* Booking Summary */
.booking-summary {
  margin-bottom: 2rem;
}

.summary-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.summary-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item.total {
  font-weight: 600;
  font-size: 1.1rem;
  color: #2563eb;
}

.summary-item .label {
  color: #6b7280;
}

.summary-item .value {
  font-weight: 500;
  color: #1f2937;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-message i {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.success-message h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.success-message p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cancel Page */
.cancel {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  background: #f9fafb;
}

.cancel-content {
  max-width: 600px;
  margin: 0 auto;
}

.cancel-header {
  text-align: center;
  margin-bottom: 3rem;
}

.cancel-header i {
  font-size: 4rem;
  color: var(--color-principal);
  margin-bottom: 1rem;
}

.cancel-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.cancel-header p {
  color: #6b7280;
  font-size: 1.1rem;
}

.cancel-form-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.cancel-form .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.cancel-success,
.cancel-error {
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.cancel-success i {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.cancel-error i {
  font-size: 4rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.cancel-success h2,
.cancel-error h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.cancel-success p,
.cancel-error p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.success-actions,
.error-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Admin Styles */
.admin-login {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  background: #f9fafb;
}

.login-content {
  max-width: 400px;
  margin: 0 auto;
}

.login-header {
  text-align: center;
  margin-bottom: 3rem;
}

.login-header i {
  font-size: 4rem;
  color: var(--color-principal);
  margin-bottom: 1rem;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #6b7280;
  font-size: 1.1rem;
}

.login-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  text-align: center;
}

.admin-dashboard {
  padding: 8rem 0 4rem;
  min-height: 100vh;
  background: #f9fafb;
}

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

.dashboard-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
}

/* Dashboard Tabs */
.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: white;
  padding: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #6b7280;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.tab-btn.active {
  background: #2563eb;
  color: white;
}

.tab-btn:hover:not(.active) {
  background: #f3f4f6;
}

.tab-content {
  display: none;
}

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

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.stat-info p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Export Section */
.export-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.export-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

/* History Search */
.history-search {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.history-search h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.search-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}

.history-results {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.history-results h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

/* Appointments Table */
.appointments-table {
  overflow-x: auto;
}

.appointments-table table {
  width: 100%;
  border-collapse: collapse;
}

.appointments-table th,
.appointments-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.appointments-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.appointments-table td {
  color: #6b7280;
}

/* Config Sections */
.config-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.config-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.config-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.checkbox-group label:hover {
  background: #f3f4f6;
}

/* Schedule Days */
.schedule-days {
  display: grid;
  gap: 1rem;
}

.schedule-day {
  display: grid;
  grid-template-columns: 100px 1fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 6px;
}

.schedule-day label {
  font-weight: 500;
  color: #374151;
}

/* Privacy Policy */
.privacy-policy {
  padding: 8rem 0 4rem;
  background: #f9fafb;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.last-updated {
  color: #6b7280;
  margin-bottom: 2rem;
  font-style: italic;
}

.privacy-section {
  margin-bottom: 2rem;
}

.privacy-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.privacy-section p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.privacy-section ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-section li {
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.contact-info {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

.loading-overlay.show {
  display: flex;
}

.loading-spinner {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.loading-spinner i {
  font-size: 2rem;
  color: var(--color-principal);
  margin-bottom: 1rem;
}

.loading-spinner p {
  color: #6b7280;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .datetime-selection {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .step-actions {
    flex-direction: column;
  }

  .dashboard-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .dashboard-tabs {
    flex-direction: column;
  }

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

  .search-form .form-row {
    grid-template-columns: 1fr;
  }

  .floating-book-btn {
    bottom: 1rem;
    right: 1rem;
  }

  .floating-book-btn .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .estetica-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .estetica-text h2 {
    font-size: 2rem;
  }

  .carousel-container {
    max-width: 100%;
    margin: 0 1rem;
  }

  .carousel-track {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .treatments-grid,
  .specialists-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-content {
    padding: 2rem 1.5rem;
  }
}





/* Specialist Avatar */
.specialist-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.specialist-email {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* No Specialists Message */
.no-specialists {
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.no-specialists i {
  font-size: 3rem;
  color: #f59e0b;
  margin-bottom: 1rem;
}

.no-specialists h3 {
  margin-bottom: 0.5rem;
  color: #374151;
}

.no-specialists p {
  font-size: 0.875rem;
}

/* Double Click Hint */
.treatment-card {
  position: relative;
  cursor: pointer;
}

.treatment-card::after {
  content: "Doble clic para continuar";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #6b7280;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.treatment-card:hover::after {
  opacity: 1;
}

.add-treatment-card::after {
  display: none;
}

/* Loading Treatments */
.loading-treatments {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 2rem;
  color: #6b7280;
}

.loading-treatments i {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.loading-treatments p {
  font-size: 1rem;
  font-weight: 500;
}

/* No Times Available Message */
.no-times-available {
  text-align: center;
  padding: 2rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #dc2626;
}

.no-times-available i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #dc2626;
}

.no-times-available h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #dc2626;
}

.no-times-available p {
  margin: 0 0 0.5rem 0;
  color: #dc2626;
  font-size: 1rem;
}

.no-times-available small {
  color: #6b7280;
  font-size: 0.9rem;
}

.hint-disimulado {
  color: #b0b0b0;
  font-size: 0.95em;
  font-style: italic;
  opacity: 0.7;
  margin-bottom: 0.5em;
  display: block;
}

.text-grey {
  color: #aaa !important;
}
.time-selection h3 {
  color: #222;
}

/* Login y cancelación */
.login-header i, .cancel-header i, .cancel-success i, .cancel-error i {
  color: var(--color-principal);
}
.btn:focus, .btn-primary:focus, .btn-outline:focus {
  outline: 2px solid var(--color-principal-oscuro);
  outline-offset: 2px;
}

/* =====================================================
   ESTILOS PARA MÉTODO DE PAGO Y BONOS
   ===================================================== */

.payment-method-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.payment-method-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: var(--color-principal);
    background: #f8f9fa;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option input[type="radio"]:checked + .radio-custom {
    background: var(--color-principal);
    border-color: var(--color-principal);
}

.payment-option input[type="radio"]:checked ~ .option-content {
    color: var(--color-principal);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-option input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
}

.option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-content strong {
    font-weight: 600;
    color: #333;
}

.option-content .price {
    font-weight: 600;
    color: var(--color-principal);
    font-size: 16px;
}

.option-content .description {
    color: #666;
    font-size: 14px;
}

/* Sección de Bono */
#bono-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.bono-input-group {
    margin-bottom: 16px;
}

.bono-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.input-with-button {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.input-with-button input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-with-button input:focus {
    outline: none;
    border-color: var(--color-principal);
}

.input-with-button button {
    padding: 12px 20px;
    white-space: nowrap;
}

.bono-details {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.bono-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-weight: 500;
}

.bono-status.success {
    color: #2e7d32;
}

.bono-status.error {
    color: #d32f2f;
}

.bono-sessions, .bono-expiration {
    margin-bottom: 8px;
    color: #333;
}

.bono-sessions strong, .bono-expiration strong {
    color: var(--color-principal);
}

/* Responsive */
@media (max-width: 768px) {
    .payment-options {
        gap: 8px;
    }
    
    .payment-option {
        padding: 12px;
    }
    
    .option-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .input-with-button {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-with-button button {
        width: 100%;
    }
}

/* Estilos para la sección estética */
.estetica-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.estetica-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.estetica-text {
  flex: 1;
}

.estetica-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-principal);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.estetica-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0;
}

.estetica-image {
  flex: 1;
  text-align: center;
}

.estetica-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.estetica-image img:hover {
  transform: scale(1.05);
}

/* Estilos para el carrusel */
.carousel-section {
  padding: 4rem 0;
  background: #fff;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 400px;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--color-principal);
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

/* Estilos para el acceso de administrador */
.admin-access {
  padding: 2rem 0;
  border-top: 1px solid #e9ecef;
  margin-top: 2rem;
}

.admin-access .btn {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-principal);
  color: var(--color-principal);
  background: transparent;
  transition: all 0.3s ease;
}

.admin-access .btn:hover {
  background: var(--color-principal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2,70,2,0.3);
}

/* Estilos para el botón de administrador oculto */
.admin-button-hidden {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 999;
}

.admin-link {
  display: inline-block;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  opacity: 0.3;
}

.admin-link:hover {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 1;
}




