@media screen and (min-width: 768px) {
    .cms-header-container {
        padding: 0;
    }
}

.cms-logo img {
    width: 80px;
    height: auto;
    max-height: 100px;
}

.cms-search-form input {
    height: 40px !important;
}
.cms-search-form button {
    height: 37px;
}

html, body {
    padding: 0;
    margin: 0;
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   Teloalquilo - Sistema Web a Medida - Nueva Paleta Global Oficial (Modo Claro)
   ========================================================================== */

:root {
    /* Nueva Paleta Oficial TeLoAlquilo */
    --telo-primary: #3C51FA;
    --telo-primary-hover: #2b3fd4;
    --telo-primary-light: #EDECFD;
    --telo-primary-dark: #000824;
    --telo-dark: #000824;
    --telo-navy: #000824;
    --telo-text: #000824;
    --telo-text-muted: #5a657c;
    --telo-lavender: #EDECFD;
    --telo-bg: #FDFDFD;
    --telo-white: #FFFFFF;
    --telo-card-bg: #EDECFD;
    --telo-card-border: #EDECFD;
    --telo-border: #EDECFD;
    --telo-border-subtle: #E2E8F0;

    --pico-primary: #3C51FA;
    --pico-primary-hover: #2b3fd4;
    --pico-primary-inverse: #FFFFFF;
    --pico-secondary: #EDECFD;
    --pico-color: #000824;
    --text-muted: #5a657c;
    --pico-border-color: #EDECFD;
    --background-color: #FDFDFD;
    --background-component-color: #FFFFFF;
    --border-radius-premium: 18px;
    --card-shadow: 0 4px 20px -2px rgba(0, 8, 36, 0.05), 0 2px 6px -1px rgba(0, 8, 36, 0.04);
    --card-hover-shadow: 0 16px 32px -4px rgba(60, 81, 250, 0.15);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Variables locales del Módulo TeLoAlquilo */
    --telo-success: #10b981;
    --telo-warning: #f59e0b;
    --telo-danger: #ef4444;
    --telo-radius: var(--border-radius-premium, 18px);
    --telo-shadow: var(--card-shadow);
    --telo-transition: var(--transition-smooth);

    /* Aliases para compatibilidad */
    --telo-accent: #3C51FA;
    --telo-text-bright: #000824;
    --telo-subcard-bg: #FFFFFF;
    --telo-input-bg: #FFFFFF;
    --telo-input-border: #EDECFD;
    --telo-placeholder: #8e99b0;
}

/* ==========================================================================
   Contenedor Principal de la Aplicación (Main Layout Container)
   ========================================================================== */
main,
main.container,
.telo-dashboard-main,
.telo-dashboard,
.telo-hero-container {
    width: 100% !important;
    max-width: 1380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    box-sizing: border-box !important;
}

@media (max-width: 640px) {
    main,
    main.container,
    .telo-dashboard-main,
    .telo-dashboard,
    .telo-hero-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.telo-dashboard,
.telo-modal,
.telo-modal-detalle {
    background-color: var(--telo-bg);
    color: var(--telo-text);
    font-family: var(--font-family);
    font-size: 0.88rem;
    border-radius: var(--telo-radius);
    padding: 0;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

/* Indicador de Estado Pulsante */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.online {
    background-color: var(--telo-success);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--telo-primary) 70%, transparent);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--telo-primary) 70%, transparent);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px color-mix(in srgb, var(--telo-primary) 0%, transparent);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--telo-primary) 0%, transparent);
    }
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--telo-text);
}

/*---------------------------- Grilla de Tarjetas KPI -------------------------*/
.telo-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.kpi-card {
    background: var(--telo-card-bg);
    border-radius: var(--telo-radius);
    padding: 1.5rem;
    box-shadow: var(--telo-shadow);
    border: 1px solid var(--telo-border);
    transition: var(--telo-transition);
    display: flex;
    flex-direction: column;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--telo-primary);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--telo-text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.kpi-icon {
    font-size: 1.2rem;
    opacity: 0.8;
    color: var(--telo-primary);
}

.kpi-value {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 0.4rem 0;
    letter-spacing: -1px;
    color: var(--telo-text);
}

.kpi-footer {
    font-size: 0.8rem;
    margin-top: auto;
}

.kpi-trend {
    font-weight: 600;
}

.kpi-trend.positive {
    color: var(--telo-primary);
}

.kpi-trend.negative {
    color: var(--telo-danger);
}

.kpi-trend.neutral {
    color: var(--telo-text-muted);
}

/* Barra de Progreso en KPI */
.kpi-progress-bar {
    width: 100%;
    height: 8px;
    background: var(--telo-border);
    border-radius: 4px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--telo-primary) 0%, var(--pico-secondary) 100%);
    border-radius: 4px;
}

/*------------------------ SISTEMA ------------------------*/
.telo-dashboard p.telo-subtitle, 
.telo-dashboard .kpi-header, 
.telo-dashboard .activity-time, 
.telo-dashboard .property-location,
.telo-dashboard .property-specs,
.telo-dashboard .kpi-trend.neutral {
    color: var(--telo-text-muted) !important;
}

/* Barra Superior del Módulo */
.telo-mobile-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    margin-bottom: 1.2rem;
}

.telo-bar-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.telo-icon-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    color: var(--telo-primary) !important;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--telo-transition);
}

.telo-icon-btn i {
    color: var(--telo-primary) !important;
}

.telo-icon-btn:hover {
    transform: scale(1.1);
}

.telo-location-selector {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
    transition: var(--telo-transition);
}

.telo-location-selector:hover {
    color: var(--telo-primary) !important;
    opacity: 0.9;
}

.telo-location-selector i {
    color: var(--telo-primary) !important;
}

.telo-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.telo-avatar-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--telo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a !important;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 229, 188, 0.2);
}

.telo-avatar-circle i {
    color: #0f172a !important;
}

/* Barra de Búsqueda del Módulo */
.telo-mobile-search-wrapper {
    margin-bottom: 2rem;
    position: relative;
}

.telo-mobile-search {
    width: 100%;
    padding: 0.9rem 3.5rem 0.9rem 1.2rem;
    background-color: var(--telo-card-bg) !important;
    border: 1px solid var(--telo-border) !important;
    border-radius: 30px !important;
    color: var(--telo-text) !important;
    font-size: 0.95rem;
    outline: none;
    border: 1px solid var(--pico-secondary) !important;
    transition: var(--telo-transition);
}

.telo-mobile-search::placeholder {
    color: var(--telo-text-muted);
    opacity: 0.8;
}

.telo-mobile-search:focus {
    border-color: var(--telo-primary) !important;
    box-shadow: 0 0 10px color-mix(in srgb, var(--telo-primary) 20%, transparent);
}

.telo-search-icon-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--telo-primary) !important;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: none;
}
.telo-header-search-wrapper .telo-search-icon-btn:hover {
    transform: translateY(-50%);
}

.telo-search-icon-btn i {
    color: var(--telo-primary) !important;
}

/* Sección de Explorar Categorías */
.telo-explore-section {
    margin-bottom: 2.5rem;
}

.telo-explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.telo-explore-header .telo-section-title {
    margin-bottom: 0;
}

.telo-slider-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.telo-slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    color: var(--telo-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.telo-slider-arrow:hover:not(:disabled) {
    background-color: var(--telo-primary);
    border-color: var(--telo-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--telo-primary) 30%, transparent);
}

.telo-slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

#telo-categories-splide {
    position: relative;
    padding: 0;
    width: 100%;
}

#telo-categories-splide .splide__track {
    padding: 8px 4px;
    overflow: hidden;
}

/* Ocultar flechas automáticas superpuestas de Splide */
#telo-categories-splide .splide__arrow {
    display: none !important;
}

/* Buscador en pantalla */
.telo-search-bar-wrapper {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    max-width: 500px;
}

.telo-search-input-container {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.telo-search-input-container i.search-icon {
    position: absolute;
    left: 14px;
    color: var(--telo-text-muted);
    font-size: 0.95rem;
    pointer-events: none;
}

.telo-search-input-container i.clear-icon {
    position: absolute;
    right: 14px;
    color: var(--telo-text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--telo-transition);
}

.telo-search-input-container i.clear-icon:hover {
    color: var(--telo-danger);
}

.telo-search-input-container input {
    width: 100%;
    padding: 10px 36px 10px 42px !important;
    border-radius: 20px !important;
    border: 1px solid var(--telo-text-muted) !important;
    background-color: var(--telo-card-bg) !important;
    color: var(--telo-text) !important;
    font-size: 0.9rem !important;
    height: 42px !important;
    margin: 0 !important;
    transition: var(--telo-transition) !important;
}

.telo-search-input-container input:focus {
    border-color: var(--telo-primary) !important;
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--telo-primary) 20%, transparent) !important;
    outline: none !important;
}

.telo-search-btn {
    border-radius: 20px !important;
    height: 42px !important;
    padding: 0 20px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    background-color: var(--telo-primary) !important;
    border-color: var(--telo-primary) !important;
    color: var(--pico-primary-inverse) !important;
    cursor: pointer !important;
    transition: var(--telo-transition) !important;
}

.telo-search-btn:hover {
    background-color: var(--telo-primary-hover) !important;
    border-color: var(--telo-primary-hover) !important;
}

/* ==========================================================================
   Sección Hero Principal - Modelo 2026 (Alquilá lo que necesitás)
   ========================================================================== */

.telo-hero-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem 0 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.telo-hero-content {
    flex: 1;
    max-width: 620px;
    z-index: 2;
}

.telo-hero-headline {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.08;
    color: var(--telo-dark);
    letter-spacing: -0.03em;
    margin: 0 0 2rem 0;
}

.telo-blue-accent {
    color: var(--telo-primary) !important;
}

/* Barra Cápsula de Búsqueda Hero */
.telo-hero-search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid var(--telo-border-subtle);
    border-radius: 9999px;
    padding: 0.45rem 0.5rem 0.45rem 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 8, 36, 0.06), 0 8px 10px -6px rgba(0, 8, 36, 0.04);
    margin-bottom: 2.2rem;
}

.telo-hero-input-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    background: #F4F4FD;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 0.55rem 1rem;
    transition: var(--telo-transition);
}

