/* Deactivation Popup Styles */
.cscf-deact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cnc-acf-overlay-bg);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.cscf-deact-modal {
    background: var(--cnc-acf-white);
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--cnc-acf-shadow-2xl);
    animation: cscf-modal-appear 0.3s ease;
}

@keyframes cscf-modal-appear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cscf-deact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--cnc-acf-border-gray);
}

.cscf-deact-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--cnc-acf-text-dark);
}

.cscf-deact-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--cnc-acf-text-light-gray);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.cscf-deact-close:hover {
    color: var(--cnc-acf-text-gray-dark);
}

.cscf-deact-body {
    padding: 28px;
}

.cscf-deact-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cscf-reason-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border: 2px solid var(--cnc-acf-border-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--cnc-acf-white);
    position: relative;
    overflow: hidden;
}

.cscf-reason-option:hover {
    border-color: var(--cnc-acf-border-purple-light);
    background: var(--cnc-acf-bg-purple-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
    /* Keeping specific shadow for now or could define var */
}

.cscf-reason-option:hover .cscf-reason-icon {
    background: var(--cnc-acf-primary-color);
    color: var(--cnc-acf-white);
    transition: all 0.2s ease;
}

.cscf-reason-option input[type="radio"] {
    display: none;
}

.cscf-reason-option input[type="radio"]:checked+.cscf-reason-icon+.cscf-reason-text {
    color: var(--cnc-acf-primary-color);
    font-weight: 600;
}

.cscf-reason-option:has(input:checked) {
    border-color: var(--cnc-acf-primary-color);
    background: var(--cnc-acf-bg-purple-lighter);
    box-shadow: 0 4px 15px rgba(97, 103, 248, 0.15);
    transform: translateY(-2px);
}

.cscf-reason-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cnc-acf-bg-gray-lighter);
    border-radius: 8px;
}

.cscf-reason-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--cnc-acf-text-gray-dark);
}

.cscf-deact-details {
    margin-bottom: 20px;
}

.cscf-deact-details textarea {
    width: 100%;
    border: 2px solid var(--cnc-acf-border-gray);
    border-radius: 10px;
    padding: 14px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s;
}

.cscf-deact-details textarea:focus {
    outline: none;
    border-color: var(--cnc-acf-primary-color);
}

.cscf-deact-info {
    background: var(--cnc-acf-bg-gray-light);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.cscf-deact-info p {
    margin: 0;
    font-size: 13px;
    color: var(--cnc-acf-text-gray);
    line-height: 1.6;
}

.cscf-deact-info a {
    color: var(--cnc-acf-primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cscf-deact-info a:hover {
    text-decoration: underline;
}

.cscf-deact-consent {
    margin-bottom: 10px;
}

.cscf-deact-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cscf-deact-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cnc-acf-primary-color);
}

.cscf-deact-consent span {
    font-size: 13px;
    color: var(--cnc-acf-text-gray-medium);
    line-height: 1.5;
}

.cscf-deact-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-top: 1px solid var(--cnc-acf-border-gray);
    background: var(--cnc-acf-bg-gray-light);
    border-radius: 0 0 16px 16px;
}

.cscf-deact-skip {
    background: none;
    border: none;
    color: var(--cnc-acf-text-gray);
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    transition: color 0.2s;
}

.cscf-deact-skip:hover {
    color: var(--cnc-acf-text-gray-dark);
}

.cscf-deact-submit {
    background: var(--cnc-acf-btn-gradient);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(97, 103, 248, 0.3);
}

.cscf-deact-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 103, 248, 0.4);
}

.cscf-deact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 700px) {
    .cscf-deact-modal {
        margin: 20px;
        max-width: calc(100% - 40px);
    }

    .cscf-deact-reasons {
        grid-template-columns: 1fr;
    }
}