/* Estilos Modernos de Formulario - CSS Global para Conline */
/* Tipografía */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.total-price {
    display: flex;
    align-items: flex-start;
    color: #1e293b;
    font-family: 'Tungsten', 'Montserrat', sans-serif;
}

* {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Contenedor de */
.form-clean-container {
    font-family: 'Montserrat', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Tarjeta Moderna */
.card-clean {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

/* Encabezados de Tarjetas */
.card-clean-title {
    font-family: 'Gotham', 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.card-clean-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 28px;
    display: block;
}

/* Etiquetas de Formulario */
.form-label-clean {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

.form-label-clean .asterisk {
    color: #ef4444;
}

/* Inputs y Selectores */
.form-control-clean,
.form-select-clean {
    width: 100%;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 400;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: all 0.15s ease;
    font-family: 'Montserrat', sans-serif;
}

.form-control-clean::placeholder {
    color: #cbd5e1;
}

.form-control-clean:focus,
.form-select-clean:focus {
    background: #ffffff;
    border-color: #00b1aa;
    box-shadow: 0 0 0 3px rgba(0, 177, 170, 0.08);
}

.form-control-clean:disabled,
.form-select-clean:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Placeholders */
.search-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

/* Botón Continuar */
.btn-continue-clean {
    padding: 13px 36px;
    background: #00b1aa;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-continue-clean:hover {
    background: #009991;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 177, 170, 0.25);
}

.btn-continue-clean:active {
    transform: translateY(0);
}

/* Switch Moderno */
.switch-wrapper-clean {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.switch-clean {
    position: relative;
    width: 44px;
    height: 24px;
    min-width: 44px;
    margin-top: 2px;
}

.switch-clean input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.flex-row-clean {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin-left: -8px;
    margin-right: -8px;
}

.col-half-clean {
    width: 50% !important;
    padding-left: 8px;
    padding-right: 8px;
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Icono dentro del input de tarjeta */
.card-input-wrapper {
    position: relative;
    width: 100%;
}

.card-input-wrapper .form-control-clean {
    padding-left: 50px;
    transition: all 0.3s ease;
}

.card-icon-overlay {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent !important;
    box-shadow: none !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.card-icon-overlay.active {
    opacity: 1;
}

/* Imágenes de marcas tarjetas*/
.card-type-visa {
    background-image: url('../img/visa.svg');
    width: 30px;
    height: 40px;
}

.card-type-mastercard {
    background-image: url('../img/mastercard.svg');
    width: 30px;
    height: 40px;
}

.card-type-unknown {
    background-image: url('https://cdn-icons-png.flaticon.com/512/607/607540.png');
    opacity: 0.3;
}

/* =========================================
   Nuevo estilo de las cookies
   ========================================= */

#cookie-settings {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 32px !important;
    font-family: 'Montserrat', sans-serif !important;
    max-width: 800px !important;
    width: 90% !important;
    background: #ffffff !important;
}

#cookie-settings h3 {
    font-weight: 800 !important;
    color: #1e293b !important;
    font-size: 1.5rem !important;
    letter-spacing: -0.5px !important;
}

#cookie-settings p {
    color: #64748b;
    line-height: 1.6;
}

#cookie-settings a {
    color: #00b1aa;
    text-decoration: none;
    font-weight: 600;
}

/* Banner Inferior */
#cookie-banner {
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    padding: 24px !important;
    border-top: 1px solid #e2e8f0 !important;
    font-family: 'Montserrat', sans-serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    #cookie-banner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left !important;
    }

    #cookie-banner p {
        margin-bottom: 0 !important;
        max-width: 70%;
    }
}

#cookie-banner button {
    background-color: transparent !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    margin: 0 4px !important;
}

#cookie-banner button:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Botón principal */
#cookie-banner button:first-child {
    background-color: #00b1aa !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 177, 170, 0.3) !important;
}

#cookie-banner button:first-child:hover {
    background-color: #009993 !important;
    transform: translateY(-1px);
}

/* Icono Flotante Configuración */
#settings-icon {
    background-color: white !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.3s ease !important;
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#settings-icon:hover {
    transform: scale(1.1) rotate(15deg) !important;
    background-color: #f8fafc !important;
}

#settings-icon img {
    width: 28px !important;
    height: 28px !important;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.switch-clean input:checked+.switch-slider {
    background-color: #00b1aa;
}

