/**
 * TaxDebug Deactivation Survey Styles
 *
 * @package TaxDebug
 */

.td-deactivation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-deactivation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.td-deactivation-dialog {
    position: relative;
    width: 480px;
    max-width: 90%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.td-deactivation-header {
    padding: 24px 28px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #fff;
}

.td-deactivation-header h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
}

.td-deactivation-header p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.td-deactivation-form {
    padding: 24px 28px;
}

.td-deactivation-reasons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.td-deactivation-reason {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.td-deactivation-reason:hover {
    border-color: #7c3aed;
    background: #faf5ff;
}

.td-deactivation-reason input[type="radio"] {
    margin: 0;
}

.td-deactivation-reason input[type="radio"]:checked + span {
    color: #7c3aed;
    font-weight: 500;
}

.td-deactivation-reason input[type="radio"]:checked {
    accent-color: #7c3aed;
}

.td-deactivation-message-field {
    margin-bottom: 20px;
}

.td-deactivation-message-field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.td-deactivation-message-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    resize: vertical;
    box-sizing: border-box;
}

.td-deactivation-message-field textarea:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.td-deactivation-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.td-deactivation-actions .button {
    padding: 8px 20px;
    font-size: 13px;
}

.td-deactivation-skip {
    background: transparent !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
}

.td-deactivation-skip:hover {
    border-color: #9ca3af !important;
    color: #374151 !important;
}

.td-deactivation-submit {
    background: #7c3aed !important;
    border-color: #7c3aed !important;
}

.td-deactivation-submit:hover {
    background: #6d28d9 !important;
    border-color: #6d28d9 !important;
}

.td-deactivation-submit:disabled {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    cursor: not-allowed;
}

.td-deactivation-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    margin: 0;
    background: #f9fafb;
    font-size: 11px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.td-deactivation-privacy .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #9ca3af;
}
