/* ===========================
   Flash WhatsApp - Speed Dial
   =========================== */

.flash-wa-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* --- Trigger (Main FAB) --- */
.flash-wa-trigger {
    position: relative;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
}

.flash-wa-trigger-inner {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    background: #25D366;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.flash-wa-active .flash-wa-trigger-inner {
    transform: rotate(180deg);
    background: #111;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.flash-wa-main-icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.25s ease;
    opacity: 1;
    display: block;
}

.flash-wa-close-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.25s ease;
    user-select: none;
}

.flash-wa-active .flash-wa-main-icon {
    opacity: 0;
}

.flash-wa-active .flash-wa-close-icon {
    opacity: 1;
}


/* --- Popup Card --- */
.flash-wa-popup {
    background: #111 !important;
    border-radius: 14px !important;
    padding: 6px !important;
    min-width: 200px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45) !important;

    /* HIDDEN by default */
    display: none !important;
    opacity: 0;
    transform: translateY(15px) scale(0.92);
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom right;
}

.flash-wa-active .flash-wa-popup {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Option Rows --- */
.flash-wa-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none !important;
    border-radius: 10px;
    transition: background 0.2s ease;
    color: #fff !important;
    cursor: pointer;
}

.flash-wa-option:hover {
    background: rgba(255, 255, 255, 0.08);
}

.flash-wa-opt-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flash-wa-opt-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.flash-wa-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2px 12px;
}


/* --- CTA Bubble --- */
.flash-wa-cta-bubble {
    background: #000;
    color: var(--brand-gold, #FFD737);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 10px;

    /* Hidden by default, show on hover */
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
}

.flash-wa-widget:hover .flash-wa-cta-bubble {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.flash-wa-active .flash-wa-cta-bubble {
    opacity: 0 !important;
    visibility: hidden !important;
}


/* --- Mobile --- */
@media (max-width: 600px) {
    .flash-wa-widget {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }

    .flash-wa-trigger-inner {
        width: 52px;
        height: 52px;
    }

    .flash-wa-popup {
        min-width: 180px;
    }

    .flash-wa-option {
        padding: 10px 14px;
        gap: 10px;
    }

    .flash-wa-opt-label {
        font-size: 13px;
    }

    .flash-wa-cta-bubble {
        font-size: 11px !important;
        padding: 6px 12px;
    }
}