/**
 * Frontend Modals & Notices Styling for Courier Fraud Checker
 */

.cfc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    animation: cfcFadeIn 0.25s ease-out;
}

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

@keyframes cfcOtpPop {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cfc-modal-box {
    background: #ffffff;
    border-radius: 16px;
    width: 480px;
    max-width: 90%;
    padding: 32px 28px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    border-top: 5px solid #ef4444;
}

.cfc-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 16px auto;
}

.cfc-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px 0;
}

.cfc-modal-message {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cfc-modal-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.cfc-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.cfc-btn-support {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}

.cfc-btn-support:hover {
    background: #1d4ed8;
}

.cfc-btn-close {
    background: #e2e8f0;
    color: #334155;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}
