#em-deactivate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#em-deactivate-modal {
    background: #fff;
    border-radius: 6px;
    padding: 32px 36px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#em-deactivate-modal h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    color: #1d2327;
}

#em-deactivate-modal > p {
    margin: 0 0 18px;
    color: #50575e;
    font-size: 0.95rem;
}

#em-deactivate-modal ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

#em-deactivate-modal ul li {
    margin-bottom: 12px;
}

#em-deactivate-modal ul li label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1d2327;
}

#em-deactivate-modal ul li input[type="radio"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #2271b1;
}

#em-feedback-text {
    width: 100%;
    height: 90px;
    resize: vertical;
    margin-bottom: 24px;
    padding: 10px 12px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #1d2327;
    box-sizing: border-box;
}

#em-feedback-text:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.em-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.em-modal-actions .button {
    font-size: 0.9rem;
}

#em-submit-deactivate {
    background-color: #2271b1;
    color: #fff;
    border-color: #2271b1;
}

#em-submit-deactivate:hover:not(:disabled) {
    background-color: #135e96;
    border-color: #135e96;
}

#em-submit-deactivate:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
