/* Deactivation Feedback Modal Styles */

.helpmate-deactivation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    -webkit-animation: helpmateModalFadeIn 0.2s ease-out;
            animation: helpmateModalFadeIn 0.2s ease-out;
}

@-webkit-keyframes helpmateModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes helpmateModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.helpmate-deactivation-modal {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    -webkit-animation: helpmateModalSlideIn 0.3s ease-out;
            animation: helpmateModalSlideIn 0.3s ease-out;
}

@-webkit-keyframes helpmateModalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes helpmateModalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.helpmate-deactivation-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}

.helpmate-deactivation-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
}

.helpmate-deactivation-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.helpmate-deactivation-close:hover {
    background: #f5f5f5;
    color: #000;
}

.helpmate-deactivation-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.helpmate-deactivation-body p {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #555;
}

.helpmate-feedback-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.helpmate-feedback-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.helpmate-feedback-option:hover {
    border-color: #999;
    background: #f9f9f9;
}

.helpmate-feedback-option input[type="radio"] {
    margin: 0 12px 0 0;
    cursor: pointer;
    width: 14px;
    height: 16px;
    flex-shrink: 0;
}

.helpmate-feedback-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #000;
}

.helpmate-feedback-option:has(input[type="radio"]:checked) {
    border-color: #2271b1;
    background: #f0f6fc;
}

.helpmate-feedback-option span {
    font-size: 14px;
    color: #333;
    flex: 1;
}

.helpmate-feedback-missing,
.helpmate-feedback-other {
    margin-top: 16px;
}

.helpmate-feedback-missing textarea,
.helpmate-feedback-other textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    resize: vertical;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.helpmate-feedback-missing textarea:focus,
.helpmate-feedback-other textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.helpmate-deactivation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    gap: 12px;
}

.helpmate-deactivation-footer .button {
    margin: 0;
    padding: 8px 20px;
    font-size: 14px;
    height: auto;
    line-height: 1.5;
}

.helpmate-deactivation-skip {
    color: #666;
}

.helpmate-deactivation-skip:hover {
    color: #000;
}

.helpmate-deactivation-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .helpmate-deactivation-modal {
        width: 95%;
    }

    .helpmate-deactivation-header,
    .helpmate-deactivation-body,
    .helpmate-deactivation-footer {
        padding: 16px;
    }

    .helpmate-deactivation-footer {
        flex-direction: column;
    }

    .helpmate-deactivation-footer .button {
        width: 100%;
    }
}

