main-wrapper, .main-wrapper, .page-wrapper, .content-wrapper, main {
  min-height: 100vh;
  background: #0b4444 !important;
}
/* Botón Cancelar Rojo */
.btn-danger {
  background: #dc3545 !important;
  color: #fff !important;
  border: 2px solid #dc3545 !important;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(220,53,69,0.10);
}
.btn-danger:hover {
  background: #b52a37 !important;
  border-color: #b52a37 !important;
}
/* Botones sólidos para gestión */
.btn-usuarios {
  background: #6c3ef1 !important; /* morado sólido */
  color: #fff !important;
  border: 2px solid #6c3ef1;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-usuarios:hover {
  background: #4b2991 !important;
}

.btn-medicos {
  background: #14532d !important; /* verde oscuro sólido */
  color: #fff !important;
  border: 2px solid #14532d;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-medicos:hover {
  background: #0f3a1a !important;
}

.btn-citas {
  background: #f59e0b !important; /* naranja sólido */
  color: #fff !important;
  border: 2px solid #f59e0b;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-citas:hover {
  background: #b45309 !important;
}

.btn-config {
  background: #374151 !important; /* gris oscuro sólido */
  color: #fff !important;
  border: 2px solid #374151;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-config:hover {
  background: #111827 !important;
}
/* Restaurar color original del texto 'Iniciar Sesión' */
.auth-header h1, .btn-login {
  color: #0c457eff !important;
}

/* Panel administrativo: título blanco alineado a la izquierda, botones a la derecha */
.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 2rem;
}
.admin-panel-title {
  color: #fff !important;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}
.admin-panel-actions {
  display: flex;
  gap: 1rem;
}

/* Restaurar colores de los botones de gestión */
.btn-gestion-sistema {
  background: linear-gradient(135deg, #0066cc, #00d4aa);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.18);
  transition: all 0.3s;
}
.btn-gestion-sistema:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: #fff !important;
}
.btn-usuarios {
  background: #6c3ef1 !important; /* morado sólido */
  color: #fff !important;
  }
  .btn-usuarios:hover {
    background: #4b2991 !important; /* morado más oscuro en hover */
}
.btn-medicos {
  background: #14532d !important; /* verde oscuro sólido */
  color: #fff !important;
  }
  .btn-medicos:hover {
    background: #0f3a1a !important; /* verde más oscuro en hover */
}
.btn-citas {
  background: #f59e0b !important; /* naranja sólido */
  color: #fff !important;
  }
  .btn-citas:hover {
    background: #b45309 !important; /* naranja más oscuro en hover */
}
.btn-config {
  background: #374151 !important; /* gris oscuro sólido */
  color: #fff !important;
  }
  .btn-config:hover {
    background: #111827 !important; /* gris más oscuro en hover */
}
/* ====== ESTILOS SOLICITADOS ====== */

/* 1. Textos en negrita */
b, strong, .bold {
  font-weight: bold !important;

}

/* 2. h1 centrado y más grande */
h1 {
  text-align: center !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;

}

/* 3. Textos dentro de cuadros de texto blancos */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  background: #fff !important;
  color: #000000 !important;
  border-radius: 12px !important;
  border: 1px solid #e0e7ff !important;
  padding: 0.85rem 1.1rem !important;
  font-size: 1.08rem !important;
  margin-bottom: 1.2rem !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 4. Más espacio entre cuadros de texto */
.form-group, .input-group, .form-control, .form-select {
  margin-bottom: 0.3rem !important;
}

/* 5. Botones: pointer, bordes redondeados, efecto hover */
button, .btn, input[type="submit"], input[type="button"] {
  cursor: pointer !important;
  border-radius: 12px !important;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,102,204,0.10);
}
/* Enlaces de gestión rápida para el dashboard */