.telo-hero-input-group:focus-within {
    background: #FFFFFF;
    border-color: var(--telo-primary, #3C51FA);
    box-shadow: 0 0 0 2px rgba(60, 81, 250, 0.2);
}

.telo-hero-input-icon {
    color: var(--telo-primary);
    font-size: 1rem;
}

.telo-hero-input-group input,
.telo-hero-input-group input:focus,
.telo-hero-input-group input:active,
.telo-hero-input-group input:focus-visible {
    border: none !important;
    outline: none !important;
    outline-offset: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--telo-dark, #000824) !important;
    box-shadow: none !important;
    height: auto !important;
    width: 100% !important;
    -webkit-appearance: none !important;
}

.telo-hero-input-group input::placeholder {
    color: var(--telo-text-muted) !important;
    opacity: 0.8;
}

.telo-hero-search-btn {
    background: var(--telo-primary) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--telo-transition) !important;
    box-shadow: 0 4px 14px rgba(60, 81, 250, 0.35) !important;
    white-space: nowrap !important;
}

.telo-hero-search-btn:hover {
    background: var(--telo-primary-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(60, 81, 250, 0.45) !important;
}

/* Badges de Confianza / Propuestas de Valor */
.telo-hero-trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.telo-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.telo-trust-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--telo-lavender);
    color: var(--telo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.telo-trust-text {
    display: flex;
    flex-direction: column;
}

.telo-trust-text strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--telo-dark);
    line-height: 1.2;
}

.telo-trust-text span {
    font-size: 0.78rem;
    color: var(--telo-text-muted);
}

/* Visual Hero Derecha */
.telo-hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 550px;
}

.telo-hero-tools-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0, 8, 36, 0.12));
    transition: transform 0.4s ease;
}

.telo-hero-tools-img:hover {
    transform: scale(1.02);
}

@media (max-width: 992px) {
    .telo-hero-modern {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0 2.5rem 0;
    }
    .telo-hero-content {
        max-width: 100%;
    }
    .telo-hero-headline {
        font-size: 2.6rem;
    }
    .telo-hero-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 0.8rem;
    }
    .telo-hero-input-group {
        width: 100%;
        box-sizing: border-box;
    }
    .telo-hero-search-btn {
        width: 100%;
    }
    .telo-hero-trust-badges {
        justify-content: center;
        gap: 1rem;
    }
    .telo-hero-visual {
        max-width: 320px;
    }
}

/* ==========================================================================
   Sección Explorar por Categoría
   ========================================================================== */

.telo-explore-section {
    margin-bottom: 2.5rem;
}

.telo-explore-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.telo-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--telo-dark);
    margin: 0;
    letter-spacing: -0.01em;
}

.telo-category-card {
    flex: 0 0 115px;
    border-radius: 16px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: var(--telo-transition);
    background: transparent;
    border: none;
}

.telo-category-card:hover {
    transform: translateY(-4px);
}

.telo-cat-icon-container {
    width: 84px;
    height: 84px;
    border-radius: 20px !important;
    background: var(--telo-lavender);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--telo-primary);
    transition: var(--telo-transition);
    box-shadow: 0 4px 12px rgba(0, 8, 36, 0.04);
}

.telo-category-card:hover .telo-cat-icon-container {
    background: var(--telo-primary);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(60, 81, 250, 0.25);
}

.telo-category-card.active .telo-cat-icon-container {
    background: var(--telo-primary);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(60, 81, 250, 0.3);
}

.telo-category-card.active .telo-cat-icon-container i {
    color: #FFFFFF !important;
}

.telo-category-card:hover .telo-cat-icon-container i {
    color: #FFFFFF !important;
}

.telo-cat-name {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--telo-dark);
    width: 100%;
}

/* ==========================================================================
   Banner Cápsula de Subcategorías (Nuevo Formato)
   ========================================================================== */

/* ==========================================================================
   Banner Cápsula de Subcategorías (Nuevo Formato)
   ========================================================================== */

