/* Frynzy Premium Loader Styling */
.frynzy-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000 !important; /* Noir pur opaque pour ne rien voir derrière */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999999 !important; /* Priorité absolue sur tout */
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.frynzy-loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.frynzy-loader-container {
    text-align: center;
}

.frynzy-f-logo {
    width: 110px; 
    height: 110px;
    max-width: 70vw;
    max-height: 70vh;
    object-fit: contain;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 18px rgba(0, 200, 255, 0.7));
    animation: f-pulse 1.6s infinite ease-in-out;
    background: transparent !important;
}

.frynzy-loader-text {
    margin-top: 30px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: text-glow 1.8s infinite alternate;
}

@keyframes f-pulse {
    0% { transform: scale(0.85); opacity: 0.6; filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.6)); }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 40px rgba(180, 0, 255, 0.9)); }
    100% { transform: scale(0.85); opacity: 0.6; filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.6)); }
}

@keyframes text-glow {
    from { text-shadow: 0 0 5px rgba(255,255,255,0.2); opacity: 0.4; }
    to { text-shadow: 0 0 20px rgba(0,255,255,0.8); opacity: 1; }
}

/* ============================================================================
   MSG CONTEXT MENU - FINI LE GRIS ! (PREMIUM DARK UI)
   ============================================================================ */
.msg-custom-context-menu {
    background: rgba(15, 15, 15, 0.9) !important;
    backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 12px 10px !important;
    min-width: 180px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
    color: #fff !important;
    font-family: 'Inter', sans-serif !important;
    animation: menu-appear 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes menu-appear {
    from { transform: scale(0.9) translateY(10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.msg-action-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    color: rgba(255,255,255,0.9) !important;
}

.msg-action-item:hover, .msg-action-item:active {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.msg-action-item i {
    font-size: 1.1rem !important;
    width: 20px !important;
    text-align: center !important;
    opacity: 0.7 !important;
}

.msg-action-item:hover i {
    opacity: 1 !important;
}

/* Red V (React) specific icon accent */
.msg-action-item .fa-face-smile { color: #00d9ff; }
.msg-action-item .fa-pen { color: #bc13fe; }
.msg-action-item .fa-copy { color: #f4f1de; }
.msg-action-item[style*="color:#e74c3c"] { color: #ff4545 !important; }
