.card-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08) !important;
}

.card-step:hover .ti-circle-check-filled {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

.text-justify {
    text-align: justify !important;
}

.calendar-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.icon-box {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
}

.support-chat-responsive {
    bottom: 85px;
    right: 20px;
    width: 420px;
    height: 600px;
}

#chat-history {
    font-size: 1.1rem !important;
}

#chat-history .suggestion-link {
    font-size: 1rem !important;
    padding: 6px 12px !important;
}

#chat-history a.btn {
    font-size: 1rem !important;
    padding: 8px 16px !important;
}

.support-bubble-responsive {
    height: 54px;
    padding: 10px 20px;
    border-radius: 50px !important;
}

/* --- ADAPTACIÓN A MÓVILES --- */
@media (max-width: 575.98px) {

    /* Panel a Pantalla Completa */
    .support-chat-responsive {
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        /* Usar 100dvh previene problemas con la barra de navegación del navegador móvil */
        height: 100dvh !important;
        border-radius: 0 !important;
        z-index: 1050 !important;
    }

    #chat-history {
        flex: 1 1 auto;
        height: auto !important;
        font-size: 1.15rem !important;
    }

    /* Botón flotante centrado abajo */
    .support-bubble-responsive {
        z-index: 1000 !important;
        display: flex !important;
        width: 56px !important;
        height: 56px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        bottom: 20px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        /* Centra el botón exactamente en medio */
    }
}

.bg-landing {
    background: radial-gradient(circle at 78% 38%, #41336f 0, transparent 32%), linear-gradient(130deg, #101021, #18152b 65%, #1e1834);
}

.text-primary-2 {
    --theme-text-opacity: 1;
    color: #50108D !important;
}

[data-bs-theme="dark"] .text-primary-2 {
    --theme-text-opacity: 1;
    color: rgba(var(--theme-primary-rgb), var(--theme-text-opacity)) !important;
}

.text-secondary-2 {
    --theme-text-opacity: 1;
    color: #0093ff !important;
}

.text-success-2 {
    --theme-text-opacity: 1;
    color: #009341 !important;
}

.text-info-emphasis-2 {
    --theme-text-opacity: 1;
    color: #327068 !important;
}

.card-fullscreen-mode {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1056; /* Por encima del fondo oscuro de la modal de Bootstrap */
    margin: 0 !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
}

.card-fullscreen-mode .card-body {
    max-height: calc(100vh - 80px) !important;
    flex: 1 1 auto;
}