.telo-subcat-banner-capsule {
    background: #FAE8DF;
    border: 2px solid var(--telo-primary, #3C51FA);
    border-radius: 20px;
    padding: 0.85rem 1.8rem;
    margin: 1.5rem 0 1.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 14px rgba(60, 81, 250, 0.06);
}

.telo-subcat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.6rem;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.2px solid #E8A27E;
    background: transparent;
    color: var(--telo-dark, #000824);
    white-space: nowrap;
}

.telo-subcat-pill:hover {
    background: rgba(232, 162, 126, 0.25);
    border-color: #DE9570;
    color: var(--telo-dark, #000824);
}

.telo-subcat-pill.active {
    background: #E8A27E !important;
    border-color: #E8A27E !important;
    color: var(--telo-dark, #000824) !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(232, 162, 126, 0.35);
}

/* Encabezado con Icono y Título de Categoría Activa */
.telo-category-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.telo-cat-header-icon-box {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--telo-primary, #3C51FA);
    flex-shrink: 0;
}

.telo-cat-header-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.telo-cat-header-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--telo-dark, #000824);
    margin: 0;
    letter-spacing: -0.02em;
}

.telo-cat-back-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 1.1rem;
    background: #FFFFFF;
    border: 1px solid var(--telo-border-subtle, #E2E8F0);
    border-radius: 9999px;
    color: var(--telo-text-muted, #5a657c);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.telo-cat-back-btn:hover {
    color: var(--telo-primary, #3C51FA);
    border-color: var(--telo-primary, #3C51FA);
    background: var(--telo-lavender, #EDECFD);
}

@media (max-width: 768px) {
    .telo-subcat-banner-capsule {
        border-radius: 16px;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    .telo-subcat-pill {
        padding: 0.35rem 1rem;
        font-size: 0.82rem;
    }
    .telo-category-header-row {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    .telo-cat-header-title {
        font-size: 1.45rem;
    }
    .telo-cat-back-btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   Grilla y Tarjetas de Productos Destacados
   ========================================================================== */

.telo-property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background-color: var(--telo-lavender, #EDECFD);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 8, 36, 0.04);
    border: 1.5px solid var(--telo-primary, #3C51FA);
    transition: var(--telo-transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(60, 81, 250, 0.16);
}

.property-img-container {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #EAE9FB;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.28rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.property-badge.available {
    background: #FFFFFF;
    color: var(--telo-primary, #3C51FA) !important;
}

.property-badge.distance-badge {
    left: 12px;
    top: 42px;
    background: #FFFFFF;
    color: var(--telo-dark, #000824) !important;
    font-weight: 600;
}

.property-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--telo-primary, #3C51FA);
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 8, 36, 0.12);
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
}

.property-fav-btn:hover {
    transform: scale(1.12);
    background: #FFFFFF;
}

.property-fav-btn i.fa-solid {
    color: var(--telo-primary, #3C51FA);
}

.property-body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    background: var(--telo-lavender, #EDECFD);
    flex: 1;
}

.property-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--telo-dark, #000824);
    margin: 0;
    line-height: 1.3;
}

.property-location {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--telo-dark, #000824);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: var(--telo-primary, #3C51FA);
}

.property-rental-limits {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--telo-dark, #000824);
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.property-rental-limits i {
    color: var(--telo-primary, #3C51FA);
}

.property-meta {
    margin-top: auto;
    padding-top: 0.35rem;
    display: flex;
    align-items: baseline;
}

.property-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--telo-primary, #3C51FA);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.property-price small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--telo-dark, #000824);
}

/* Estilos de botones adaptados para lucir premium */
.telo-btn {
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.45rem 1.05rem;
    border: none;
    letter-spacing: 0.2px;
    transition: var(--telo-transition);
}

.telo-btn.sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.72rem;
    border-radius: 20px;
}

.telo-btn.primary {
    background-color: var(--telo-primary);
    color: var(--pico-primary-inverse) !important;
}

.telo-btn.primary:hover {
    background-color: var(--telo-primary-hover);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--telo-primary) 30%, transparent);
}

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

.telo-btn.primary.outline:hover {
    background-color: var(--telo-primary);
    color: var(--pico-primary-inverse) !important;
}

.telo-btn.secondary {
    background-color: var(--pico-secondary);
    color: var(--pico-primary-inverse) !important;
}

.telo-btn.secondary:hover {
    background-color: var(--telo-primary-hover);
}

/* Estilos del modal adaptados con alta especificidad y contraste absoluto */
dialog.telo-modal article {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    max-width: 480px !important;
    color: #0f172a !important;
}

[data-theme='dark'] dialog.telo-modal article {
    background-color: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #f8fafc !important;
}

dialog.telo-modal h3,
dialog.telo-modal label {
    color: #0f172a !important;
}

[data-theme='dark'] dialog.telo-modal h3,
[data-theme='dark'] dialog.telo-modal label {
    color: #f8fafc !important;
}

dialog.telo-modal select, 
dialog.telo-modal input:not([type="checkbox"]):not([type="radio"]) {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    height: 38px !important;
    padding: 6px 12px !important;
}

[data-theme='dark'] dialog.telo-modal select, 
[data-theme='dark'] dialog.telo-modal input:not([type="checkbox"]):not([type="radio"]) {
    background-color: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #f8fafc !important;
}

dialog.telo-modal select:focus, 
dialog.telo-modal input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

dialog.telo-modal footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    background-color: transparent !important;
}

[data-theme='dark'] dialog.telo-modal footer {
    border-top: 1px solid #334155;
}

dialog.telo-modal footer button {
    font-size: 0.82rem !important;
    padding: 0.5rem 1.1rem !important;
    border-radius: 25px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border: none !important;
    transition: var(--telo-transition) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}

dialog.telo-modal footer button.primary {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

dialog.telo-modal footer button.primary:hover {
    background-color: #2563eb !important;
}

dialog.telo-modal footer button.secondary {
    background-color: #64748b !important;
    color: #ffffff !important;
}

dialog.telo-modal footer button.secondary:hover {
    background-color: #475569 !important;
}

/* Contenedor del diseño principal del módulo */
.telo-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

/* Panel lateral de operaciones */
.telo-card {
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    border-radius: var(--telo-radius);
    padding: 1.1rem;
}

.telo-card.margin-top {
    margin-top: 1.5rem;
}

.telo-actions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.telo-actions-list button {
    margin-bottom: 0;
    font-size: 0.76rem;
    padding: 0.4rem 0.85rem;
}

/* Activity List */
.activity-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.activity-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--telo-border);
}

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

.activity-icon-container {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.activity-icon-container.success {
    background-color: color-mix(in srgb, var(--telo-primary) 15%, transparent);
    color: var(--telo-success);
}

.activity-icon-container.info {
    background-color: color-mix(in srgb, var(--telo-primary) 15%, transparent);
    color: var(--telo-primary);
}

.activity-icon-container.warning {
    background-color: color-mix(in srgb, var(--telo-warning) 15%, transparent);
    color: var(--telo-warning);
}

.activity-info {
    display: flex;
    flex-direction: column;
}

.activity-text {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--telo-text);
}

.activity-time {
    font-size: 0.68rem;
    color: var(--telo-text-muted);
    margin-top: 0.15rem;
}

@media (max-width: 992px) {
    .telo-content-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Estilos de Cabecera Específica (Teloalquilo Header)
   ========================================================================== */

.telo-header-custom {
    padding-block: 8px !important;
}

.telo-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.telo-header-search-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 480px;
    margin: 0;
}

.telo-header-search {
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0.55rem 3rem 0.55rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 30px !important;
    height: 38px !important;
}

.telo-header-search-wrapper .telo-search-icon-btn {
    right: 5px;
    font-size: 1rem;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telo-header-search-wrapper .telo-search-icon-btn i {
    color: var(--pico-secondary) !important;
}


.telo-header-utilities {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
}

.telo-header-utilities .telo-location-selector {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--telo-text);
}

.telo-header-utilities .telo-location-selector i {
    color: var(--telo-primary) !important;
}

.telo-header-utilities .telo-icon-btn {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    color: var(--telo-text-muted) !important;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--telo-transition);
}

.telo-header-utilities .telo-icon-btn:hover {
    color: var(--telo-primary) !important;
    transform: scale(1.08);
}

.telo-header-utilities .telo-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--telo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--pico-primary-inverse) !important;
    cursor: pointer;
    box-shadow: 0 2px 6px color-mix(in srgb, var(--telo-primary) 20%, transparent);
}

.telo-header-utilities .telo-avatar-circle i {
    color: var(--pico-primary-inverse) !important;
}

/* Ocultar elementos redundantes y ajustar navegación */
.telo-header-container .cms-menu {
    margin-left: auto;
}

/* Responsividad para Móviles (Resolución menor a 992px) */
@media (max-width: 992px) {
    .telo-header-container {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .telo-header-search-wrapper {
        order: 3; /* Mandar buscador abajo en móviles */
        max-width: 100%;
        width: 100%;
        margin-top: 0.2rem;
    }
    
    .telo-header-utilities {
        margin-left: auto;
    }
    
    .telo-header-container .cms-menu-toggle {
        order: 4;
    }
    
    .telo-header-container .cms-menu {
        order: 5;
        width: 100%;
    }
}

/* Importación de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800&display=swap');

/*------------- SWEET ALERT CLARO / OSCURO --------------*/
.swal2-popup {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    max-width: 90vw !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.swal2-title {
    color: #0f172a !important;
    word-break: break-word !important;
}

.swal2-html-container {
    color: #475569 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
}

.swal2-input {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: none !important;
    width: 90% !important;
    margin: 10px auto;
}

.swal2-input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
}

.swal2-popup button.swal2-confirm {
    background-color: var(--pico-primary, #3b82f6) !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    padding: 0.55rem 1.3rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border: none !important;
}

.swal2-popup button.swal2-deny {
    background-color: var(--pico-secondary, #828fa1) !important;
    color: var(--telo-text) !important;
    border-radius: 5px !important;
    padding: 0.55rem 1.3rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border: none !important;
}

.swal2-popup button.swal2-cancel {
    background-color: #94a3b8 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    padding: 0.55rem 1.3rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    border: none !important;
}

/* Adaptación del modal de SweetAlert2 a Tema Oscuro */
[data-theme='dark'] .swal2-popup {
    background-color: #1e293b !important;
    color: #f8fafc !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}

[data-theme='dark'] .swal2-title {
    color: #f8fafc !important;
}

[data-theme='dark'] .swal2-html-container {
    color: #94a3b8 !important;
}

[data-theme='dark'] .swal2-input {
    background-color: #0f172a !important;
    border: 1px solid #475569 !important;
    color: #f8fafc !important;
}

/* Deshabilitar el spinner de Pico CSS en SweetAlert2 para evitar duplicación visual */
.swal2-container [aria-busy="true"]::before {
    display: none !important;
    content: none !important;
}


/*--------------------------------------------------------------------------
   Teloalquilo - Detalle de Producto Modal Responsivo (Formato Premium)
   --------------------------------------------------------------------------*/

/* Modal Base */
dialog.telo-modal-detalle {
    background-color: rgba(15, 23, 42, 0.75) !important; /* Fondo oscuro traslúcido premium */
    backdrop-filter: blur(5px);
    border: none !important;
    padding: 0 !important;
}

dialog.telo-modal-detalle article {
    margin: 0 auto;
    padding: 0;
    width: 90%;
    max-width: 1200px; /* Tamaño más compacto y elegante como una tarjeta */
    border-radius: var(--telo-radius) !important;
    background-color: var(--telo-card-bg) !important;
    border: 1px solid var(--telo-border) !important;
    overflow: hidden !important; /* Desactivar scroll nativo del article de Pico CSS */
    position: relative;
    display: flex;
    flex-direction: column;
    height: 92vh; /* Altura optimizada y más baja en escritorio */
    max-height: 1000px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Loader Interno del Modal */
.telo-modal-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--telo-card-bg) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
    border-radius: var(--telo-radius);
    transition: var(--telo-transition);
}

.telo-modal-loader-overlay i {
    font-size: 2.5rem;
    color: var(--telo-primary) !important;
}

.telo-modal-loader-overlay span {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--telo-text-muted);
}


/* Header Transparente con Botones Flotantes */
.telo-detail-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(to bottom, rgb(15 23 42 / 18%) 0%, rgba(15, 23, 42, 0) 100%) !important;
    border: none !important;
    margin: 0 !important;
}

.telo-detail-header .telo-icon-btn {
    background: rgba(15, 23, 42, 0.4) !important;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--telo-transition);
    padding: 0 !important;
}

.telo-detail-header .telo-icon-btn:hover {
    background: var(--telo-primary) !important;
    color: #0f172a !important;
    border-color: var(--telo-primary) !important;
    transform: scale(1.05);
}

.telo-detail-header .telo-icon-btn i {
    color: inherit;
    font-size: 1.15rem;
}

.telo-detail-header .telo-icon-btn.fav-btn.is-favorite i,
.telo-detail-header .telo-icon-btn i.fa-solid.fa-heart,
#det-fav-icon.fa-solid {
    color: #ef4444 !important;
}

.telo-detail-header .telo-icon-btn.fav-btn.is-favorite {
    background: rgba(239, 68, 68, 0.18) !important;
    border-color: rgba(239, 68, 68, 0.45) !important;
}

.telo-detail-header .telo-icon-btn.fav-btn.is-favorite:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    border-color: #ef4444 !important;
    transform: scale(1.08);
}

/* Scroll Container */
.telo-detail-scroll-container {
    overflow: hidden; /* Evitar scroll general en PC, ya que solo el body-section hace scroll */
    flex-grow: 1;
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
}

/* Columna Izquierda: Galería de imágenes */
.telo-detail-gallery-section {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #000;
}

.telo-detail-img-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.telo-img-blur {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    width: calc(100% + 40px) !important;
    height: calc(100% + 40px) !important;
    object-fit: cover !important;
    filter: blur(20px) brightness(0.5);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.telo-img-main {
    position: relative;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    z-index: 2;
}

/* Thumbnails de Galería */
.telo-detail-thumbnails {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    gap: 0.8rem;
    z-index: 10;
    overflow-x: auto;
    scrollbar-width: none;
}

.telo-detail-thumbnails::-webkit-scrollbar {
    display: none;
}

.telo-thumb-item {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    background: #0f172a;
    transition: var(--telo-transition);
    opacity: 0.85;
    flex-shrink: 0;
}

.telo-thumb-item:hover, .telo-thumb-item.active {
    border-color: var(--telo-primary);
    opacity: 1;
    transform: scale(1.05);
}

.telo-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telo-detail-body-section {
    flex: 1 1 50%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--telo-card-bg);
}

/* Personalización de la barra de desplazamiento (Scrollbar) del modal */
.telo-detail-body-section::-webkit-scrollbar,
.telo-detail-scroll-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.telo-detail-body-section::-webkit-scrollbar-track,
.telo-detail-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.telo-detail-body-section::-webkit-scrollbar-thumb,
.telo-detail-scroll-container::-webkit-scrollbar-thumb {
    background-color: color-mix(in srgb, var(--telo-primary) 30%, transparent);
    border-radius: 10px;
}

.telo-detail-body-section::-webkit-scrollbar-thumb:hover,
.telo-detail-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--telo-primary) !important;
}

.telo-detail-body-section,
.telo-detail-scroll-container {
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--telo-primary) 30%, transparent) transparent;
}

/* Fila de Título y Compartir */
.telo-detail-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.telo-detail-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
    color: var(--telo-text);
}

.telo-share-btn {
    background: transparent !important;
    border: none !important;
    color: var(--telo-primary) !important;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: var(--telo-transition);
}

.telo-share-btn:hover {
    transform: scale(1.1);
}

.telo-share-btn i {
    color: var(--telo-primary) !important;
}

/* Precio en Verde/Teal Grande */
.telo-detail-price {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.telo-price-amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--telo-primary) !important;
}

.telo-price-period {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--telo-text-muted) !important;
}

/* Rating y Días de Alquiler */
.telo-detail-rating-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--telo-text-muted);
}

.telo-detail-rating-row .telo-stars {
    color: var(--telo-primary);
    display: flex;
    gap: 2px;
}

.telo-detail-rating-row .telo-stars i {
    color: var(--telo-primary) !important;
}

