/* FCRA Credit Authorization Popup Styles */

.fcra-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.fcra-popup-content {
    background: #ffffff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.fcra-popup-inner {
    padding: 40px;
}

.fcra-popup-title {
    font-size: 28px;
    font-weight: 600;
    color: #212121;
    margin: 0 0 25px 0;
    text-align: center;
    line-height: 1.3;
}

.fcra-notice-container {
    background: #f8f9fa;
    border: 2px solid #e1e4e8;
    border-radius: 6px;
    padding: 30px;
    margin-bottom: 30px;
}

.fcra-notice-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 15px 0;
}

.fcra-notice-text p:last-child {
    margin-bottom: 0;
}

.fcra-notice-text p strong {
    font-weight: 600;
    color: #212121;
}

.fcra-agree-btn {
    background: #4CAF50 !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 16px 32px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fcra-agree-btn:hover {
    background: #45a049 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

.fcra-agree-btn:active {
    transform: translateY(0);
}

.fcra-decline-container {
    text-align: center;
    border-top: 1px solid #e1e4e8;
    padding-top: 20px;
    margin-top: 20px;
}

.fcra-decline-text {
    font-size: 13px;
    color: #666;
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.fcra-decline-btn {
    background: transparent;
    color: #666;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fcra-decline-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .fcra-popup-inner {
        padding: 25px;
    }
    
    .fcra-popup-title {
        font-size: 24px;
    }
    
    .fcra-notice-container {
        padding: 20px;
    }
    
    .fcra-notice-text p {
        font-size: 14px;
    }
    
    .fcra-agree-btn {
        font-size: 16px !important;
        padding: 14px 24px !important;
    }
}

/* Accessibility improvements */
.fcra-agree-btn:focus,
.fcra-decline-btn:focus {
    outline: 3px solid #4CAF50;
    outline-offset: 2px;
}

/* Ensure popup is above everything */
.fcra-consent-overlay {
    z-index: 99999 !important;
}

/* Prevent body scroll when popup is open */
body.fcra-popup-open {
    overflow: hidden;
}