.quick-link-primary, .quick-link-success, .quick-link-info, .quick-link-warning {
  display: block;
  text-decoration: none;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.quick-link-primary {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 212, 170, 0.08));
  border: 2px solid var(--primary);
  color: var(--primary);
}
.quick-link-primary:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0,102,204,0.10);
}
.quick-link-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(34, 197, 94, 0.08));
  border: 2px solid var(--success);
  color: var(--success);
}
.quick-link-success:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  box-shadow: 0 6px 18px rgba(16,185,129,0.10);
}
.quick-link-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.08));
  border: 2px solid var(--info);
  color: var(--info);
}
.quick-link-info:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(59,130,246,0.10);
}
.quick-link-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.08));
  border: 2px solid var(--warning);
  color: var(--warning);
}
.quick-link-warning:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 6, 6, 0.808));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(245,158,11,0.10);
}
/* FisioCare Ayla - Diseño moderno y responsive */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #0066cc;
  --primary-light: #3399ff;
  --accent: #00d4aa;
  --accent-dark: #00a080;
  --dark: #0f1419;
  --dark-light: #1a1f2e;
  --gray-light: #f5f7fa;
  --gray-medium: #e0e7ff;
  --gray-text: #000103;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: #ffffffff;
  line-height: 1.6;
}

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

 /* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px);
  padding: 1rem 2rem;
  box-shadow: 0 0px 30px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  justify-content: start;
  align-items: center;
}
/* Contenido de la barra de navegación */
.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  width: auto;
  height: auto;
  padding: 6px 0;
  box-shadow: none;
  border: none;
  margin-left: 0;
  margin-right: auto;
}

.logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: left;
  justify-content: right;
  color: var(--white);
  font-weight: 800;
  font-size: 24px;
}

.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1;


}

.logo strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 18px;

}


.logo small {
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 500;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
background-color: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
}

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

.btn-outline:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: var(--white);
}

.btn-login {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: linear-gradient(135deg, #3399ff, #00d4aa) ;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-login:hover {
  background: linear-gradient(135deg, #3399ff, #00d4aa) !important;
  color: black;
}
.btn-register {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}
.btn-register:hover {
color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
  background-color: linear-gradient(135deg, #3399ff, #00d4aa) !important;;
}

/* HERO SECTION */
.hero {
  margin-top: 0px;
  padding-top: 0px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: url('/fisiocare-ayla/images/portada1.png') no-repeat center center;
  background-size: cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 212, 170, 0.05));
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  padding-left: 5vw;
}

.hero-left {
  width: 100%;
}

.hero-title {
  font-family: 'Poppins', 'Montserrat', 'Open Sans', sans-serif !important;
  color: #fff !important;
  font-weight: bold !important;
  font-size: clamp(64px, 9vw, 90px) !important;
  line-height: 1.08 !important;
  text-align: left !important;
  margin-top: 3.5rem !important;
  margin-bottom: 2rem !important;
  max-width: 900px !important;
}

.hero-lead {
  font-size: 18px;
  color: #f3f3f3;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-right {
  display: none;
}

.hero-right img {
  display: none;
}

.hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.2), rgba(0, 212, 170, 0.15));
  z-index: 2;
}

/* ABOUT SECTION */
.about {
  padding: 80px 0;
  background: var(--gray-light);
}

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

.about-text h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.about-text p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  gap: 12px;
}

.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.highlight-text {
  display: flex;
  flex-direction: column;
}

.highlight-text strong {
  color: var(--dark);
  font-weight: 600;
}

.highlight-text small {
  color: var(--gray-text);
  font-size: 13px;
}

/* GEOMETRIC FRAME */
.about-img {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geometric-frame {
  position: relative;
  width: 320px;
  height: 420px;
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.geometric-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SERVICES SECTION */
.services {
  padding: 80px 0;
  background: var(--white);
}

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

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 16px;
  color: var(--gray-text);
}

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

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--gray-medium);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 212, 170, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 28px;
}

.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.service-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* TESTIMONIALS SECTION */
.testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(0, 212, 170, 0.05));
}

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

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 1rem;
}

/* Testimonios: nombre y profesión al final, nombre negro */
.testimonial-card > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.testimonial-card strong {
  color: #111 !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 1.2rem;
  margin-bottom: 0;
  align-self: flex-end;
}
.testimonial-card > div > div {
  color: #444 !important;
  font-size: .95rem;
  margin-top: 2px;
  margin-bottom: 0;
  align-self: flex-end;
}
.testimonial-card p {
  margin-bottom: auto;
}

.testimonial-card p {
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
}

.author-info strong {
  display: block;
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
}

.author-info small {
  color: var(--gray-text);
  font-size: 12px;
}