.telo-detail-rating-row .vertical-divider {
    color: var(--telo-border);
}

.telo-rental-days {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.telo-rental-days i {
    color: var(--telo-primary) !important;
}

/* Línea Divisoria */
.telo-divider {
    border: 0;
    border-top: 1px solid var(--menu-border-color);
    margin: 1.2rem 0;
}

/* Bloques de Contenido */
.telo-detail-block {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.telo-block-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--telo-text);
    margin: 0;
}

.telo-block-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--telo-text-muted);
    margin: 0;
}

/* Horarios de Retiro y Devolución */
.telo-schedules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.telo-schedule-card {
    background: color-mix(in srgb, var(--telo-border) 10%, transparent);
    border: 1px solid var(--telo-border);
    border-radius: 12px;
    padding: 0.8rem .2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.schedule-icon-container {
    font-size: 1.3rem;
    color: var(--telo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.schedule-icon-container i {
    color: var(--telo-primary) !important;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.schedule-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--telo-text-muted);
}

.schedule-time {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--telo-text);
}

/* Ubicación y Mapa */
.telo-detail-location-text {
    font-size: 0.9rem;
    color: var(--telo-text);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.telo-detail-location-text i {
    color: var(--telo-primary) !important;
}

.telo-detail-map {
    height: 160px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--telo-border);
    overflow: hidden;
}

/* Calificación Propietario */
.telo-owner-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 700;
}

.owner-rating-label {
    color: var(--telo-text);
}

.owner-rating-value {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--telo-primary);
}

.owner-rating-value i {
    color: var(--telo-primary) !important;
}

/* Footer Fijo con CTA de Alquiler */
.telo-detail-footer {
    padding: 0.8rem 1.5rem calc(0.8rem + env(safe-area-inset-bottom, 0px)) 1.5rem !important; /* Reducido para menor altura con safe-area */
    margin-top: 0 !important; /* Forzar margin-top a 0 para anular Pico CSS */
    margin-bottom: 0 !important;
    border-top: 1px solid var(--telo-border);
    background-color: var(--telo-card-bg) !important;
    flex-shrink: 0;
}

.telo-detail-footer button {
    margin: 0 !important; /* Anular márgenes inferiores de Pico CSS */
}

.telo-footer-actions-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.footer-share-btn {
    background: transparent !important;
    border: 2px solid var(--telo-primary) !important;
    color: var(--telo-primary) !important;
    border-radius: 12px !important;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none !important;
    transition: var(--telo-transition);
    padding: 0 !important;
    flex-shrink: 0;
    margin: 0 !important;
}

.footer-share-btn:hover {
    background: var(--telo-primary) !important;
    color: #0f172a !important;
    transform: translateY(-2px);
}

.footer-share-btn i {
    color: inherit !important;
    font-size: 1.1rem;
}

.cta-alquilar {
    background-color: var(--telo-primary) !important;
    border-color: var(--telo-primary) !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 12px !important;
    text-transform: none !important;
    margin: 0 !important;
    transition: var(--telo-transition);
    flex-grow: 1;
}

.cta-alquilar:hover {
    background-color: var(--telo-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 229, 188, 0.3);
}

/*--------------------------------------------------------------------------
   Responsividad de Celular Completa (Pantalla Completa en Móviles)
   --------------------------------------------------------------------------*/
@media (max-width: 768px) {
    dialog.telo-modal-detalle {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        border: none !important;
        top: 0 !important;
        left: 0 !important;
    }

    dialog.telo-modal-detalle article {
        margin: 0 !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    /* Scroll Container en celular: se apilan las columnas y es vertical */
    .telo-detail-scroll-container {
        flex-direction: column !important;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex-grow: 1;
        padding-bottom: 1rem !important;
    }

    .telo-detail-gallery-section {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: 350px !important;
    }

    .telo-detail-img-container {
        height: 100% !important;
        min-height: auto !important;
    }

    .telo-detail-body-section {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 1.25rem !important;
        overflow-y: visible !important;
        background-color: var(--telo-card-bg) !important;
    }

    .telo-detail-footer {
        padding-top: 0.8rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: max(24px, calc(0.8rem + env(safe-area-inset-bottom, 24px))) !important;
    }
}

/* ==========================================================================
   Teloalquilo - Login & Perfil
   ========================================================================== */

/* Contenedor del login */
.cmse-login-container {
    max-width: 520px;
    margin: 1rem auto !important;
    padding: 0;
}

/* Caja de login / formulario */
.cmse-login {
    background-color: var(--background-component-color, #1e293b);
    border: 1px solid var(--pico-border-color, #334155);
    border-radius: var(--border-radius-premium, 16px);
    padding: 2.5rem;
    box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.25));
    color: var(--pico-color);
}

/* Título de bienvenida */
.cmse-login h4 {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    color: var(--pico-color);
    margin-bottom: 2rem;
    position: relative;
}

.cmse-login h4::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: var(--pico-primary);
    border-radius: 2px;
    margin: 0.5rem auto 0 auto;
}

/* Divs de inputs del login */
.cmse-login-input {
    margin-bottom: 1.5rem;
    position: relative;
}

.cmse-login-input label {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--pico-color);
    opacity: 0.9;
    margin-bottom: 0.5rem;
    display: block;
}

