/* ========================================================================= */
/* ============= OFFICIAL WHATSAPP FLOATING WIDGET (DEFINITIVE) ============ */
/* ========================================================================= */
:root {
    --prestige-dark-blue: #1a2a3a;
    --prestige-dark-slate: #2c3e50;
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20ba5a;
    --prestige-bg: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
    --prestige-text-dark: #212529;
    --prestige-text-muted: #6c757d;
    --prestige-shadow: 0 15px 45px rgba(30, 45, 60, 0.2);
    --prestige-transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.prestige-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
}

/* --- The Official WhatsApp Floating Action Button --- */
.prestige-floating-btn,
#prestige-toggle-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: #25D366 !important; /* Official WhatsApp Green */
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    z-index: 9999 !important;
}

.prestige-floating-btn:hover,
#prestige-toggle-btn:hover {
    transform: scale(1.12) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.2) !important;
    background: #20ba5a !important;
    background-color: #20ba5a !important;
}

.prestige-floating-btn:active,
#prestige-toggle-btn:active {
    transform: scale(0.96) !important;
}

.prestige-btn-shimmer {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.32), transparent 35%);
    animation: rotateWhatsAppShimmer 4s linear infinite;
    pointer-events: none;
}
@keyframes rotateWhatsAppShimmer { 100% { transform: rotate(360deg); } }

/* Pure White WhatsApp Icon - Never Gold */
.prestige-floating-btn i,
.prestige-floating-btn svg,
.prestige-floating-btn path,
.prestige-floating-btn .icon-open,
#prestige-toggle-btn i,
#prestige-toggle-btn svg,
#prestige-toggle-btn path,
#prestige-toggle-btn .icon-open {
    font-size: 32px !important;
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: none !important;
    transition: var(--prestige-transition);
    position: relative;
    z-index: 2;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Ensure fa-comments renders as WhatsApp Brand Icon in Pure White */
.prestige-floating-btn .fa-comments,
#prestige-toggle-btn .fa-comments {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 400 !important;
    color: #ffffff !important;
}

.prestige-floating-btn .fa-comments::before,
#prestige-toggle-btn .fa-comments::before {
    content: "\f232" !important; /* FontAwesome Brands WhatsApp icon Unicode */
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome" !important;
    font-weight: 400 !important;
    color: #ffffff !important;
}

.prestige-floating-btn .icon-close,
#prestige-toggle-btn .icon-close { 
    display: none !important; 
}

/* Hide legacy form wrapper since click directly launches WhatsApp */
.prestige-form-wrapper {
    display: none !important;
}