/* FAQ SECTION */
/* .faq {
  padding: 80px 0;
  background: var(--gray-light);
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
  align-content: left;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--gray-medium);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: left;
  font-weight: 600;
  color: var(--dark);
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
  background: var(--gray-light);
  color: var(--primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: left;
  justify-content: left;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
} */
/* AJUSTES PARA LAYOUT DE 2 COLUMNAS (ESCRITORIO) */
.faq-columns {
    display:flex;
    gap: 3rem;
    align-items: flex-start;
}

.faq-items {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-video {
    flex: 0 0 40%;
}

.faq-video iframe, .faq-video video {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* RESPONSIVIDAD PARA MÓVILES */
@media (max-width: 900px) {
    .faq-columns {
        flex-direction: column; /* Apila las columnas verticalmente */
    }
    .faq-items, .faq-video {
        flex: 1 1 100%; /* Ocupan el 100% del ancho en móvil */
    }
}
/* FOOTER */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-section h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .hero-right {
    height: 350px;
  }

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

  .about-img {
    height: 350px;
  }

  .geometric-frame {
    width: 280px;
    height: 350px;
  }

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

  .navbar {
    padding: 1rem;
  }

  .logo small {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo strong {
    font-size: 16px;
  }

  .hero-title {
    font-size: 28px;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Dashboard specific styles moved from dashboard.blade.php */

:root {
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body.dashboard-scope {
  background: #001616;
  color: var(--dark);
}

.dashboard-wrapper {
  min-height: 100vh;
  display: flex;
  margin-top: 0;
}
 main-wrapper, .page-wrapper, .content-wrapper, main {
  min-height: 100vh; /* ocupa toda la altura de la ventana */
  background: #0b4444; /* si tu fondo está en body, color arternativo azul1b1b71 evita sobrescribirlo */}

.dashboard-sidebar {
  width: 260px;
  background: var(--white);
  border-right: 1px solid #e5e7eb;
  padding: 2rem 0;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  top: 0;
}

.sidebar-profile {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

.profile-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 1rem;
}

.profile-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.profile-role {
  font-size: 13px;
  color: var(--gray-text);
}

.sidebar-menu { list-style: none; margin: 0; padding: 0; }
.sidebar-menu li { margin: 0; }
.sidebar-menu a { display:flex; align-items:center; gap:0.75rem; padding:0.75rem 1.5rem; color:var(--gray-text); text-decoration:none; font-size:14px; transition:all .2s; border-left:3px solid transparent; }
.sidebar-menu a:hover { background: var(--light); color: var(--primary); border-left-color: var(--primary); }
.sidebar-menu a.active { background: rgba(0,102,204,0.08); color: var(--primary); border-left-color: var(--primary); font-weight:600; }

.sidebar-divider { height:1px; background:#e5e7eb; margin:1.5rem 0; }
.dashboard-content { flex:1; margin-left:260px; padding:2rem; }

.page-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:2rem; }
.page-title { font-size:28px; font-weight:700; color:white; }
  .page-title { font-size:28px; font-weight:700; color:#f3f4f6; text-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.page-subtitle { font-size:14px; color:rgb(246, 247, 252); margin-top:0.5rem; }

.btn-primary-outline { padding:10px 20px; border:2px solid var(--primary); background:transparent; color:var(--primary); border-radius:8px; font-weight:600; font-size:14px; cursor:pointer; transition:all .2s; text-decoration:none; display:inline-flex; align-items:center; gap:0.5rem; }
.btn-primary-outline:hover { background:#033E3E;
; color:white; }


.stats-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap:1.5rem; margin-bottom:2rem; }
.stat-card { background:white; border-radius:12px; padding:1.5rem; box-shadow:var(--shadow-sm); border:1px solid #e5e7eb; transition:all .3s; }
.stat-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.stat-header { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:1rem; }
.stat-label { font-size:13px; font-weight:600; color:var(--gray-text); text-transform:uppercase; letter-spacing:0.5px; }
.stat-icon { width:40px; height:40px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.stat-icon.success { background: #10b981; color: #fff; }
.stat-icon.warning { background: #f3a112; color: #fff; }
.stat-icon.danger { background: #d60909; color: #fff; }
.stat-icon.info { background: #64a0ff; color: #fff; }
.stat-value { font-size:32px; font-weight:700; color:var(--dark); margin-bottom:0.5rem; }
.stat-change { font-size:12px; color:black; }

.content-section { background:white; border-radius:12px; padding:2rem; box-shadow:var(--shadow-sm); border:1px solid #e5e7eb; margin-bottom:2rem; }
.section-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem; padding-bottom:1.5rem; border-bottom:2px solid #f3f4f6; }
.section-title { font-size:18px; font-weight:700; color:var(--dark); }

.btn-small { padding:8px 16px; background:var(--primary); color:white; border:none; border-radius:8px; font-weight:600; font-size:12px; cursor:pointer; transition:all .2s; text-decoration:none; display:inline-flex; align-items:center; gap:0.4rem; }
.btn-small:hover { background:var(--primary-light); }

.empty-state { text-align:center; padding:3rem 1rem; }
.empty-icon { font-size:48px; margin-bottom:1rem; opacity:0.5; }
.empty-title { font-size:18px; font-weight:700; color:var(--dark); margin-bottom:0.5rem; }
.empty-text { color:var(--gray-text); font-size:14px; margin-bottom:1.5rem; }

.cita-item { display:flex; gap:1rem; padding:1rem; border:1px solid #e5e7eb; border-radius:10px; margin-bottom:1rem; transition:all .2s; }
.cita-item:hover { background:#f9fafb; border-color:var(--primary); }
.cita-date { min-width:80px; }
.cita-day { font-size:24px; font-weight:700; color:var(--primary); line-height:1; }
.cita-month { font-size:12px; color:var(--gray-text); margin-top:0.25rem; }
.cita-info { flex:1; }
.cita-title { font-weight:600; color:var(--dark); margin-bottom:0.25rem; }
.cita-details { font-size:13px; color:var(--gray-text); margin-bottom:0.5rem; }
.cita-status { display:inline-block; padding:4px 12px; border-radius:20px; font-size:11px; font-weight:600; text-transform:uppercase; letter-spacing:0.5px; }
.cita-status.pendiente { background: #f3a112; color: #fff; }
.cita-status.confirmada { background: #10b981; color: #fff; }
.cita-status.cancelada { background: #ef4444; color: #fff; }

@media (max-width:768px) {
  .dashboard-wrapper { flex-direction:column; }
  .dashboard-sidebar { width:100%; height:auto; position:relative; top:auto; border-right:none; border-bottom:1px solid #e5e7eb; }
  .dashboard-content { margin-left:0; padding:1.5rem 1rem; }
  .page-title { font-size:20px; }
  .stats-grid { grid-template-columns:1fr; }
}

.logout-btn { margin-top:2rem; padding-top:1.5rem; border-top:1px solid #e5e7eb; }
.logout-link { color:var(--danger); }
.logout-link:hover { color:#dc2626; }

/* ===== Navbar fixes: override y layout (añadir al final de home.css) ===== */

/* Forzar layout en 3 columnas: logo | centro | botones */
header.navbar .nav-content {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  height: 64px; /* altura fija del navbar */
  padding: 0 20px; /* mantén espacio lateral */
}

/* Asegurar que el enlace .logo no se comprima y que la imagen tenga el tamaño correcto */
header.navbar .nav-content > .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  width: auto;
  height: auto;
  padding: 6px 0;
  box-shadow: none;
  border: none;
}

/* Imagen del logo (asegúrate que tu <img> use class="logo-img") */
header.navbar .nav-content .logo-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  border: none;
  box-shadow: none;
}

/* Texto del logo */
header.navbar .nav-content .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}
header.navbar .nav-content .logo-text strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #4B0082;
}
header.navbar .nav-content .logo-text small {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 400;
  margin-top: 2px;
}

/* Centrar los links en la columna central */
header.navbar .nav-content .nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Alinear los botones a la derecha */
header.navbar .nav-content .nav-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

/* Evitar que el navbar o su contenido se escondan detrás del sidebar */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100; /* más alto que el sidebar */
  height: 64px;
  padding: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

/* Asegurar que el dashboard respete la altura del navbar (evita solapamiento) */
.dashboard-wrapper {
  margin-top: 0 !important;
}

/* Mobile: ocultar links y mostrar botón hamburguesa (si implementas) */
@media (max-width: 768px) {
  header.navbar .nav-content {
    grid-template-columns: auto auto;
    height: 60px;
    padding: 0 12px;
  }
  header.navbar .nav-content .nav-links {
    display: none;
  }
  header.navbar .nav-content .nav-buttons {
    display: none; /* o mostrar solo icono perfil si lo prefieres */
  }
}

/* Logo y navbar responsivo igual que index.blade.php */
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: .75rem 1rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: inherit;
  margin-right: 0;
}
.logo-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}
.logo-text strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #4B0082;
}
.logo-text small {
  font-size: 13px;
  color: #6b7280;
  font-weight: 400;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .nav-content {
    flex-direction: row;
    height: auto;
    padding: 0 8px;
  }
  .logo-text small {
    font-size: 11px;
  }
}
/* ===================================================== */
/* === ESTILOS GLOBALES PARA VISTAS DE ADMINISTRACIÓN === */
/* ===================================================== */

/* Contenedor de la página (para heredar el padding global si no se usa .dashboard-content) */
.container {
    /* Asegurar que el contenido respete el margen superior del navbar si la vista no usa .dashboard-content */
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* 1. TÍTULOS DE PÁGINA (Heredado del formulario 'Crear Nuevo Usuario') */
.container h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    /* Usaremos el color oscuro principal o el primary */
    color: var(--dark);
    font-size: 28px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;

    /* La Barra de color que da el toque de diseño de Ayla */
    border-bottom: 4px solid var(--primary); /* Azul principal */
    display: inline-block;
}

/* 2. ESTILO GENERAL DE LA TARJETA (CLASE .card de Bootstrap) */
.card {
    border: 1px solid #e5e7eb; /* Color de borde del dashboard */
    border-radius: 12px;
    background-color: var(--white);
    /* Sombra más profesional, alineada con tu variable --shadow-sm o --shadow-md */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
     /* Efecto sutil al pasar el ratón, como en el dashboard stats */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

/* 3. ESTILO DE CAMPOS DE FORMULARIO (CLASES DE BOOTSTRAP) */
.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.form-control, .form-select {
    border-radius: 8px; /* Bordes redondeados */
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-medium); /* Borde gris claro */
    transition: all 0.3s;
    font-size: 1rem;
    color: var(--dark);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary); /* Borde azul al enfocar */
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15); /* Sombra suave de enfoque (anillo) */
}

/* 4. ESTILO DE BOTONES (CLASES DE BOOTSTRAP) */

/* Botón principal (Guardar, Crear, etc.) */
.btn-success, .btn-primary {
    /* Usa el estilo degradado que tienes en tu btn-register del index */
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.btn-success:hover, .btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.4);
    color: var(--white);
}

/* Botón secundario (Cancelar, Volver) */
.btn-secondary {
    background: var(--gray-light); /* Fondo claro/gris */
    color: var(--dark);
    border: 1px solid var(--gray-medium);
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--gray-medium);
    color: var(--dark);
}

/* 5. ESTILO DE ALERTAS (Para mensajes de error/éxito) */

.alert-danger {
    background-color: #fee2e2; /* Rojo suave */
    color: #b91c1c; /* Rojo oscuro */
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 1rem;
}

.alert-success {
    background-color: #dcfce7; /* Verde suave */
    color: #15803d; /* Verde oscuro */
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 1rem;
}

/* Para la lista de errores dentro del alert */
.alert-danger ul {
    list-style: disc;
    margin-left: 1.5rem;
}

/* Para el botón de cerrar la alerta */
.alert .btn-close {
    font-size: 1rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Estilo para las tablas administrativas (si usas la clase table de Bootstrap) */
.table {
    --bs-table-bg: var(--white);
    --bs-table-border-color: #f3f4f6;
    border-radius: 12px;
}

.table thead {
    background-color: var(--gray-light);
}

.table th {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

.table td {
    color: var(--gray-text);
    font-size: 0.95rem;
    vertical-align: middle;
}

/* Ejemplo: Estilo para un elemento de acción en tablas (ej. un <span> de estado) */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.activo {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-dark);
}

.status-badge.inactivo {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Botón CTA personalizado */
.btn-cta {
  display: inline-block;
  font-family: 'Poppins', 'Montserrat', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: #fff !important;
  background-color: #00BCD4 !important;
  border: none;
  border-radius: 10px;
  padding: 0 36px;
  height: 56px;
  min-width: 200px;
  max-width: 220px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0.5rem;
  outline: none;
}
.btn-cta:hover {
  background-color: #0097a7 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
