/* ================= WHATSAPP SUPPORT STANDALONE ================= */
.wa_support_standalone.wcs_fixed_right {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10001;
    font-family: 'Poppins', sans-serif;
}

.wcs_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    cursor: pointer;
    border-radius: 34px;
    padding: 0;
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
    border: none;
    width: 72px;
    height: 72px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.wcs_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wcs_button:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.45);
}

.wcs_button:hover::before {
    opacity: 1;
}

.wcs_button img {
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

/* Popup de WhatsApp */
.wcs_popup {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 110px;
    width: 420px;
    background: #fff;
    color: #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    z-index: 10002;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 580px;
    height: auto;
}

.wcs_popup.open {
    display: flex;
    flex-direction: column;
    animation: slideUpPopup 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpPopup {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wcs_popup_close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    opacity: 0.9;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wcs_popup_close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

.wcs_popup_header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    position: relative;
    flex-shrink: 0;
}

.wcs_popup_header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 28px;
    width: 45px;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

.wcs_popup_header img {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.wcs_popup_header_text {
    flex: 1;
}

.wcs_popup_header_title {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.3px;
    margin: 0 0 6px 0;
}

.wcs_popup_header_description {
    font-size: 0.9rem;
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
}

/* Lista de contactos */
.wcs_popup_person_container {
    flex: 1;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f9f9f9;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #25D366 #f1f1f1;
}

.wcs_popup_person_container::-webkit-scrollbar {
    width: 8px;
}

.wcs_popup_person_container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.wcs_popup_person_container::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #25D366, #128C7E);
    border-radius: 4px;
}

.wcs_popup_person_container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #128C7E, #075E54);
}

.wcs_popup_person {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #fff;
    position: relative;
    overflow: hidden;
    min-width: 0;
    flex-shrink: 0;
}

.wcs_popup_person::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #25D366;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wcs_popup_person:hover {
    background: #f8f9fa;
}

.wcs_popup_person:hover::before {
    opacity: 1;
}

.wcs_popup_person:last-child {
    border-bottom: none;
}

.wcs_popup_person_img {
    position: relative;
    flex-shrink: 0;
}

.wcs_popup_person_img img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.wcs_popup_person:hover .wcs_popup_person_img img {
    border-width: 4px;
    box-shadow: 0 7px 20px rgba(37, 211, 102, 0.3);
}

.wcs_popup_person_content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.wcs_popup_person_name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcs_popup_person_description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcs_popup_person_status {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 14px;
    background: rgba(10, 173, 0, 0.12);
    color: #0aad00;
    display: inline-block;
    border: 2px solid rgba(10, 173, 0, 0.2);
}

.wcs_popup_person.is-offline {
    opacity: 0.85;
}

.wcs_popup_person.is-offline .wcs_popup_person_status {
    background: rgba(160, 174, 192, 0.12);
    color: #a0aec0;
    border-color: rgba(160, 174, 192, 0.2);
}

.wcs_popup_person.is-offline .wcs_popup_person_img img {
    border-color: #a0aec0;
    box-shadow: 0 5px 15px rgba(160, 174, 192, 0.15);
}

.wcs_popup_person.is-online .wcs_popup_person_img img {
    border-color: #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.25);
}

/* Input de búsqueda */
.wcs_popup_input {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    flex-shrink: 0;
}

.wcs_popup_input input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 15px 20px;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #1a1a1a;
    height: 52px;
}

.wcs_popup_input input:focus {
    border-color: #25D366;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.wcs_popup_input .fa-paper-plane {
    font-size: 22px;
    color: #25D366;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f1f8ff;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.wcs_popup_input .fa-paper-plane:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    transform: translateX(2px);
}

