:root {
    --header-h: 60px;
    --footer-h: 100px;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



.loy-toggle button.active {
    background: var(--primary, #0c5197) !important;
    color: white !important;
}
/* ===============================
  Login UM
=============================== */

/* Wrapper general */
.login-register-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;

    /* ancho y centrado del container */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Desktop / tablets grandes */
@media (min-width: 992px) {
    .login-register-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        max-width: 1400px;
        padding: 0 30px;
    }
}

/* Caso: usuario logueado → una sola columna */
.login-register-wrapper.single-column {
    grid-template-columns: 1fr;
}

/* Columna Login (no necesita cambios por ahora) */
.login-column {
    width: 100%;
}

/* Columna Registro → centrado horizontal */
.register-column {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/* Contenedor del mensaje */
.no-patient-register {
    text-align: center;
    /*max-width: 420px;*/
    width: 100%;
}

/* Texto */
.no-patient-question {
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight:bold;

}



/* ===============================
  IMAGEN LOGO en CUENTA
=============================== */

.um-account-meta-img img{
    max-width: 125px;
}


/* ===============================
   CONTENEDOR GENERAL DE PÁGINA
=============================== */

/* Aquí nos aseguramos de que .gp-page también ocupe el espacio */
.gp-page {
    flex: 1;
    background-color: #EFF2F7;
    display: flex;
    justify-content: center;
    align-items: center; /* o flex-start si no quieres centrar verticalmente */
     min-height: calc(100vh - var(--header-h) - var(--footer-h));
}


.page-content {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    display: block;
    /*
    align-items: center;
    justify-content: center;
    */
}



.site-footer {
    background-color: #EFF2F7;
    margin-top: 0 !important;
}

/* ===============================
   PANEL CENTRADO
=============================== */

.gp-panel {
    min-width: 500px;
    
    margin: 0 auto;
    background-color: #FFFFFF;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 10px;
    padding-bottom: 20px;

    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

/* ===============================
   TÍTULO
=============================== */

.gp-title {
    text-align: center;
    margin-bottom: 28px;
    font-size: 28px;
    font-weight: 600;
    color: #0a2e5c;
}

/* ===============================
   FORMULARIO
=============================== */

.gp-form {
    width: 100%;
}

/* ===============================
   CAMPOS
=============================== */

.gp-field {
    margin-bottom: 22px;
}

.gp-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #0a2e5c;
}

/* Asterisco obligatorio */
.gp-required {
    color: #d93025;
    font-weight: 600;
    margin-left: 3px;
}

/* Inputs */
.gp-field input[type="text"],
.gp-field input[type="file"],
.gp-field select,
.gp-field input[type="date"],
.gp-field textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Textarea */
.gp-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Focus */
.gp-field input:focus,
.gp-field select:focus,
.gp-field textarea:focus {
    outline: none;
    border-color: #0c5197;
    box-shadow: 0 0 0 2px rgba(12, 81, 151, 0.12);
}

/* ===============================
   ACCIONES
=============================== */

.gp-actions {
    text-align: center;
    margin-top: 10px;
}

/* Botón */
.gp-actions button {
    background-color: #0c5197;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.gp-actions button:hover {
    background-color: #0a3f73;
}

.gp-actions button:active {
    transform: translateY(1px);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 600px) {
    .gp-panel {
        padding: 30px 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        min-width: 300px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .gp-title {
        font-size: 24px;
    }
    /*
    .gp-page {
        padding: 25px;
    }
    */        
    .gp-file-input-wrapper {
        display: flex;
        flex-direction: column;
        font-size: 10px;
    }
    .labelMenu, .site-title{
        display: none !important;
    }

}


/* ===============================
   PAGINA de CONSULTA
=============================== */

header {
    border-bottom: none !important;
    background-color: var(--primary);
    color: #fff;
} 

footer {
    height: var(--footer-h) !important;
    background: var(--primary);
    color: var(--text-light);
    text-align: center;
    padding: 1rem;
}

.matriculas {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.matriculas img {
    max-width: 30px;
}

/* Forzar main a full width */
.site-main, .site-header, .site-footer, .site-footer:not(.dynamic-footer)  {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;

}

.site-header {
    min-height: var(--header-h) !important;
}


.site-title {
    display: flex;
    justify-content: center;    
    padding-left: 10px;
}

.site-menu {
    font-size: 15px;
    color: #FFF;
}

main {
    padding-top: 0 !important;
    margin-top:  var(--header-h);
}

main.site-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: var(--header-h);
    box-sizing: border-box;
}

/* El footer se queda normal al final */
.site-footer {
    background-color: #EFF2F7;
    margin-top: 0 !important;
}

.um-form {
    padding: 25px;
}

.um-account-main {
    max-width: 500px;
    margin-top: 20px;
}


/* Contenedor del botón y el nombre del archivo */
.gp-file-input-wrapper {
    display: flex;
    align-items: center; /* Alinear verticalmente */
    gap: 12px; /* Espacio entre el botón y el nombre del archivo */
}

/* Estilo para el botón de selección de archivo */
.gp-file-button {
    background-color: #0c5197 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px !important;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    min-width: 150px;

}

.gp-file-button:hover {
    background-color: #0a3f73;
}

.gp-file-button:active {
    transform: translateY(1px);
}

/* Estilo para el nombre del archivo seleccionado */
.gp-file-name {
    font-size: 14px;
    color: #0a2e5c;
}

.gp-file-button svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.gp-file-button svg {
    stroke-width: 1.75;
}





/* ===============================
   MENSAJE DE ÉXITO
=============================== */

.gp-success {
    text-align: center;
}

.gp-success-title {
    font-size: 26px;
    font-weight: 600;
    color: #0a2e5c;
    margin-bottom: 16px;
}

.gp-success-message {
    font-size: 15px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.5;
}

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

.message-icon {
    color:var(--primary-hover);
    width: 75px;
    height: 75px;
}

/* ===============================
   BOTÓN SECUNDARIO (LINK)
=============================== */

.gp-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background-color: var(--primary);
    color: #ffffff;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;

    border-radius: 6px;
    text-decoration: none !important;
    color:#fff;
    transition: background-color 0.2s, transform 0.1s;
 
}

.gp-button-secondary:hover {
    background-color:   var(--primary-hover);
    color:#fff;
}

.gp-button-secondary:active {
    transform: translateY(1px);
}

.gp-button-secondary svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ===============================
   PAGINA ACCESO A LA CONSULTA EN ACCOUN
=============================== */

.page-id-124 .um-account-main {
    max-width: 100% !important ;
}

.page-id-124 .gp-page{
    background-color: #FFFFFF;
    align-items: flex-start !important;
    padding-top: 0px !important;;
}

.page-id-124 .gp-panel{
    border: none !important;
    box-shadow: none !important;
}

/* ===============================
   PAGINA ACCESO A LA CONSULTA EN ACCOUN
=============================== */


.site-navigation{
    padding-right: 15px;
}

.site-navigation a {
    color: var(--text-light);
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-navigation a:hover { 
    background: var(--primary-hover); 
    color: var(--text-light) !important;
}


/* ===============================
   PAGINA DE LOGIN AL ESTAR LOGUEADO
=============================== */


/* Contenedor */
.um-misc-ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Links como botones */
.um-misc-ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px !important;
  text-align: center;  

  padding: 12px 22px;
  border-radius: 8px;

  background-color: var(--primary);
  color: #ffffff !important;

  font-family: Poppins, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;

  transition: all 0.25s ease;
}

/* Hover */
.um-misc-ul li a:hover {
  background-color: var(--primary-hover);
  
  /*transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(12, 81, 151, 0.25);*/
}

/* Botón Salir (último li) */
.um-misc-ul li:last-child a {
  background-color: var(--primary);
}

.um-misc-ul li:last-child a:hover {
  background-color: var(--primary-hover);
}

/* Ocultamos el texto original del segundo link */
.um-misc-ul li:last-child a {
  position: relative;
  color: transparent !important;
}

.um-misc-ul li:first-child a {
  position: relative;
  color: transparent !important;
}



.um-misc-ul li:first-child a::after {
  content: "Ir a Ajustes";
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* Insertamos el nuevo texto */
.um-misc-ul li:last-child a::after {
  content: "Cerrar sesión";
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.um-form input[data-validate="phone_number"].um-form-field {
    padding-left: 52px !important;
    padding-right: 6px !important;
}

/*Amelia Customizacion - agenda*/

/* ===============================
   CONTENEDOR GENERAL CENTRADO
   =============================== */

.amelia-booking-layout {
    display: flex;
    justify-content: center;   /* centra todo el bloque */
    width: 100%;
}

/* ===============================
   CONTENEDOR INTERNO (columnas)
   =============================== */

.amelia-booking-layout-inner {
    display: flex;
    align-items: center;
    gap: 16px;                 /* separación mínima */
}

/* ===============================
   SIDEBAR
   =============================== */

.amelia-booking-sidebar {
    border-radius: 12px;
    padding: 20px;
    flex-shrink: 0;            /* NO se achica */
}

.amelia-booking-calendar {
    flex: 1;        /* ← ESTO */
    min-width: 800px;   /* ← Y ESTO */
}


/* ===============================
   CONTEXTO VERTICAL (desktop)
   =============================== */

.amelia-context-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.amelia-context-employee-image img,
.amelia-context-location-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.amelia-context-employee-name {
    font-weight: 600;
    font-size: 16px;
    color: #0c5197;
    margin-bottom: 12px;
}

.amelia-context-location-name {
    font-weight: 600;
    font-size: 14px;
    color: #0c5197;
}

/* ===============================
   MOBILE
   =============================== */

@media (max-width: 768px) {

    /* columnas → stack */
    .amelia-booking-layout-inner {
        flex-direction: column;
        width: 100%;
    }

    .amelia-employee-name{
        display: none;
    }

    .amelia-booking-sidebar {
        width: 100%;
        padding: 12px 16px;
    }

    /* CONTEXTO HORIZONTAL */
    .amelia-context-vertical {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .amelia-context-employee-image,
    .amelia-context-location-image {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .amelia-context-employee-image img,
    .amelia-context-location-image img {
        width: 85px;
        height: 85px;
        flex-shrink: 0;
    }

    .amelia-context-employee-name,
    .amelia-context-location-name {
        margin: 0;
        font-size: 14px;
        font-weight: 600;
    }

    .amelia-booking-calendar {
        flex: 1;        /* ← ESTO */
        min-width: 350px !important;
        max-width: 300px !important;   /* ← Y ESTO */
    }

}

.amelia-v2-booking #amelia-container .am-advsc__slots-item-mobile {
    padding: 0 4px;
    --am-fs-asdvsc-slot: 11px !important;
}

/*
body.page-id-236 {
  background: var(--general-body-background) !important;
}

body.page-id-272 {
    background: var(--general-body-background) !important;
}
*/

.amelia-booking-empty {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
    padding: 30px;
    background: #f5f8ff;
    border-radius: 12px;
}

.amelia-booking-empty h3 {
    color: #0c5197;
    margin-bottom: 12px;
}

.amelia-booking-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--primary-hover);
}

/* Ocultar el texto original y poner uno nuevo */
.am-custom-field-file .el-upload-dragger .el-upload__text {
    font-size: 0 !important;
}
.am-custom-field-file .el-upload-dragger .el-upload__text::after {
    content: "Subir archivo aquí"; /* Tu nuevo texto */
    font-size: 14px !important;
}

.amelia-avail-empty {
    text-align: center;
    margin-top: 75px;
}
.am-button-custom{

    --am-c-btn-first: #265CF2;
    --am-c-btn-second: #FFFFFF;
    --am-c-btn-first-op80: rgba(38, 92, 242, 0.8);
    --am-c-btn-first-op30: rgba(38, 92, 242, 0.3);
    --am-c-btn-first-op20: rgba(38, 92, 242, 0.1);



    --am-c-btn-bgr: var(--am-c-btn-first);
    --am-c-btn-text: var(--am-c-btn-second);
    --am-c-btn-border: var(--am-c-btn-first);
    background-color: var(--am-c-btn-bgr) !important;
    color: var(--am-c-btn-text) !important;
    border: 1px solid var(--am-c-btn-border) !important;
}

/*Oculta el telefono en el turno*/
body.page-id-298 .el-form-item.am-fs__info-form__item[loggedinuser="true"]:has(.m-phone-number-input) {
    display: none !important;
}

body.page-id-298 .amelia-v2-booking #amelia-container .am-select--default {
    --am-h-select: 35px;
}

body.page-id-298 .amelia-v2-booking #amelia-container.am-fs__wrapper .el-form-item {
    display: block;
    font-family: var(--am-font-family);
    font-size: 12px; /*var(--am-fs-label);*/
    margin-bottom: 10px;
}


/* EVENTOS */

/* Esto expande la descripción que Amelia suele ocultar o truncar en el listado */
.am-event-list-booking .am-event-card-content-text {
    display: block !important;
    max-height: none !important;
    -webkit-line-clamp: initial !important;
}

/* Oculta el botón de "Read More" ya que el contenido estará visible */
.am-event-list-booking .am-event-card-read-more {
    display: none !important;
}



.el-icon--close{
    display: block !important;
}

.aliascontainer {
    display: flex;
    margin-top: 8px;
}

.wspcontact {
    text-align: right;
    padding: 10px;
    max-width: 75px;
    position: fixed;
    right: 7px;
    bottom: 1%;
    z-index: 1500;
}


.wspcontact img,
.wspcontact svg {
    max-width: 48px !important;
    max-height: 48px !important;
}

.wspcontact a {
    padding: 0px;
    border-radius: none;
    display: block;
}
.wspcontact a:hover {
    background-color: transparent !important;    
}


.btnNuevoTurno {
    position: fixed;
    right: 7px;
    top: 60px;
    z-index: 1500;
    padding: 10px;
    max-width: none;
    text-align: right;


}

.btnNuevoTurno a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    padding: 10px 14px;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;

    background: #1677a8 !important;
    border-color: #1677a8 !important;    
}

