/* Deactivation Survey Modal Styling */
.aitrfoel-survey-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.aitrfoel-survey-modal {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: aitrfoel-survey-fade-in 0.25s ease-out;
}

@keyframes aitrfoel-survey-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aitrfoel-survey-modal-header {
    background: #fcfcfc;
    border-b: 1px solid #e5e5e5;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aitrfoel-survey-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.aitrfoel-survey-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #646970;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.aitrfoel-survey-modal-close:hover {
    color: #d63638;
}

.aitrfoel-survey-modal-body {
    padding: 24px;
}

.aitrfoel-survey-modal-body p {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 13.5px;
    color: #3c434a;
    line-height: 1.5;
}

.aitrfoel-survey-reasons {
    margin-bottom: 20px;
}

.aitrfoel-survey-reason-item {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.aitrfoel-survey-reason-item input[type="radio"] {
    margin-top: 2px;
    margin-right: 8px;
    flex-shrink: 0;
}

.aitrfoel-survey-reason-item label {
    font-size: 13px;
    color: #1d2327;
    cursor: pointer;
    line-height: 1.4;
}

.aitrfoel-survey-details-wrap {
    display: none;
    margin-top: 15px;
    margin-bottom: 15px;
}

.aitrfoel-survey-details-wrap textarea {
    width: 100%;
    height: 80px;
    font-size: 12.5px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    padding: 8px;
    resize: none;
}

.aitrfoel-survey-details-wrap textarea:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.aitrfoel-survey-consent-notice {
    font-size: 11px;
    color: #8c8f94;
    line-height: 1.4;
    margin-top: 15px;
    border-top: 1px dashed #e5e5e5;
    padding-top: 12px;
}

.aitrfoel-survey-modal-footer {
    background: #fcfcfc;
    border-top: 1px solid #e5e5e5;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aitrfoel-survey-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.aitrfoel-survey-btn-skip {
    background: none;
    border: 1px solid #dcdcdc;
    color: #646970;
}

.aitrfoel-survey-btn-skip:hover {
    background: #f6f7f7;
    border-color: #b5b6b7;
    color: #1d2327;
}

.aitrfoel-survey-btn-submit {
    background: #2271b1;
    border: 1px solid #2271b1;
    color: #fff;
}

.aitrfoel-survey-btn-submit:hover {
    background: #135e96;
    border-color: #135e96;
}

.aitrfoel-survey-btn-submit:disabled {
    background: #a7aaad;
    border-color: #a7aaad;
    color: #dcdcde;
    cursor: not-allowed;
}

.aitrfoel-survey-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: aitrfoel-survey-spin 1s ease-in-out infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes aitrfoel-survey-spin {
    to { transform: rotate(360deg); }
}