/* ================= BOTONES FLOTANTES MEJORADOS ================= */
.video-help-button {
    position: fixed;
    right: 30px;
    top: 300px;
    transform: translateY(-50%);
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

/* Para PC - Botones alineados verticalmente */
@media (min-width: 769px) {
    .video-help-button {
        right: 30px;
        top: 300px;
        transform: translateY(-50%);
    }

    .btn-video-tutorial {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 1.4rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .btn-video-tutorial::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .btn-video-tutorial:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }

    .btn-video-tutorial:hover::after {
        opacity: 1;
    }

    /* Tooltips para PC */
    .btn-video-tutorial::before {
        content: attr(data-tooltip);
        position: absolute;
        right: 75px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 8px 15px;
        border-radius: 8px;
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .btn-video-tutorial:hover::before {
        opacity: 1;
        right: 85px;
    }
}

/* Para móvil - Botones en columna bien espaciados */
@media (max-width: 768px) {
    .video-help-button {
        position: fixed;
        right: 15px;
        top: auto;
        bottom: 100px;
        transform: none;
        z-index: 998;
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-video-tutorial {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        font-size: 1.2rem;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
        transition: all 0.3s ease;
        margin-bottom: 0;
    }

    .btn-video-tutorial:hover {
        transform: scale(1.15);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    }

    /* Asegurar que no se superpongan con WhatsApp */
    .wa_support_standalone.wcs_fixed_right {
        bottom: 24px !important;
        right: 15px;
        z-index: 10001;
    }

    .video-help-button {
        bottom: 100px;
        z-index: 999;
    }
}

/* Colores específicos para los botones flotantes */
.btn-video-tutorial.btn-video {
    background: linear-gradient(135deg, #dc3545 0%, #ff5b5b 100%);
    color: white;
    text-decoration: none;
}

.btn-video-tutorial.btn-booking {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%);
    color: white;
    text-decoration: none;
}

.btn-video-tutorial.btn-tracking {
    background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
    color: white;
    text-decoration: none;
}

.btn-video-tutorial.btn-login {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
}

.btn-video-tutorial i {
    font-size: 1.4rem;
    margin: 0;
}

/* ================= MOBILE DOCK MENU ================= */
.mobile-dock-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: rgba(10, 31, 61, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 0;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.btn-dock {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white !important;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-dock.btn-video {
    background: linear-gradient(135deg, #ff4d4d 0%, #cc0000 100%);
}

.btn-dock.btn-booking {
    background: linear-gradient(135deg, #007bff 0%, #004494 100%);
}

.btn-dock.btn-tracking {
    background: linear-gradient(135deg, #ff9933 0%, #cc5200 100%);
}

.btn-dock.btn-login {
    background: linear-gradient(135deg, #2ecc71 0%, #218838 100%);
}

.btn-dock:active {
    transform: scale(0.85);
}

/* ================= GTRANSLATE ALINEADO SOBRE LOS BOTONES ================= */
.gtranslate_wrapper {
    position: fixed !important;
    left: 24px !important;
    bottom: 24px !important;
    z-index: 10000 !important;
    display: block !important;
}

@media (max-width: 768px) {
    .gtranslate_wrapper {
        left: 15px !important;
        bottom: 100px !important;
        z-index: 10000 !important;
    }

    .wa_support_standalone.wcs_fixed_right {
        bottom: 24px !important;
    }

    .video-help-button {
        bottom: 100px !important;
    }
}

@media (max-width: 768px) {

    .gtranslate_wrapper {
        bottom: 100px !important;
    }

    .wa_support_standalone,
    .wcs_fixed_right {
        bottom: 100px !important;
    }
}

/* ===== BOTÓN CHECKOUT (MISMO FORMATO QUE EL DOCK) ===== */
/* ===== BOTÓN CHECKOUT (MISMO FORMATO QUE EL DOCK) ===== */
.btn-dock.btn-checkout-cel {
    background: linear-gradient(135deg, #6f42c1 0%, #845ef7 100%);
    color: white !important;
}

/* efecto activo igual que los otros */
.btn-dock.btn-checkout-cel:active {
    transform: scale(0.85);
}