.cmse-login-input input,
.cmse-login-input select {
    width: 100%;
    height: 46px;
    border-radius: 8px !important;
    border: 1px solid var(--pico-border-color, #334155) !important;
    background-color: var(--pico-background-color) !important;
    color: var(--pico-color) !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.95em !important;
    transition: all 0.3s ease;
}

.cmse-login-input input:focus,
.cmse-login-input select:focus {
    border-color: var(--pico-primary) !important;
    box-shadow: 0 0 0 2px rgba(var(--pico-primary-rgb), 0.15) !important;
}

/* Icono mostrar/ocultar contraseña */
.cmse-login-input i {
    position: absolute;
    right: 15px;
    top: 47px !important;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.2s ease;
}

.cmse-login-input i:hover {
    color: var(--pico-primary);
}

/* Mensajes de error */
.cmse-login-input span {
    color: #ef4444 !important;
    font-size: 0.75em !important;
    margin-top: 0.3rem;
    display: block;
}

/* Botón de Iniciar Sesión */
.cmse-login input[type="submit"] {
    width: 100%;
    height: 48px;
    border-radius: 25px !important;
    background-color: var(--pico-primary) !important;
    border-color: var(--pico-primary) !important;
    color: var(--pico-primary-inverse, #fff) !important;
    font-weight: 700;
    font-size: 1rem !important;
    margin-top: 1.5rem !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cmse-login input[type="submit"]:hover {
    background-color: var(--pico-primary-hover) !important;
    border-color: var(--pico-primary-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--pico-primary-rgb), 0.2);
}

/* Enlaces secundarios */
.cmse-login p {
    text-align: center;
    font-size: 0.8em;
    color: var(--text-muted);
    margin-top: 1.2rem;
}

.cmse-login p a {
    color: var(--pico-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cmse-login p a:hover {
    color: var(--pico-primary-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Teloalquilo - Reusable Account & Publications Dashboard Styles
   ========================================================================== */

/* Tarjetas y Contenedores de cuenta generales */
.telo-account-card {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid var(--telo-border);
    border-radius: var(--telo-radius);
    background-color: var(--telo-card-bg);
}

/* Botón de volver genérico */
.telo-back-btn {
    margin-bottom: 1.5rem;
    background: transparent !important;
    border: 1px solid var(--telo-border) !important;
    border-radius: 8px !important;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 16px !important;
    font-size: .85em !important;
    color: var(--telo-text) !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: var(--telo-transition);
}

.telo-back-btn:hover {
    background-color: var(--telo-border) !important;
    color: var(--telo-primary) !important;
    text-decoration: none !important;
}

/* Encabezados y títulos de formularios */
.telo-form-title {
    font-weight: 800;
    color: var(--telo-text);
    margin-bottom: 0.5rem;
}

.telo-form-subtitle {
    font-size: 0.85em;
    color: var(--telo-text-muted);
    margin-bottom: 2rem;
}

/* Listados y tarjetas de direcciones */
.telo-address-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.telo-address-card {
    border: 1px solid var(--telo-text-muted);
    padding: 1.2rem;
    border-radius: var(--telo-radius);
    background-color: var(--telo-card-bg);
}

.telo-address-card.principal {
    border-color: var(--telo-primary) !important;
    background-color: rgba(var(--telo-primary-rgb, 0), 0.03);
}

.telo-address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telo-address-card-body {
    margin-top: 0.8rem;
    font-size: 0.9em;
    color: var(--telo-text-muted);
}

.telo-address-card-body .title {
    font-weight: bold;
    color: var(--telo-text);
}

.telo-address-card-body .gps {
    font-size: 0.8em;
    margin-top: 0.3rem;
}

.telo-address-card-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

/* Mapa interactivo y acciones asociadas */
.telo-map-container {
    height: 350px;
    border-radius: var(--telo-radius);
    border: 2px solid var(--telo-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    z-index: 1;
    overflow: hidden; /* Crucial para aplicar el border radius sobre los tiles de Leaflet */
    transition: border-color var(--telo-transition), box-shadow var(--telo-transition);
}

.telo-map-container:focus-within {
    border-color: var(--telo-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.telo-map-actions {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

/* Marcador (pin) premium personalizado y resets generales de marcadores */
.leaflet-marker-icon {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.telo-custom-pin-container {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.telo-custom-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--telo-primary);
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.telo-custom-pin i {
    color: #fff !important;
    font-size: 16px;
    margin-left: -2px;
    margin-top: 4px;
    transform: rotate(45deg); /* Contra-rotar para mantener el icono derecho */
}

.telo-custom-pin-container:hover .telo-custom-pin {
    transform: rotate(-45deg) scale(1.15) translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

/* Sombra dinámica del marcador */
.telo-custom-pin-shadow {
    background: rgba(0, 0, 0, 0.15) !important;
    border-radius: 50%;
    filter: blur(2px);
    transform: scaleY(0.3) translateY(12px) !important;
    opacity: 0.8;
}

/* Estilos refinados para los botones de zoom de Leaflet (Previene rotura por Pico CSS) */
.leaflet-bar {
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-bar a,
.leaflet-control-zoom a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background-color: var(--telo-card-bg, #fff) !important;
    color: var(--telo-text, #333) !important;
    text-decoration: none !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border-bottom: 1px solid var(--telo-border) !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
}

.leaflet-bar a:hover,
.leaflet-control-zoom a:hover {
    background-color: var(--telo-primary) !important;
    color: #fff !important;
    text-decoration: none !important;
}

.leaflet-bar a:last-child,
.leaflet-control-zoom a:last-child {
    border-bottom: none !important;
}

/* Spinner de carga */
.telo-loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--telo-text-muted);
}

/* Menú contextual de 3 puntos (Pico CSS dropdowns) */
.telo-menu-dropdown {
    position: relative;
    display: inline-block;
}

.telo-menu-dropdown details {
    margin: 0;
}

.telo-menu-dropdown details summary {
    list-style: none;
    cursor: pointer;
    padding: 0.45rem 0.95rem !important;
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    width: auto !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: var(--telo-transition, all 0.2s ease) !important;
}
.telo-menu-dropdown details[open] summary {
    margin-bottom: 0;
    background: #EDECFD !important;
    border-color: #3C51FA !important;
    color: #3C51FA !important;
}

.telo-menu-dropdown details summary:hover {
    background: #EDECFD !important;
    border-color: #3C51FA !important;
    color: #3C51FA !important;
}

.telo-menu-dropdown details summary::after {
    display: none;
}

.telo-menu-dropdown ul {
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 140px;
    padding: 0 !important;
    margin: 0.2rem 0 0 0 !important;
    list-style: none !important;
    list-style-type: none !important;
    width: 200px;
}

.telo-menu-dropdown ul li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    list-style-type: none !important;
}

.telo-menu-dropdown ul li::before {
    display: none !important;
    content: none !important;
}

.telo-menu-dropdown ul li a,
.telo-menu-dropdown ul li form input[type="submit"] {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.5rem 1rem;
    font-size: 0.85em;
    color: var(--telo-text);
    text-decoration: none;
    transition: var(--telo-transition);
    cursor: pointer;
    background: none;
    border: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.telo-menu-dropdown ul li form {
    margin: 0;
}

.telo-menu-dropdown ul li a:hover,
.telo-menu-dropdown ul li form input[type="submit"]:hover {
    background-color: var(--background-color-footer);
}

.telo-menu-dropdown ul li form input[type="submit"] {
    color: var(--telo-danger);
}

/* Grilla e iconos del selector de categorías */
.telo-cat-select-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.telo-cat-select-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--telo-border);
    border-radius: var(--telo-radius);
    padding: 1.2rem;
    cursor: pointer;
    transition: var(--telo-transition);
    background-color: var(--telo-card-bg);
}

.telo-cat-select-card:hover {
    border-color: var(--telo-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.telo-cat-select-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(var(--telo-primary-rgb, 0), 0.1);
    color: var(--telo-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.telo-cat-select-icon-wrapper img {
    width: 100%;
    height: 100%;
}

/* Barra de categorías en edición/creación */
.telo-cat-selected-bar {
    background-color: var(--telo-border);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.telo-cat-selected-icon-container {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--telo-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Slots selectores de fotos */
.telo-photo-picker-principal {
    border: 2px dashed var(--telo-primary);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: rgba(var(--telo-primary-rgb, 0), 0.02);
    transition: var(--telo-transition);
}

.telo-photo-picker-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telo-photo-picker-adicional {
    border: 1px dashed var(--telo-border);
    border-radius: 12px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-color: var(--telo-card-bg);
}

.telo-photo-picker-adicional img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.telo-photo-remove-btn {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    cursor: pointer !important;
    z-index: 99 !important;
    transition: transform 0.2s ease, background-color 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    padding: 0 !important;
}

.telo-photo-remove-btn.telo-hidden {
    display: none !important;
}

.telo-photo-remove-btn:hover {
    background-color: #dc2626 !important;
    transform: scale(1.15) !important;
}


@media (max-width: 992px) {
    .cmse-login-container {
        padding: 0 !important;
    }
    .cmse-login {
        padding: 1.5rem;
    }

    .cmse-login-input i {
        top: 38px !important;
    }

    .telo-account-card {
        padding: 0;
        background: none;
        border: none;
    }

    .telo-dashboard {
        margin-top: 0 !important;
    }
}

/* Switch de Venta Premium */
.telo-switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-top: 1.5rem;
    box-shadow: var(--telo-shadow);
}

.telo-switch-container label {
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    color: var(--telo-text);
}

.telo-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin: 0;
}

.telo-switch input {
    opacity: 0 !important;
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    z-index: 2 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: none !important;
    border: none !important;
}

.telo-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--telo-border);
    transition: .4s;
    border-radius: 34px;
}

.telo-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.telo-switch input:checked + .telo-slider {
    background-color: var(--telo-primary);
}

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

/* Quill Editor Custom Theme & Dark Mode */
.ql-toolbar.ql-snow {
    border-color: var(--telo-border) !important;
    background-color: var(--telo-card-bg) !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.ql-container.ql-snow {
    border-color: var(--telo-border) !important;
    background-color: var(--telo-card-bg) !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
    font-family: var(--font-family) !important;
    font-size: 0.95rem !important;
}

.ql-editor {
    color: var(--telo-text) !important;
    min-height: 150px !important;
}

.ql-editor.ql-blank::before {
    color: var(--telo-text-muted) !important;
    font-style: normal !important;
}

.ql-snow .ql-stroke {
    stroke: var(--telo-text) !important;
}

.ql-snow .ql-fill {
    fill: var(--telo-text) !important;
}

.ql-snow .ql-picker {
    color: var(--telo-text) !important;
}

.ql-snow .ql-picker-options {
    background-color: var(--telo-card-bg) !important;
    border-color: var(--telo-border) !important;
}

/* Resetear botones de Quill toolbar para evitar que Pico CSS los estilice como botones del sistema */
.ql-toolbar.ql-snow button {
    background: none !important;
    border: none !important;
    padding: 3px 5px !important;
    margin: 0 !important;
    width: 28px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.ql-toolbar.ql-snow button:hover {
    background-color: var(--telo-border) !important;
}

.ql-toolbar.ql-snow .ql-formats {
    margin-right: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Tarifas de Alquiler - Listado en creación/edición */
.telo-tarifa-item {
    background: color-mix(in srgb, var(--telo-border) 10%, transparent);
    border: 1px solid var(--telo-border);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.telo-tarifa-item .tarifa-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--telo-text);
}

.telo-tarifa-item .tarifa-info i {
    font-size: 1.2rem;
    color: var(--telo-primary);
}

.telo-tarifa-item .tarifa-info span {
    font-weight: 600;
}

.telo-tarifa-item .tarifa-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.telo-tarifa-item .tarifa-price {
    font-weight: 700;
    color: var(--telo-primary);
    font-size: 1.05rem;
}

.telo-tarifa-item .btn-eliminar-tarifa {
    background: none !important;
    border: none !important;
    color: var(--telo-danger, #ff4d4d) !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

.telo-tarifa-item .btn-eliminar-tarifa:hover {
    color: #ff3333 !important;
    background: none !important;
}

/* Estilo para los botones circulares "+" */
.btn-cyan-add {
    background-color: var(--telo-primary) !important;
    border-color: var(--telo-primary) !important;
    color: white !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    box-shadow: 0 4px 6px rgba(0, 229, 188, 0.15) !important;
}

.btn-cyan-add:hover {
    background-color: var(--telo-primary-hover) !important;
    border-color: var(--telo-primary-hover) !important;
    transform: translateY(-1px) !important;
}

.btn-cyan-add:active {
    transform: translateY(1px) !important;
}

/* Detalle de tarifas en el Modal */
.telo-detail-tarifa-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--telo-border);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.telo-detail-tarifa-item .tarifa-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--telo-text);
}

.telo-detail-tarifa-item .tarifa-info i {
    font-size: 1.1rem;
    color: var(--telo-primary);
}

.telo-detail-tarifa-item .tarifa-info span {
    font-weight: 600;
    font-size: 0.9rem;
}

.telo-detail-tarifa-item .tarifa-price {
    font-weight: 700;
    color: var(--telo-primary);
    font-size: 0.95rem;
}

/*---------------------------------------------------------------------------------------*/
/*------------------------------ OPERACION DE ALQUILER ----------------------------------*/
/*---------------------------------------------------------------------------------------*/
dialog.telo-modal {
    background-color: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(5px);
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 99999 !important;
}

dialog[open].telo-modal,
dialog[open].telo-modal-detalle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

dialog.telo-modal article.telo-modal-card {
    margin: auto !important;
    padding: 0;
    width: 95%;
    max-width: 650px !important;
    border-radius: var(--telo-radius) !important;
    background-color: var(--telo-card-bg) !important;
    border: 1px solid var(--telo-border) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
}

/* Header nativo móvil */
.telo-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: var(--telo-card-bg);
    border-bottom: 1px solid var(--telo-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.telo-booking-back {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    margin-left: 10px;
    width: auto;
}

.telo-booking-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 !important;
    text-align: center;
}

/* Contenido scrolleable */
.telo-modal-scrollable-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-top: 0;
    -webkit-overflow-scrolling: touch;
}

/* Tarjeta del Producto */
.telo-booking-product-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    margin-bottom: 1.5rem;
    align-items: center;
}

.telo-booking-product-card img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    object-fit: cover;
    background-color: #1a202c;
}

.telo-booking-product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.telo-booking-product-card .product-info h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 !important;
}

.telo-booking-product-card .product-price-row {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--telo-primary);
}

.telo-booking-product-card .product-limits {
    font-size: 0.78rem;
    color: var(--telo-text-muted);
}

/* Selector de Tarifas Segmentado (Button Group) */
.telo-segmented-rates {
    display: flex;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid var(--telo-border);
    border-radius: 25px;
    padding: 3px;
    gap: 2px;
}

.telo-segment-btn {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: var(--telo-text-muted) !important;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    margin: 0 !important;
}

.telo-segment-btn.active {
    background-color: var(--telo-primary) !important;
    color: #000 !important;
}

/* Layout Grid de Reserva (Calendario + Detalles) */
.telo-booking-body-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
    #modal-reservar-producto .telo-modal-card {
        max-width: 960px !important;
        width: 90% !important;
    }
    
    .telo-booking-body-grid {
        display: grid;
        grid-template-columns: 340px 1fr;
        gap: 1.25rem;
        align-items: stretch;
    }
    
    .telo-booking-calendar-section {
        justify-content: space-between;
    }
    
    .telo-booking-details-box {
        height: 100%;
        justify-content: flex-start;
    }
}

/* Contenedor del Calendario Inline */
.telo-booking-calendar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    border-radius: 12px;
}

.telo-inline-calendar {
    width: 100%;
}

.telo-booking-calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--telo-text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.selected {
    background-color: var(--telo-primary);
}

.legend-dot.today {
    border: 2px solid var(--telo-primary);
    background-color: transparent;
}

.legend-dot.rented {
    background-color: rgba(239, 68, 68, 0.5);
    border: 1px solid rgba(239, 68, 68, 0.8);
}

/* Detalles del Alquiler */
.telo-booking-details-box {
    background-color: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.telo-booking-details-box .box-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.2rem 0 !important;
}

.detail-row {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-icon.icon-retiro {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--telo-primary);
}

.detail-icon.icon-devolucion {
    background-color: rgba(255, 171, 0, 0.1);
    color: #ffab00;
}

.detail-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--telo-text-muted);
}

.detail-label strong {
    color: #fff;
    font-weight: 600;
}

.detail-sub {
    font-size: 0.78rem;
    color: var(--telo-text-muted);
}

/* Footer Summary Fijo/Pegajoso en Tarjeta */
.telo-booking-footer {
    background-color: var(--telo-card-bg);
    border-top: 1px solid var(--telo-border);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 10;
    margin-top: 10px;
}

.telo-booking-footer .summary-text-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.telo-booking-footer .summary-left {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.telo-booking-footer #res-summary-days-count {
    font-size: 0.8rem;
    color: var(--telo-text-muted);
}

.telo-booking-footer .total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.telo-booking-footer .total-amount {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--telo-primary) !important;
}

.telo-booking-confirm-btn {
    background-color: var(--telo-primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.8rem;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: background-color 0.2s ease;
}

.telo-booking-confirm-btn:hover {
    background-color: #00c853 !important;
}

/* Flatpickr Inline Adaptations */
.telo-booking-calendar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.flatpickr-innerContainer {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.flatpickr-rContainer {
    width: 100% !important;
    max-width: 308px !important;
}

.flatpickr-weekdays {
    width: 100% !important;
    display: flex !important;
    justify-content: space-around !important;
}

.flatpickr-days {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.dayContainer {
    width: 308px !important;
    min-width: 308px !important;
    max-width: 308px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.flatpickr-day {
    width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    margin: 3px 3px !important;
    border-radius: 50% !important;
    font-size: 0.88rem !important;
}

/* Personalización de Flatpickr (Modo Claro Permanente) */
.flatpickr-calendar {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid var(--telo-border, #EDECFD) !important;
    border-radius: 18px !important;
    box-shadow: 0 15px 35px rgba(0, 8, 36, 0.14) !important;
    color: var(--telo-dark, #000824) !important;
    padding: 0.6rem !important;
    z-index: 99999 !important;
}

.flatpickr-calendar.inline {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    border-bottom-color: #FFFFFF !important;
}

.flatpickr-months {
    background: #FFFFFF !important;
}

.flatpickr-months .flatpickr-month {
    color: var(--telo-dark, #000824) !important;
    fill: var(--telo-dark, #000824) !important;
    height: 44px !important;
    width: 100% !important;
    left: 0 !important;
}

.flatpickr-months .flatpickr-month .numInputWrapper input {
    width: 120px;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #FFFFFF !important;
    color: var(--telo-dark, #000824) !important;
    font-weight: 700 !important;
}

.flatpickr-current-month input.cur-year {
    color: var(--telo-dark, #000824) !important;
    font-weight: 700 !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: var(--telo-dark, #000824) !important;
    color: var(--telo-dark, #000824) !important;
    padding: 10px !important;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
    fill: var(--telo-dark, #000824) !important;
}

.flatpickr-weekdays {
    background: #FFFFFF !important;
}

.flatpickr-weekday,
span.flatpickr-weekday {
    color: var(--telo-text-muted, #5a657c) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    padding: 4px 0 !important;
}

.flatpickr-days {
    background: #FFFFFF !important;
}

.flatpickr-day {
    color: var(--telo-dark, #000824) !important;
    font-weight: 600 !important;
    border-radius: 50% !important;
    transition: all 0.15s ease !important;
}

.flatpickr-day.disabled, 
.flatpickr-day.disabled:hover, 
.flatpickr-day.flatpickr-disabled {
    color: rgba(90, 101, 124, 0.35) !important;
    background: transparent !important;
}

/* Días alquilados (bloqueados con tono opaco destacado y tachado) */
.flatpickr-day.telo-day-rented, 
.flatpickr-day.telo-day-rented:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    text-decoration: line-through !important;
    border: 1px dashed rgba(239, 68, 68, 0.4) !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover {
    background: var(--telo-primary, #3C51FA) !important;
    border-color: var(--telo-primary, #3C51FA) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

.flatpickr-day.inRange {
    background: var(--telo-lavender, #EDECFD) !important;
    border-color: transparent !important;
    color: var(--telo-primary, #3C51FA) !important;
    box-shadow: none !important;
}

.flatpickr-day:hover {
    background: var(--telo-lavender, #EDECFD) !important;
    color: var(--telo-primary, #3C51FA) !important;
}

/* ==========================================================================
   ESTILOS DE SCROLLBAR FINOS Y DISCRETOS PARA MODALES (POCO NOTORIO)
   ========================================================================== */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 230, 118, 0.45);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* Bloquear scroll en el documento de fondo cuando un modal esté abierto */
html:has(dialog[open]),
body:has(dialog[open]) {
    overflow: hidden !important;
}

/* ==========================================================================
   DISEÑO MODAL SOLICITAR ALQUILER V2 (MODO CLARO/OSCURO Y FONDO SÓLIDO)
   ========================================================================== */
dialog:not([open]) {
    display: none !important;
}

dialog.telo-modal-detalle,
dialog#modal-reservar-producto.telo-modal-detalle {
    background-color: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(5px);
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    overflow: hidden !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
}

dialog[open],
dialog[open].telo-modal,
dialog[open].telo-modal-detalle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#modal-reservar-producto .telo-modal-booking-card {
    margin: auto !important;
    padding: 0;
    width: 90%;
    max-width: 580px;
    border-radius: var(--telo-radius, 16px) !important;
    background-color: var(--telo-card-bg, #0f1822) !important;
    border: 1px solid var(--telo-border, rgba(255, 255, 255, 0.08)) !important;
    overflow: hidden !important;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 92vh;
    max-height: 850px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Adaptación para pantallas de celular (100% de pantalla) */
@media screen and (max-width: 768px) {
    dialog#modal-reservar-producto.telo-modal-detalle,
    dialog#modal-pago-alquiler.telo-modal-detalle,
    dialog.telo-modal-detalle {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        border: none !important;
        top: 0 !important;
        left: 0 !important;
    }
    .telo-modal-booking-card,
    #modal-reservar-producto .telo-modal-booking-card,
    #modal-pago-alquiler .telo-modal-booking-card {
        margin: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
}

.telo-booking-scroll-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1.25rem 1.5rem 1.25rem !important;
}

/* Header nativo del modal */
.telo-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.5rem 1.25rem;
    flex-shrink: 0;
}

.telo-booking-header .telo-booking-back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.telo-booking-header .telo-booking-back:hover {
    background: rgba(255, 255, 255, 0.16);
}

.telo-booking-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    color: inherit;
}

/* Tarjeta del producto compacta */
.telo-booking-product-card-v2 {
    background: #162432;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.telo-booking-product-card-v2 img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    background-color: #0f1822;
    flex-shrink: 0;
}

.telo-booking-product-card-v2 .product-title-v2 {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.3;
}

/* Tarjetas de Control / Campos */
.telo-booking-field-card {
    background: #162432;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.telo-booking-field-card .field-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 230, 118, 0.4);
    color: var(--pico-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.telo-booking-field-card .field-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.telo-booking-field-card .field-label {
    font-size: 0.78rem;
    color: #8c9dae;
    margin-bottom: 2px;
    display: block;
}

.telo-select-periodo {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300e676' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.85rem center !important;
    background-size: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    padding: 0.55rem 2.4rem 0.55rem 0.85rem !important;
    margin: 4px 0 0 0 !important;
    width: 100% !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: none !important;
}

.telo-select-periodo:hover,
.telo-select-periodo:focus {
    border-color: #00e676 !important;
    background-color: rgba(0, 230, 118, 0.05) !important;
}

.telo-select-periodo option {
    background-color: #162432 !important;
    color: #ffffff !important;
    padding: 0.5rem !important;
}

.telo-booking-field-card .field-subtext {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Controles de Contador (- N +) alineados */
.field-counter-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    flex-shrink: 0;
}

.telo-qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    margin: 0;
    line-height: 1;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.telo-qty-btn.plus {
    border-color: #00e676 !important;
    color: #00e676 !important;
}

.telo-qty-btn:hover {
    background: rgba(0, 230, 118, 0.1);
    border-color: #00e676;
}

.telo-qty-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    min-width: 20px;
    text-align: center;
    line-height: 1;
    display: inline-block;
}

/* Título de sección "Marcar desde" */
.telo-booking-section-title {
    color: #ffffff;
    font-size: 1.05rem;
}

/* Banner de Advertencia de Disponibilidad sobre el calendario */
.telo-booking-error-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    padding: 0.65rem 0.9rem;
    color: #ef4444;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.telo-booking-error-banner i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Tarjeta de Detalles del Alquiler (Retiro y Devolución) */
.telo-booking-details-box-v2 {
    background: #162432;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.85rem;
}

.detail-row-v2 {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.detail-row-v2:last-child {
    margin-bottom: 0;
}

.detail-icon-box-v2 {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.detail-icon-box-v2.icon-retiro {
    background: rgba(0, 230, 118, 0.12);
    color: var(--pico-primary);
}

.detail-icon-box-v2.icon-devolucion {
    background: rgba(255, 183, 3, 0.15);
    color: #ffb703;
}

.detail-text-v2 {
    display: flex;
    flex-direction: column;
}

.detail-label-v2 {
    font-size: 0.95rem;
    color: #8c9dae;
}

.detail-label-v2 strong {
    color: #ffffff;
    font-weight: 700;
}

.detail-sub-v2 {
    font-size: 0.82rem;
    color: #8c9dae;
    margin-top: 2px;
}

.summary-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding: 10px;
}

/* Footer pegajoso V2 */
.telo-booking-footer-v2 {
    background: #0f1822;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 15px 20px calc(15px + env(safe-area-inset-bottom, 0px)) 20px;
    flex-shrink: 0;
    margin-top: auto;
}

@media (max-width: 768px) {
    .telo-booking-footer-v2 {
        padding-top: 12px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        padding-bottom: max(24px, calc(15px + env(safe-area-inset-bottom, 24px))) !important;
    }
}

.telo-booking-confirm-btn-v2 {
    width: 100%;
    height: 50px;
    background: var(--pico-primary) !important;
    border: none;
    border-radius: 14px;
    color: #fff !important;
    font-size: 1.05rem;
    margin-bottom: 0 !important;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, opacity 0.2s ease;
    opacity: 1;
}

.telo-booking-confirm-btn-v2:hover {
    background: var(--pico-primary-hover) !important;
}

.telo-booking-confirm-btn-v2:disabled {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
}

.total-amount-v2 {
    font-size: 1.5em !important;
    color: var(--pico-secondary) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* ==========================================================================
   EL CALENDARIO SE MANTIENE SIEMPRE OSCURO (#162432) CON TEXTO BLANCO
   ========================================================================== */
.telo-booking-calendar-section {
    background: #162432 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 20px !important;
    padding: 0.85rem 0.5rem !important;
}

.telo-booking-calendar-section .flatpickr-calendar,
.telo-booking-calendar-section .flatpickr-months .flatpickr-month,
.telo-booking-calendar-section .flatpickr-current-month,
.telo-booking-calendar-section .flatpickr-current-month .flatpickr-monthDropdown-months,
.telo-booking-calendar-section .flatpickr-current-month input.cur-year,
.telo-booking-calendar-section .flatpickr-day {
    color: #ffffff !important;
}

.telo-booking-calendar-section .flatpickr-months .flatpickr-prev-month svg,
.telo-booking-calendar-section .flatpickr-months .flatpickr-next-month svg {
    fill: #ffffff !important;
}

.telo-booking-calendar-section span.flatpickr-weekday {
    color: rgba(255, 255, 255, 0.7) !important;
}

.telo-booking-calendar-section .flatpickr-day.disabled,
.telo-booking-calendar-section .flatpickr-day.flatpickr-disabled {
    color: rgba(255, 255, 255, 0.3) !important;
    background: transparent !important;
}

.telo-map-container-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--telo-border, rgba(255, 255, 255, 0.1));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: height 0.3s ease, border-radius 0.3s ease;
}

/* Botón flotante de alta gama estilo Airbnb / Booking sobre el mapa */
.telo-map-expand-floating-btn {
    display: none;
    position: absolute;
    top: 7px;
    right: 10px;
    z-index: 400;
    background: rgba(15, 23, 42, 0.82);
    color: #ffffff !important;
    padding: .6em 1em;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    align-items: center;
    gap: 0.45rem;
}

.telo-map-expand-floating-btn:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(0, 230, 118, 0.5);
    transform: scale(1.03);
}

/* Estado del Mapa Expandido a Pantalla Completa */
.telo-map-container-wrapper.expanded {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.telo-map-container-wrapper.expanded #det-mapa {
    height: 100vh !important;
    border-radius: 0 !important;
}

/* Botón flotante para contraer cuando el mapa está expandido */
.telo-map-compress-overlay-btn {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff !important;
    padding: 0.6rem 1.15rem;
    border-radius: 24px;
    font-size: 0.8em;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: background 0.2s ease, transform 0.2s ease;
    align-items: center;
    gap: 0.5rem;
}

.telo-map-compress-overlay-btn:hover {
    background: #0f172a;
    transform: scale(1.04);
}

.telo-map-compress-overlay-btn i {
    color: #00e676;
}

/* ==========================================================================
   Variables de Tema para Modal de Reserva
   ========================================================================== */
:root {
    --telo-booking-card-bg: var(--telo-card-bg, #1e293b);
    --telo-booking-card-color: var(--telo-text, #f8fafc);
    --telo-booking-card-border: var(--telo-border, rgba(255, 255, 255, 0.1));
    --telo-booking-card-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);

    --telo-booking-box-bg: rgba(255, 255, 255, 0.04);
    --telo-booking-box-border: rgba(255, 255, 255, 0.08);

    --telo-booking-footer-bg: var(--telo-card-bg, #1e293b);
    --telo-booking-footer-border: rgba(255, 255, 255, 0.1);

    --telo-booking-text-title: #f8fafc;
    --telo-booking-text-muted: #94a3b8;

    --telo-booking-select-bg: #1e293b;
    --telo-booking-select-border: rgba(255, 255, 255, 0.15);
    --telo-booking-select-color: #f8fafc;
    --telo-booking-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f8fafc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    --telo-booking-btn-border: rgba(255, 255, 255, 0.15);
    --telo-booking-btn-color: #f8fafc;
    --telo-booking-back-bg: rgba(255, 255, 255, 0.08);
}

:root:not([data-theme="dark"]),
[data-theme="light"],
body.light,
body.light-mode,
html.light {
    --telo-booking-card-bg: #ffffff;
    --telo-booking-card-color: #0f172a;
    --telo-booking-card-border: #cbd5e1;
    --telo-booking-card-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);

    --telo-booking-box-bg: #f8fafc;
    --telo-booking-box-border: #e2e8f0;

    --telo-booking-footer-bg: #ffffff;
    --telo-booking-footer-border: #e2e8f0;

    --telo-booking-text-title: #0f172a;
    --telo-booking-text-muted: #475569;

    --telo-booking-select-bg: #ffffff;
    --telo-booking-select-border: #cbd5e1;
    --telo-booking-select-color: #0f172a;
    --telo-booking-select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    --telo-booking-btn-border: #cbd5e1;
    --telo-booking-btn-color: #0f172a;
    --telo-booking-back-bg: #e2e8f0;
}

.telo-modal-booking-card {
    background: var(--telo-booking-card-bg);
    color: var(--telo-booking-card-color);
    border-color: var(--telo-booking-card-border);
    box-shadow: var(--telo-booking-card-shadow);
}

.telo-booking-product-card-v2,
.telo-booking-field-card,
.telo-booking-details-box-v2 {
    background: var(--telo-booking-box-bg);
    border-color: var(--telo-booking-box-border);
}

.telo-booking-footer-v2 {
    background: var(--telo-booking-footer-bg);
    border-top-color: var(--telo-booking-footer-border);
}

.product-title-v2,
.field-subtext,
.telo-qty-val,
.telo-booking-section-title,
.total-label-v2,
.detail-label-v2 strong,
.telo-booking-title {
    color: var(--telo-booking-text-title);
}

.field-label,
.detail-label-v2,
.detail-sub-v2,
.summary-days-text {
    color: var(--telo-booking-text-muted);
}

.telo-select-periodo {
    background-color: var(--telo-booking-select-bg);
    border-color: var(--telo-booking-select-border);
    color: var(--telo-booking-select-color);
    background-image: var(--telo-booking-select-arrow);
}

.telo-select-periodo option {
    background: var(--telo-booking-select-bg);
    color: var(--telo-booking-select-color);
}

.telo-qty-btn {
    border-color: var(--telo-booking-btn-border);
    color: var(--telo-booking-btn-color);
}

.telo-booking-header .telo-booking-back {
    background: var(--telo-booking-back-bg);
    color: var(--telo-booking-text-title);
}

/* ==========================================
/* ==========================================
   ESTILOS DE PREGUNTAS Y RESPUESTAS (TELOALQUILO)
   ========================================== */

.telo-preguntas-main-card {
    background: var(--telo-card-bg);
    border: 1px solid var(--telo-border);
    border-radius: var(--telo-radius);
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--telo-shadow);
}

.telo-preguntas-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    padding-bottom: 0.2rem;
}

.telo-preguntas-card-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--telo-text);
}

.telo-preguntas-card-title i {
    color: var(--telo-primary);
    font-size: 1.15rem;
}

.telo-preguntas-chevron {
    color: var(--telo-text-muted);
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.telo-preguntas-card-body {
    margin-top: 0.75rem;
}

.telo-preguntas-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    background: var(--background-color);
    border: 1px dashed var(--telo-border);
    border-radius: 10px;
    text-align: center;
    color: var(--telo-text-muted);
    font-size: 0.88rem;
}

.telo-preguntas-empty i {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--telo-primary);
}

.telo-preguntas-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.telo-pregunta-card {
    padding: 0.4rem 0.2rem;
}

.telo-pregunta-texto {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--telo-text);
    line-height: 1.4;
}

.telo-respuesta-box {
    margin-top: 0.45rem;
    margin-left: 0.65rem;
    padding: 0.55rem 0.85rem;
    background: var(--background-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: 1px solid var(--telo-border);
}

.telo-respuesta-icon {
    color: var(--telo-primary);
    font-size: 0.9rem;
    transform: rotate(90deg);
    flex-shrink: 0;
}

.telo-respuesta-texto {
    font-size: 0.85em;
    color: var(--telo-text-muted);
    flex: 1;
}

.telo-respuesta-edit-btn {
    display: none !important;
}

.telo-respuesta-form-container {
    margin-top: 0.5rem;
    margin-left: 0.65rem;
}

.telo-respuesta-input-group {
    display: flex;
    align-items: center;
    background: var(--background-color);
    border: 1px solid var(--telo-border);
    border-radius: var(--pico-border-radius, 8px);
    padding: 0.2rem 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.telo-respuesta-input-group:focus-within {
    border-color: var(--telo-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--telo-primary) 20%, transparent);
}

.telo-respuesta-input-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--telo-text);
    font-size: 0.85rem;
    font-family: inherit;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0 !important;
}

.telo-respuesta-input-field::placeholder {
    color: var(--telo-text-muted);
}

.telo-respuesta-send-btn {
    background: transparent;
    border: none;
    color: var(--telo-primary);
    font-size: 1rem;
    padding: 0.35rem 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, color 0.15s ease;
    margin-bottom: 0 !important;
}

.telo-respuesta-send-btn:hover {
    color: var(--telo-primary-hover);
    transform: scale(1.1);
}

.telo-respuesta-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.telo-pregunta-input-container {
    display: flex;
    align-items: center;
    background: var(--background-color);
    border: 1px solid var(--telo-border);
    border-radius: var(--pico-border-radius);
    margin-top: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.telo-pregunta-input-container:focus-within {
    border-color: var(--telo-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--telo-primary) 20%, transparent);
}

.telo-pregunta-input-field {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--telo-text);
    font-size: 0.9rem;
    font-family: inherit;
    margin-bottom: 0 !important;
}

.telo-pregunta-input-field::placeholder {
    color: var(--telo-text-muted);
}

.telo-pregunta-send-btn {
    background: transparent;
    border: none;
    color: var(--telo-primary);
    font-size: 1.1rem;
    padding: 0.45rem 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, color 0.15s ease;
    margin-bottom: 0 !important;
}

.telo-pregunta-send-btn:hover {
    color: var(--telo-primary-hover);
    transform: scale(1.1);
}

.telo-pregunta-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   Footer Principal (100% Modo Claro)
   ========================================================================== */

footer.telo-main-footer,
.telo-main-footer {
    background-color: #FFFFFF !important;
    background: #FFFFFF !important;
    border-top: 1px solid var(--telo-border, #EDECFD) !important;
    color: #5a657c !important;
    margin-top: 4rem;
    padding: 3.5rem 2rem 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.telo-footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
    box-sizing: border-box;
}

.telo-footer-brand {
    flex: 1;
    min-width: 260px;
    max-width: 380px;
}

.telo-footer-brand-logo {
    margin-bottom: 0.85rem;
    display: inline-flex;
}

.telo-footer-tagline {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #5a657c !important;
    margin: 0;
}

.telo-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.telo-footer-col {
    min-width: 140px;
}

.telo-footer-col h4 {
    color: var(--telo-dark, #000824) !important;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.telo-footer-col a {
    display: block;
    color: #5a657c !important;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    transition: color 0.15s ease, transform 0.15s ease;
}

.telo-footer-col a:hover {
    color: var(--telo-primary, #3C51FA) !important;
    transform: translateX(2px);
}

.telo-footer-bottom {
    background-color: #F8F8FD !important;
    background: #F8F8FD !important;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.88rem;
    color: #5a657c !important;
    border-top: 1px solid var(--telo-border, #EDECFD) !important;
    margin-left: -2rem;
    margin-right: -2rem;
    box-sizing: border-box;
}

.telo-footer-bottom .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.telo-footer-bottom p {
    color: #5a657c !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    footer.telo-main-footer,
    .telo-main-footer {
        padding: 2.5rem 1rem 0 1rem;
        margin-top: 2.5rem;
    }
    .telo-footer-container {
        padding: 0 0.5rem 2rem 0.5rem;
        gap: 2rem;
    }
    .telo-footer-links {
        gap: 2rem;
        width: 100%;
        justify-content: space-between;
    }
    .telo-footer-bottom {
        margin-left: -1rem;
        margin-right: -1rem;
        padding: 1.2rem 1rem;
    }
}

/* ==========================================================================
   Logo de Marca Global (teloalquilo.ar) & Pantallas de Autenticación
   ========================================================================== */

.telo-brand-logo {
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: baseline !important;
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    color: var(--telo-dark, #000824) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    transition: opacity 0.2s ease !important;
}

.telo-brand-logo:hover {
    opacity: 0.9 !important;
}

.telo-brand-logo .telo-logo-main {
    color: var(--telo-dark, #000824) !important;
    font-weight: 800 !important;
}

.telo-brand-logo .telo-logo-accent {
    color: var(--telo-primary, #3C51FA) !important;
    font-weight: 800 !important;
}

.telo-brand-logo .telo-logo-dot {
    color: var(--telo-primary, #3C51FA) !important;
    font-size: 0.88em !important;
    font-weight: 800 !important;
}

.telo-auth-brand-header .telo-brand-logo {
    font-size: 2.25rem !important;
    letter-spacing: -0.035em !important;
}

.telo-auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(180deg, #EDECFD 0%, #FDFDFD 100%);
    position: relative;
    overflow-x: hidden;
    box-sizing: border-box;
}

.telo-auth-brand-header {
    margin-bottom: 1.8rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

.telo-auth-modern-card {
    background: #FFFFFF !important;
    border-radius: 28px !important;
    padding: 2.5rem 2.2rem !important;
    width: 100% !important;
    max-width: 430px !important;
    box-shadow: 0 16px 45px rgba(0, 8, 36, 0.07) !important;
    border: 1px solid #EDECFD !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
}

.telo-auth-hero-title {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    color: var(--telo-dark, #000824) !important;
    margin: 0 0 1.6rem 0 !important;
    letter-spacing: -0.03em !important;
}

.telo-auth-hero-title .highlight {
    color: var(--telo-primary, #3C51FA) !important;
}

.telo-auth-step-header {
    text-align: center;
    margin-bottom: 1.2rem;
}

.telo-auth-step-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--telo-primary, #3C51FA);
    display: block;
    margin-bottom: 6px;
}

.telo-auth-step-bar {
    width: 85px;
    height: 3.5px;
    background: #EDECFD;
    border-radius: 9999px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.telo-auth-step-fill {
    height: 100%;
    background: var(--telo-primary, #3C51FA);
    border-radius: 9999px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.telo-auth-input-pill {
    background: #FFFFFF;
    border: 1.5px solid var(--telo-primary, #3C51FA);
    border-radius: 9999px;
    padding: 0.65rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.95rem;
    transition: box-shadow 0.2s ease;
}

.telo-auth-input-pill:focus-within {
    box-shadow: 0 0 0 3px rgba(60, 81, 250, 0.2);
}

.telo-auth-input-pill input {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--telo-dark, #000824) !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

.telo-auth-input-pill input::placeholder {
    color: #8c9eae !important;
    font-weight: 400 !important;
}

.telo-auth-input-icon {
    color: var(--telo-primary, #3C51FA);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.telo-auth-eye-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    color: var(--telo-primary, #3C51FA);
    cursor: pointer;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.telo-auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.4rem 0 1.4rem 0;
}

.telo-auth-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--telo-dark, #000824);
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.telo-auth-checkbox-label input[type="checkbox"] {
    accent-color: var(--telo-primary, #3C51FA);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.telo-fingerprint-icon {
    color: var(--telo-dark, #000824);
    font-size: 1.35rem;
    opacity: 0.85;
}

.telo-btn-auth-primary {
    background: var(--telo-primary, #3C51FA) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    width: 100% !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(60, 81, 250, 0.3) !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
}

.telo-btn-auth-primary:hover {
    background: var(--telo-primary-hover, #2b3fd4) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(60, 81, 250, 0.4) !important;
}

.telo-btn-auth-secondary {
    background: #FFFFFF !important;
    color: var(--telo-primary, #3C51FA) !important;
    border: 1.5px solid var(--telo-primary, #3C51FA) !important;
    border-radius: 9999px !important;
    padding: 0.8rem 1.4rem !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
    display: block !important;
}

.telo-btn-auth-secondary:hover {
    background: var(--telo-lavender, #EDECFD) !important;
}

.telo-auth-forgot-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #8c9eae !important;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.telo-auth-forgot-link:hover {
    color: var(--telo-primary, #3C51FA) !important;
}

.telo-auth-bottom-action {
    text-align: center;
    margin-top: 1.6rem;
    position: relative;
    z-index: 5;
}

.telo-auth-bottom-link {
    color: var(--telo-primary, #3C51FA) !important;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.telo-auth-bottom-link:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.telo-auth-switch-text {
    text-align: center;
    margin: 1.4rem 0 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--telo-dark, #000824);
}

.telo-auth-switch-text a {
    color: var(--telo-primary, #3C51FA) !important;
    font-weight: 700;
    text-decoration: none;
}

.telo-auth-switch-text a:hover {
    text-decoration: underline;
}

/* Redes Sociales en Registro */
.telo-auth-social-section {
    text-align: center;
    margin: 1.2rem 0 1.2rem 0;
}

.telo-auth-social-label {
    font-size: 0.82rem;
    color: #8c9eae;
    margin-bottom: 0.8rem;
    display: block;
}

.telo-auth-social-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.telo-auth-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--telo-border, #EDECFD);
    box-shadow: 0 4px 10px rgba(0, 8, 36, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.telo-auth-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 8, 36, 0.1);
}

.telo-auth-social-btn.google i,
.telo-auth-social-btn.google svg {
    width: 20px;
    height: 20px;
}

.telo-auth-social-btn.facebook {
    color: #1877F2;
    font-size: 1.35rem;
}

.telo-auth-buttons-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.telo-auth-buttons-row button {
    flex: 1;
}

/* Decoración Visual 3D en la esquina inferior derecha */
.telo-auth-decor-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
    width: 280px;
    height: 240px;
}

.telo-auth-decor-circle {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--telo-primary, #3C51FA);
    z-index: 1;
}

.telo-auth-decor-img {
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 240px;
    height: auto;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0, 8, 36, 0.2));
}

@media (max-width: 768px) {
    .telo-auth-hero-title {
        font-size: 1.9rem !important;
    }
    .telo-auth-modern-card {
        padding: 2rem 1.5rem !important;
        border-radius: 24px !important;
    }
    .telo-auth-decor-wrapper {
        width: 180px;
        height: 160px;
        opacity: 0.65;
    }
    .telo-auth-decor-circle {
        width: 180px;
        height: 180px;
        bottom: -40px;
        right: -40px;
    }
    .telo-auth-decor-img {
        width: 160px;
    }
}