@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@400;600;700&family=Outfit:wght@400;600;700&display=swap');

/* Modal Overlay Styling */
.mlfcp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Noto Sans Bengali', 'Outfit', -apple-system, sans-serif;
    animation: mlfcpFadeIn 0.3s ease forwards;
}

/* Modal Card Container */
.mlfcp-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    box-sizing: border-box;
    animation: mlfcpScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Dismiss Close Button */
.mlfcp-close-x-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.mlfcp-close-x-btn:hover {
    color: #475569;
}

/* Hero Status Circle (Red Cross icon) */
.mlfcp-status-circle {
    width: 80px;
    height: 80px;
    border: 3.5px solid #ffc9c9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    color: #fa5252;
}

.mlfcp-status-circle svg {
    width: 36px;
    height: 36px;
}

/* Modal Typography */
.mlfcp-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0 !important;
    line-height: 1.4;
}

.mlfcp-msg {
    font-size: 15px;
    color: #475569;
    margin: 0 0 30px 0 !important;
    line-height: 1.7;
    font-weight: 500;
}

/* Button Group Wrapper */
.mlfcp-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Action Button base */
.mlfcp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    color: #ffffff !important;
    min-width: 110px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.mlfcp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.12);
}

.mlfcp-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mlfcp-btn-icon svg {
    display: block;
}

/* WhatsApp Button style */
.mlfcp-btn-whatsapp {
    background-color: #25d366;
}

.mlfcp-btn-whatsapp:hover {
    background-color: #20ba5a;
}

/* Call Button style */
.mlfcp-btn-call {
    background-color: #3b82f6;
}

.mlfcp-btn-call:hover {
    background-color: #2563eb;
}

/* Page Inbox Button style */
.mlfcp-btn-inbox {
    background-color: #0084ff;
}

.mlfcp-btn-inbox:hover {
    background-color: #0073de;
}

/* Disable click effect class */
.mlfcp-disabled-btn {
    pointer-events: none;
    opacity: 0.6;
}

/* Animation Keyframes */
@keyframes mlfcpFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mlfcpScaleUp {
    from { 
        transform: scale(0.95);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

/* Closing animations */
.mlfcp-closing {
    animation: mlfcpFadeOut 0.3s ease forwards;
}

.mlfcp-closing .mlfcp-modal-card {
    animation: mlfcpScaleDown 0.3s ease forwards;
}

@keyframes mlfcpFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes mlfcpScaleDown {
    from { 
        transform: scale(1);
        opacity: 1;
    }
    to { 
        transform: scale(0.95);
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .mlfcp-modal-card {
        padding: 30px 20px;
    }
    .mlfcp-title {
        font-size: 20px;
    }
    .mlfcp-msg {
        font-size: 13px;
    }
    .mlfcp-buttons {
        flex-direction: column;
        width: 100%;
    }
    .mlfcp-btn {
        width: 100%;
        box-sizing: border-box;
    }
}