.switch-clean input:focus+.switch-slider {
    box-shadow: 0 0 0 3px rgba(0, 177, 170, 0.15);
}

.switch-clean input:checked+.switch-slider:before {
    transform: translateX(20px);
}

.switch-label-clean {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.switch-label-clean a {
    color: #00b1aa;
    text-decoration: underline;
}

.switch-label-clean a:hover {
    color: #009991;
}

/* Texto Legal */
.legal-text-clean {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 12px;
}

.legal-text-clean a {
    color: #94a3b8;
    text-decoration: underline;
}

.legal-text-clean a:hover {
    color: #64748b;
}

/* Input de Teléfono */
.phone-input-wrapper {
    display: flex;
    align-items: center;
}

.phone-icon {
    background: #f3f4f6;
    padding: 11px 14px;
    border-radius: 8px 0 0 8px;
    border: 1px solid #e2e8f0;
    border-right: none;
}

.phone-input-wrapper .form-control-clean {
    border-radius: 0 8px 8px 0;
}

/* Fila de Formulario */
.form-row-clean {
    margin-bottom: 18px;
}

/*resposive*/

@media (max-width: 768px) {
    .card-clean {
        padding: 24px 20px;
    }

    .form-clean-container {
        padding: 15px;
    }

    .btn-continue-clean {
        width: 100%;
    }
}

/* Clases Utilitarias */
.text-end {
    text-align: right;
}

@media (max-width: 768px) {
    .text-end {
        text-align: center;
    }
}

/*/////////////////////////////////* ========================================
   Resumen pedido estilos
   ======================================== */

.summary-card-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', 'Gotham', sans-serif;
    will-change: transform;
}

@media (max-width: 768px) {
    .summary-card-mobile {
        display: block;
    }

    /* Evita que el contenido se oculte detrás del header fijo */
    body {
        padding-top: 70px !important;
    }
}

.summary-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-bottom: 2px solid #f1f5f9;
    cursor: pointer;
    position: relative;
    z-index: 2;

}

/* Izquierda: Logo/Icono del Carrito */
.summary-card-header-left {
    display: flex;
    align-items: center;
}

.summary-card-header-left img {
    height: 24px;
    width: auto;
}

.summary-card-header-left i {
    font-size: 20px;
    color: #00b1aa;
}

/* Centro: Detalles del Precio */
.summary-card-header-center {
    flex: 1;
    text-align: center;
    font-size: 15px;
    color: #334155;
}

.summary-card-header-center strong {
    color: #e50695;
    font-size: 16px;
    margin-left: 5px;
}

/* Derecha: Flecha */
.summary-card-header-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #00b1aa;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card-mobile.expanded .summary-card-header-right {
    transform: rotate(-180deg);
}

/* --- Capa de Fondo Oscurecido --- */
.summary-card-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card-mobile.expanded~.summary-card-backdrop,
.summary-card-backdrop.active {
    background: rgba(0, 0, 0, 0.6);
    pointer-events: auto;
}

/* --- animacion despliegue--- */
.summary-card-body-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 70px);
}

.summary-card-mobile.expanded .summary-card-body-wrapper {
    grid-template-rows: 1fr;
}

.summary-card-body-content {
    overflow: hidden;
    min-height: 0;

}

/* Área desplazable interna si el pedido tiene múltiples productos */
.summary-card-body-inner {
    padding: 0 20px 20px 20px;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}


/* --- Diseño css de los productos --- */
.summary-products-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    padding: 16px 0 10px 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 12px;
}

.summary-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.summary-product-name {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
}

.summary-product-details {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 400;
}

.summary-product-price {
    font-weight: 600;
    color: #e50695;
    font-size: 15px;
}

.summary-cart-total-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.summary-pago-text {
    font-size: 14px;
    color: #475569;
    margin-bottom: 5px;
}

.summary-price-big {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #e50695;
}

.price-integer {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.price-decimal-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 4px;
}

.price-decimal {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.price-period {
    font-size: 14px;
    font-weight: 500;
    color: #e50695;
}

.summary-iva-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
}

.summary-price-after {
    font-size: 13px;
    color: #64748b;
    margin-top: 12px;
    font-weight: 500;
}

.summary-no-commitment {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 15px;
}

