/* Deactivation Popup Styles */
.cfep-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
}

.cfep-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 50px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    z-index: 1000000;
    max-height: 90vh;
    overflow-y: auto;
}

.cfep-popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #ddd;
    position: relative;
    text-align: center;
}

.cfep-popup-logo {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
}

.cfep-popup-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #23282d;
}

.cfep-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.cfep-popup-close:hover {
    color: #333;
}

.cfep-popup-body {
    padding: 24px;
}

.cfep-popup-body > p:first-child {
    margin-top: 0;
    font-size: 15px;
    color: #555;
}

#cfep-deactivation-form label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

#cfep-deactivation-form label:hover {
    background: #f5f5f5;
}

#cfep-deactivation-form input[type="radio"] {
    margin-right: 8px;
}

#cfep-deactivation-form textarea {
    width: 100%;
    margin-top: 8px;
    margin-left: 24px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    min-height: 60px;
}

.cfep-privacy-note {
    font-size: 12px;
    color: #666;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.cfep-privacy-note a {
    color: #0073aa;
    text-decoration: none;
}

.cfep-popup-footer {
    padding: 16px 24px;
    border-top: 1px solid #ddd;
    text-align: right;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

#cfep-skip-deactivate {
    margin-right: auto;
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
}

#cfep-skip-deactivate:hover {
    color: #005177;
}

#cfep-get-support {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

#cfep-get-support:hover {
    background: #005177;
    border-color: #005177;
}

#cfep-submit-deactivate {
    background: #dc3232;
    border-color: #dc3232;
}

#cfep-submit-deactivate:hover {
    background: #c62828;
    border-color: #c62828;
}

/* CFEP Deactivation Modal */
#cfep-deactivation-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}
#cfep-deactivation-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
#cfep-deactivation-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 28px;
    border-radius: 12px 12px 0 0;
    color: white;
}
#cfep-deactivation-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}
#cfep-deactivation-body {
    padding: 28px;
}
.cfep-reason {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.cfep-reason input[type="radio"] {
    margin-top: 4px;
}
.cfep-reason label {
    cursor: pointer;
    font-size: 15px;
    flex: 1;
}
#cfep-deactivation-footer {
    padding: 20px 28px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}
.cfep-deactivate-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.cfep-skip-btn {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}
.cfep-note {
    color: #64748b;
    font-size: 13px;
    margin-top: 16px;
    line-height: 1.6;
}