.btnNuevoTurno a i,
.btnNuevoTurno a svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 auto;
}

.btnNuevoTurno a span {
    display: inline-block;
    line-height: 1;
}


/* Mobile */
@media (max-width: 768px) {
    .aliascontainer {
        display: block;
    }
}

@media (max-width: 576px) {
    .aliascontainer {
        display: block;
    }
}    
.bold{
    font-weight: bold !important    ;
}

.mt-10 {
    margin-top: 10px !important    ;
}
.mt-20 {
    margin-top: 20px !important    ;
}

.paypal-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.icono-blanco {
    width: 25px;
    height: 25px;
    fill: #ffffff;
    display: block;
}


[type="button"], [type="submit"], button {
    background-color: transparent;
    border: 1px solid #fff !important;
    border-radius: 7px !important;
    color: var(--primary) ;
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

[type="button"]:hover, [type="submit"]:hover, button:hover {
    background-color: transparent;
    border: 1px solid #fff !important;
    border-radius: 7px;
    color: var(--primary-hover);
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem;
    text-align: center;
    transition: all 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.el-form-item__content > div:first-child {
    flex: 0 0 100% !important;
    width: 100% !important;
}

/*.am-modal-paypal-button, .paypal-button {
    min-height: 100px !important;
}*/

.page-id-356 .page-content {
    display:block;
}

/*
.paypal-wrapper{
    max-width:600px;
    margin:40px auto;
}
  */  

.paypal-checkout-wrapper{
    max-width:480px;
    margin:60px auto;
    text-align:center;
}

.checkout-title{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    font-size:26px;
    margin-bottom:25px;
}

.checkout-title svg{
    width:26px;
    height:26px;
    color:#0c5197;
}

.consulta-card{
    background:#ffffff;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    padding:10px;
    margin-bottom:10px;
}

.consulta-item{
    display:flex;
    align-items:center;
    gap:12px;
    padding:4px 0;
    border-bottom:1px solid #f1f1f1;
    font-size:16px;
}

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

.consulta-item svg{
    width:18px;
    height:18px;
    color:#0c5197;
}

.consulta-item.total{
    font-size:18px;
    font-weight:600;
    margin-top:10px;
}

/* ================================
   SWEETALERT - PERMITIR ANCHO GRANDE
================================ */

.swal2-popup{
    width:auto !important;
    max-width:950px !important;
    padding:30px;
}

/* ================================
   CONTENEDOR GENERAL
================================ */

.swal-imagenes{
    max-width:925px;
    margin:auto;
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    justify-content:center;
}

/* ================================
   TITULO
================================ */

.swal-intro{
    width:100%;
    text-align:center;
    font-size:20px;
    font-weight:600;
    margin-bottom:10px;
}

/* ================================
   TARJETAS PASOS
================================ */

.swal-paso{
    flex:1 1 calc(33.333% - 20px);
    background:#ffffff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 4px 18px rgba(0,0,0,0.08);
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* ================================
   CIRCULO NUMERO
================================ */

.swal-numero{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#0c5197;
    color:white;
    font-size:24px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:12px;
}

/* ================================
   TEXTO
================================ */

.swal-leyenda{
    font-size:14px;
    margin-bottom:12px;
}

/* ================================
   IMAGEN
================================ */

.swal-paso img{
    width:100%;
    height:auto;
    border-radius:8px;
}

.btn-loyacono-primary {
    background-color: #0c5197 !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    margin: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-loyacono-primary:hover {
    background-color: #083c6f !important;
}

.btn-loyacono-secondary {
    background-color: #e0e0e0 !important;
    color: #333;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    margin: 5px;
    font-weight: 600;
    cursor: pointer;
}

.btn-loyacono-secondary:hover {
    background-color: #c7c7c7;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width:768px){

    .swal-imagenes{
        flex-direction:column;
    }

    .swal-paso{
        flex:1 1 100%;
    }

}

.badge-pendientes {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;

    background: var(--primary-hover);
    color: #fff;

    border-radius: 100px;

    font-size: 11px;
    font-weight: 600;

    margin-left: 8px;
}

/* Card de mensajes */
/* CARD */
.gp-card-warning {
    max-width: 520px;
    margin: 40px auto;
    padding: 35px 25px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
}

/* ICONO CONTENEDOR */
.gp-card-warning-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 🔥 CLAVE: ESTO ES LO QUE TE FALTABA */
.gp-card-warning-icon svg {
    width: 42px !important;
    height: 42px !important;
    stroke: var(--primary-hover) !important;
    stroke-width: 2.5;
}

/* TEXTO */
.gp-card-warning-text h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #333;
    font-weight: 600;
}

.gp-card-warning-text p {
    margin: 0;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/*Oculta leyenda de pago*/

.page-id-298 .am-fs__payments-price{
    display: none !important;
    margin-top: 50px
}










/*Adaptacion a monitores pequeños*/

/* =========================================================
   MODO COMPACTO PARA MONITORES PEQUEÑOS / POCA ALTURA
   Pensado para resoluciones tipo 1024x768, notebooks,
   monitores con zoom alto o pantallas de baja altura.
========================================================= */

@media (max-width: 1100px) and (min-width: 769px),
       (max-height: 720px) and (min-width: 769px) {

    :root {
        --header-h: 48px;
        --footer-h: 72px;
    }

    html,
    body {
        font-size: 13px;
        overflow-x: hidden;
    }

    body {
        min-height: 100vh;
    }

    .amelia-booking-layout-inner {
        flex-direction: column;
        width: 100%;
    }

    .amelia-booking-sidebar {
        width: 100%;
        padding: 12px 16px;
    }

    .amelia-context-vertical {
        display: none;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .amelia-context-employee-image img, .amelia-context-location-image img {
            width: 85px;
            height: 85px;
            flex-shrink: 0;
    }
    

    /* ===============================
       HEADER / MENÚ SUPERIOR
    =============================== */

    .site-header,
    header {
        min-height: var(--header-h) !important;
        height: auto !important;
    }

    .site-title {
        font-size: 15px !important;
        padding-left: 8px !important;
        white-space: nowrap !important;
    }

    .site-title img,
    .custom-logo {
        max-height: 34px !important;
        width: auto !important;
    }

    .site-menu {
        font-size: 12px !important;
    }

    .site-navigation {
        padding-right: 6px !important;
    }

    .site-navigation a {
        font-size: 11px !important;
        padding: 0.35rem 0.55rem !important;
        gap: 0.35rem !important;
        border-radius: 5px !important;
        white-space: nowrap !important;
    }

    .site-navigation a svg,
    .site-navigation a i {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
    }

    /* ===============================
       CONTENIDO PRINCIPAL
    =============================== */

    main {
        margin-top: var(--header-h) !important;
        padding-top: 0 !important;
    }

    /*
       Importante:
       NO agregar padding-top a main.site-main porque duplica el espacio
       vertical cuando el header ya está compensado con margin-top.
    */
    main.site-main {
        padding-top: 0 !important;
    }

    .page-content {
        min-height: calc(100vh - var(--header-h) - var(--footer-h)) !important;
    }

    .gp-page {
        min-height: calc(100vh - var(--header-h) - var(--footer-h)) !important;
        align-items: flex-start !important;
        padding-top: 12px !important;
        padding-bottom: 10px !important;
    }

    .gp-panel {
        min-width: 420px !important;
        padding: 8px 24px 14px 24px !important;
        border-radius: 8px !important;
    }

    .gp-title {
        font-size: 22px !important;
        margin-bottom: 18px !important;
    }

    /* ===============================
       TÍTULOS GENERALES
    =============================== */

    h1,
    .welcome-title,
    .bienvenida {
        font-size: 23px !important;
        line-height: 1.15 !important;
        margin-top: 12px !important;
        margin-bottom: 18px !important;
    }

    h2 {
        font-size: 24px !important;
        line-height: 1.15 !important;
        margin-top: 22px !important;
        margin-bottom: 16px !important;
    }

    .mis-citas-title,
    .appointments-title {
        font-size: 24px !important;
        margin-top: 24px !important;
        margin-bottom: 16px !important;
    }

    /* ===============================
       BOTONES PRINCIPALES DEL DASHBOARD
    =============================== */

    .mis-citas-btn-turno,
    .mis-citas-btn-mensaje {
        max-width: 390px !important;
        width: 390px !important;
        min-height: 48px !important;
        padding: 10px 18px !important;
        font-size: 15px !important;
        border-radius: 6px !important;
        gap: 9px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.2 !important;
    }

    .mis-citas-btn-turno svg,
    .mis-citas-btn-mensaje svg,
    .mis-citas-btn-turno i,
    .mis-citas-btn-mensaje i {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }

    .mis-citas-btn-turno span,
    .mis-citas-btn-mensaje span {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    /* ===============================
       BOTÓN FLOTANTE NUEVA CITA / TURNO
       Más compacto, texto legible, sin botón gigante.
    =============================== */

    .btnNuevoTurno {
        top: 54px !important;
        right: 8px !important;
        bottom: auto !important;
        padding: 0 !important;
        max-width: none !important;
        width: auto !important;
        text-align: right !important;
        z-index: 1500 !important;
    }

    .btnNuevoTurno a {
        font-size: 14px !important;
        line-height: 1.1 !important;
        padding: 7px 12px !important;
        gap: 6px !important;
        min-height: 34px !important;
        width: auto !important;
        max-width: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }

    .btnNuevoTurno a i,
    .btnNuevoTurno a svg {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }

    .btnNuevoTurno a span {
        font-size: 14px !important;
        line-height: 1.1 !important;
    }

    .btnNuevoTurno a:hover {
        background-color: inherit;
        text-decoration: none !important;
    }

    /* ===============================
       BOTONES GENERALES
    =============================== */

    .gp-button-secondary {
        padding: 9px 22px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
        gap: 7px !important;
    }

    .gp-button-secondary svg,
    .gp-button-secondary i {
        width: 16px !important;
        height: 16px !important;
        flex-shrink: 0 !important;
    }

    /* ===============================
       FORMULARIOS
    =============================== */

    .gp-field {
        margin-bottom: 14px !important;
    }

    .gp-field label {
        font-size: 12px !important;
        margin-bottom: 4px !important;
    }

    .gp-field input[type="text"],
    .gp-field input[type="file"],
    .gp-field input[type="email"],
    .gp-field input[type="password"],
    .gp-field input[type="date"],
    .gp-field select,
    .gp-field textarea {
        padding: 7px 9px !important;
        font-size: 12px !important;
        border-radius: 5px !important;
    }

    .gp-field textarea {
        min-height: 80px !important;
    }

    .gp-actions button {
        padding: 9px 24px !important;
        font-size: 13px !important;
    }

    .um-form {
        padding: 14px !important;
    }

    .um-account-main {
        margin-top: 10px !important;
    }

    /* ===============================
       BLOQUE MIS CITAS / EMPTY STATE
    =============================== */

    .mis-citas-box,
    .appointments-box,
    .empty-appointments {
        max-width: 560px !important;
        padding: 20px 24px !important;
        border-radius: 12px !important;
    }

    .mis-citas-box h3,
    .appointments-box h3,
    .empty-appointments h3 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .mis-citas-box p,
    .appointments-box p,
    .empty-appointments p {
        font-size: 14px !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
    }

    /* ===============================
       CARDS / MENSAJES
    =============================== */

    .gp-card-warning {
        max-width: 460px !important;
        margin: 24px auto !important;
        padding: 22px 18px !important;
        border-radius: 12px !important;
    }

    .gp-card-warning-icon {
        width: 58px !important;
        height: 58px !important;
        margin-bottom: 14px !important;
    }

    .gp-card-warning-icon svg,
    .gp-card-warning-icon i {
        width: 32px !important;
        height: 32px !important;
    }

    .gp-card-warning-text h3 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .gp-card-warning-text p {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    /* ===============================
       WHATSAPP FLOTANTE
    =============================== */

    .wspcontact {
       /* right: 5px !important;
        bottom: 5px !important;
        padding: 6px !important;
        max-width: 54px !important;*/
        z-index: 1600 !important;
    }



    /* ===============================
       FOOTER
    =============================== */

    footer {
        height: var(--footer-h) !important;
        min-height: var(--footer-h) !important;
        padding: 0.45rem 1rem !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    footer p {
        margin: 2px 0 !important;
    }

    .matriculas {
        gap: 8px !important;
        margin-top: 2px !important;
        font-size: 12px !important;
    }

    .matriculas img {
        max-width: 24px !important;
        height: auto !important;
    }
}


/* =========================================================
   AJUSTE GENERAL DE FOOTER EN ESCRITORIO
   Lo baja un poco para que no robe tanto alto.
========================================================= */

@media (min-width: 769px) {

    :root {
        --footer-h: 82px;
    }

    footer {
        height: var(--footer-h) !important;
        min-height: var(--footer-h) !important;
        padding-top: 0.7rem !important;
        padding-bottom: 0.7rem !important;
    }
}


/* =========================================================
   MODO ULTRA COMPACTO
   Para pantallas muy bajas, por ejemplo 1024x600 aprox.
========================================================= */

@media (max-height: 650px) and (min-width: 769px) {

    html,
    body {
        font-size: 12px !important;
    }

    :root {
        --header-h: 44px;
        --footer-h: 62px;
    }

    /* HEADER */

    .site-header,
    header {
        min-height: var(--header-h) !important;
    }

    .site-title {
        font-size: 14px !important;
    }

    .site-title img,
    .custom-logo {
        max-height: 30px !important;
    }

    .site-navigation a {
        font-size: 10px !important;
        padding: 0.28rem 0.45rem !important;
        gap: 0.25rem !important;
    }

    .site-navigation a svg,
    .site-navigation a i {
        width: 18px !important;
        height: 18px !important;
    }

    /* MAIN */

    main {
        margin-top: var(--header-h) !important;
        padding-top: 0 !important;
    }

    main.site-main {
        padding-top: 0 !important;
    }

    .gp-page {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    /* TÍTULOS */

    h1,
    .welcome-title,
    .bienvenida {
        font-size: 21px !important;
        margin-top: 8px !important;
        margin-bottom: 14px !important;
    }

    h2,
    .mis-citas-title,
    .appointments-title {
        font-size: 22px !important;
        margin-top: 18px !important;
        margin-bottom: 12px !important;
    }

    /* BOTONES DASHBOARD */

    .mis-citas-btn-turno,
    .mis-citas-btn-mensaje {
        width: 360px !important;
        max-width: 360px !important;
        min-height: 44px !important;
        font-size: 14px !important;
        padding: 8px 16px !important;
    }

    .mis-citas-btn-turno span,
    .mis-citas-btn-mensaje span {
        font-size: 14px !important;
    }

    .mis-citas-btn-turno svg,
    .mis-citas-btn-mensaje svg,
    .mis-citas-btn-turno i,
    .mis-citas-btn-mensaje i {
        width: 17px !important;
        height: 17px !important;
    }

    /* BOTÓN FLOTANTE NUEVA CITA */

    .btnNuevoTurno {
        top: 48px !important;
        right: 8px !important;
        padding: 0 !important;
        width: auto !important;
        max-width: none !important;
    }

    .btnNuevoTurno a {
        font-size: 13px !important;
        padding: 6px 10px !important;
        min-height: 32px !important;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap !important;
    }

    .btnNuevoTurno a i,
    .btnNuevoTurno a svg {
        width: 15px !important;
        height: 15px !important;
    }

    .btnNuevoTurno a span {
        font-size: 13px !important;
    }

    /* CAJA MIS CITAS */

    .mis-citas-box,
    .appointments-box,
    .empty-appointments {
        max-width: 540px !important;
        padding: 16px 22px !important;
    }

    .mis-citas-box h3,
    .appointments-box h3,
    .empty-appointments h3 {
        font-size: 17px !important;
    }

    .mis-citas-box p,
    .appointments-box p,
    .empty-appointments p {
        font-size: 13px !important;
    }

    /* FOOTER */

    footer {
        height: var(--footer-h) !important;
        min-height: var(--footer-h) !important;
        font-size: 11px !important;
        padding: 0.35rem 1rem !important;
        line-height: 1.2 !important;
    }

    footer p {
        margin: 1px 0 !important;
    }

    .matriculas {
        font-size: 11px !important;
        gap: 6px !important;
    }

    .matriculas img {
        max-width: 22px !important;
    }

    /* WHATSAPP */

    .wspcontact img,
    .wspcontact svg {
        max-width: 44px !important;
        max-height: 44px !important;
    }
}

/*Anula el precio al final en el detalle del turno luego de guardar la cita*/
.am-fs__congrats-info-payment {
	display: none !important;
}