.modify-pack-link {
    border-radius: 20px;
    transition: all 0.2s;
    border: 1px solid #ccfbf1;
}

.modify-pack-link:hover {
    background: #ccfbf1;
    color: #0f766e;
}

/*/////////////////////////////////*/
/* --- Resumen del pedido Escritorio --- */
/*/////////////////////////////////*/
.order-summary-card {
    background: #ffffff;
    border: 2px solid #00b1aa;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 177, 170, 0.12);
    position: sticky;
    top: 100px;
    z-index: 10;
    font-family: 'Inter', sans-serif;
}

.order-summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f8fafc;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-icon {
    width: 32px;
    height: 32px;
    background: #f0fdfc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: #00b1aa;
    font-size: 16px;
    flex-shrink: 0;
}

.service-content {
    flex-grow: 1;
}

.service-name {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    line-height: 1.2;
}

.service-details {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.zapi-logo img {
    height: 24px;
    width: auto;
    margin-top: 2px;
    background-color: rgb(36, 55, 70);
    padding: 4px;
    border-radius: 6px;
}

.order-divider {
    border: 0;
    height: 1px;
    background: #e2e8f0;
    margin: 15px 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.total-label {
    display: flex;
    flex-direction: column;
}

.total-label-main {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.total-label-discount {
    font-size: 12px;
    color: #00b1aa;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
}

.total-label-tax {
    font-size: 11px;
    color: #94a3b8;
}

.price-integer {
    font-size: 42px;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -1px;
    font-family: 'Tungsten', sans-serif;
}

.price-decimal-group {
    display: flex;
    flex-direction: column;
    margin-left: 2px;
    margin-top: 4px;
}

.price-decimal {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    font-family: 'Tungsten', sans-serif;
}

.price-period {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    font-family: 'Montserrat', sans-serif;
}

.price-after-promo {
    text-align: right;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
}

.no-commitment {
    text-align: right;
    font-size: 12px;
    font-weight: 500;
    color: #00b1aa;
}

/* Responsive adjustments specific to the summary card */
@media (max-width: 768px) {
    .order-summary-card {
        padding: 16px;
        margin-top: 20px;
        position: static;
        /* No sticky on mobile usually */
    }


    .addScroll {
        overflow-y: auto;
        max-height: 400px;
        /* Prevent it from being too long on mobile */
    }
}

/* Estilos Modernos para Datepicker */
.datepicker {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 10px !important;
    font-family: 'Montserrat', sans-serif !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
    background-color: #00b1aa !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 177, 170, 0.2);
}

.datepicker table tr td.day:hover,
.datepicker table tr td.focused {
    background: #f1f5f9;
    border-radius: 8px !important;
    cursor: pointer;
}

.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
    background-color: #e0f2f1 !important;
    background-image: none !important;
    color: #00b1aa !important;
    border-radius: 8px !important;
    font-weight: 600;
}

.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
    background: #f1f5f9 !important;
    border-radius: 6px;
}

.datepicker th.datepicker-switch {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    padding: 8px !important;
}

.datepicker th.dow {
    color: #64748b;
    font-weight: 500;
    font-size: 13px;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9;
}

.datepicker table tr td {
    padding: 8px !important;
    font-size: 14px;
    color: #334155;
    border-radius: 8px !important;
}

/* Flechas de navegación */
.datepicker .prev i,
.datepicker .next i {
    color: #64748b;
    font-size: 12px;
}

/* Interruptores (Switches) Modernos */
.switch-wrapper-clean {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.switch-clean {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    margin-right: 12px;
}

.switch-clean input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 24px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.switch-clean input:checked+.switch-slider {
    background-color: #00b1aa;
}

.switch-clean input:checked+.switch-slider:before {
    transform: translateX(20px);
}

/* Switch deshabilitado */
.switch-clean input:disabled+.switch-slider {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #94a3b8;
}

/* Si está chequeado y deshabilitado, mantener el color pero mas opaco */
.switch-clean input:checked:disabled+.switch-slider {
    background-color: #00b1aa;
    opacity: 0.4;
}

.switch-label-clean {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    cursor: pointer;
    padding-top: 2px;
}

.switch-clean input:disabled~.switch-label-clean,
.switch-wrapper-clean input:disabled~label {
    color: #94a3b8;
    cursor: not-allowed;
}

/* ========================================
    Estilos portabilidad
   ======================================== */

/* Sección de portabilidad */
.portability-section {
    margin-bottom: 30px;
}

.section-title-porta {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* tarjeta de portabilidad */
.portability-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.portability-card:hover {
    box-shadow: 0 4px 12px rgba(0, 177, 170, 0.1);
    border-color: #00b1aa;
}

/* Header de portabilidad */
.portability-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.portability-icon {
    color: #00b1aa;
    font-size: 18px;
    margin-right: 10px;
    transform: rotate(90deg);
}

.portability-header span {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

/* Radio Group Moderno */
.radio-group-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.radio-option-modern {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.radio-option-modern:hover {
    border-color: #00b1aa;
    background: #f0fdfa;
    transform: translateX(4px);
}

.radio-option-modern input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/*  radio button personalizado */
.radio-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00b1aa;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.radio-option-modern input:checked~.radio-custom {
    border-color: #00b1aa;
    background: #f0fdfa;
}

.radio-option-modern input:checked~.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

.radio-option-modern input:checked~.radio-label {
    color: #00b1aa;
    font-weight: 600;
}

.radio-label {
    font-size: 15px;
    color: #475569;
    transition: all 0.3s ease;
}

/* Nota de portabilidad */
.portability-note {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-left: 4px solid #00b1aa;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    color: #0f766e;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.portability-note i {
    color: #00b1aa;
    font-size: 14px;
}

/* Botón modernizado */
.btn-ptv {
    background: linear-gradient(135deg, #00b1aa 0%, #0d9488 100%);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 177, 170, 0.3);
}

.btn-ptv:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 177, 170, 0.4);
    background: linear-gradient(135deg, #0d9488 0%, #00b1aa 100%);
}

.btn-ptv:active {
    transform: translateY(0);
}

/* ========================================
   Resumen final estilos
   ======================================== */

.summary-content-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.summary-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.summary-title i {
    margin-right: 8px;
    color: #00b1aa;
}

.summary-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.summary-highlight {
    color: #0f172a;
    font-weight: 600;
    font-size: 16px;
}

.summary-subtext {
    font-size: 14px;
    color: #64748b;
}

/* Estilo de Pago */
.payment-method-card {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.payment-icon-large {
    font-size: 28px;
    color: #00b1aa;
    margin-right: 16px;
    background: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payment-details {
    display: flex;
    flex-direction: column;
}

.payment-type {
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 2px;
}

.payment-number {
    font-family: 'Courier New', monospace;
    color: #475569;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ========================================
   PÁGINA DE GRACIAS 
   ======================================== */

.thank-you-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.thank-you-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00b1aa, #0d9488);
}

.thank-you-icon-wrapper {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.thank-you-icon {
    font-size: 32px;
    color: #00b1aa;
    background: #f0fdfa;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 4px 10px -2px rgba(0, 177, 170, 0.15);
}

.thank-you-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-subtitle {
    font-size: 16px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.4;
}

.thank-you-subtitle i {
    color: #00b1aa;
    margin-right: 6px;
}

.info-box-success {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: flex-start;
    color: #334155;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    min-width: 280px;
}

.info-item i {
    color: #00b1aa;
    font-size: 16px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item strong {
    color: #0f172a;
    font-weight: 600;
}

.spam-notice {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 20px;
}

.contact-support {
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-support p {
    color: #64748b;
    margin-bottom: 0px;
    font-size: 13px;
}

.support-phone {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.support-phone i {
    color: #00b1aa;
    font-size: 16px;
}

.thank-you-footer p {
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    font-size: 15px;
}

.btn-restart {
    background: white;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-restart:hover {
    border-color: #00b1aa;
    color: #00b1aa;
    background: #f0fdfa;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 576px) {
    .thank-you-card {
        padding: 20px;
    }

    .thank-you-title {
        font-size: 22px;
    }

    .thank-you-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .info-box-success {
        flex-direction: column;
        gap: 15px;
    }
}

/* Información de Instalación */
.installation-info {
    display: flex;
    align-items: flex-start;
    background: #f0fdfa;
    padding: 16px;
    border-radius: 12px;
    color: #0f766e;
    font-size: 14px;
    border: 1px solid #ccfbf1;
    margin-top: 10px;
}

.installation-info i {
    margin-right: 12px;
    font-size: 20px;
    margin-top: 2px;
    color: #00b1aa;
}

/* Botón Finalizar */
.btn-finalize {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #00b1aa 0%, #0d9488 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 20px -5px rgba(0, 177, 170, 0.4);
    transition: all 0.3s ease;
}

.btn-finalize:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 177, 170, 0.5);
}

/* Responsive */
@media (max-width: 768px) {

    .portability-card,
    .summary-content-card {
        padding: 20px;
    }

    .section-title-porta {
        font-size: 18px;
    }

    .radio-option-modern {
        padding: 12px 14px;
    }
}

/* ========================================
   Barra de progreso
   ======================================== */

.modern-steps-container {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 40px;
    padding: 0 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}


.modern-steps-container::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 44px;
    right: 44px;
    height: 4px;
    background: #e2e8f0;
    z-index: -1;
    transform: translateY(-50%);
}

.modern-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: default;
    flex: 1;
}

/* Rayita azul que conecta los circulitos */
.modern-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    z-index: -1;
    transform: translateY(-50%);
    transition: background 0.4s ease;
}

.modern-step.step-completed:not(:last-child)::after {
    background: #00b1aa;
}

/* Barra de progreso circulitos */
.step-circle {
    width: 48px;
    height: 48px;
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Circulito activo */
.modern-step.step-active .step-circle {
    border-color: #00b1aa;
    color: #00b1aa;
    box-shadow: 0 0 0 4px rgba(0, 177, 170, 0.15);
    transform: scale(1.1);
}

/* Circulito completado */
.modern-step.step-completed .step-circle {
    background: #00b1aa;
    border-color: #00b1aa;
    color: white;
}

/* Circulito válido */
.modern-step.clickable {
    cursor: pointer;
}

.modern-step.clickable:hover .step-circle {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px -2px rgba(0, 177, 170, 0.2);
}

/* Label */
.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.modern-step.step-active .step-label {
    color: #00b1aa;
    font-weight: 700;
}

.modern-step.step-completed .step-label {
    color: #0f172a;
}

/* Responsive */
@media (max-width: 576px) {
    .modern-steps-container {
        padding: 0 10px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 2px;
    }

    .modern-steps-container::before,
    .modern-step:not(:last-child)::after {
        top: 18px;
    }

    .step-label {
        font-size: 11px;
    }
}

/* =========================================
            Date picker mas intuitivo
   ========================================= */
.ui-datepicker {
    display: none;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    padding: 15px !important;
    width: 320px !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Mostrar el calendario automáticamente cuando se usa en modo inline */
.ui-datepicker.ui-datepicker-inline {
    display: block;
}

.ui-datepicker-header {
    background-color: #00b1aa;
    color: white;
    border-radius: 8px;
    padding: 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 15px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    color: transparent !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background: rgba(255, 255, 255, 0.4);
    top: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Flecha izquierda */
.ui-datepicker-prev::after {
    content: "\2190";
    color: white;
    font-weight: bold;
    font-size: 25px;
}

/* Flecha derecha */
.ui-datepicker-next::after {
    content: "\2192";
    color: white;
    font-weight: bold;
    font-size: 25px;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    display: none !important;
}

.ui-datepicker-title {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex: 1;
    margin: 0 !important;
}

.ui-datepicker-title select {
    background-color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 32px;
}

.ui-datepicker-title select:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
}

.ui-datepicker th {
    padding: 8px 0;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
}

.ui-datepicker td {
    padding: 2px;
}

.ui-datepicker td span,
.ui-datepicker td a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto;
    border-radius: 50% !important;
    text-decoration: none !important;
    color: #334155 !important;
    background: transparent !important;
    border: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center !important;
    padding: 0 !important;
}

.ui-datepicker td a:hover {
    background-color: #f1f5f9 !important;
    color: #00b1aa !important;
}

.ui-datepicker td.ui-datepicker-today a {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
    font-weight: bold;
}

.ui-datepicker td.ui-datepicker-current-day a {
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 2px solid #00b1aa !important;
    box-shadow: 0 0 10px rgba(0, 177, 170, 0.4) !important;
    font-weight: 700 !important;
}

.ui-datepicker-unselectable.ui-state-disabled span {
    color: #cbd5e1 !important;
    cursor: not-allowed;
}

/* Ocultar el thead interno de jquery ui si interfiere */
.ui-datepicker-rtl {
    direction: rtl;
}