/* Deletion Request Modal */
.mha-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px); /* Modern blur effect */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.mha-modal-card {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    text-align: right;
    direction: rtl;
}

.mha-modal-close {
    position: absolute;
    top: 15px; left: 15px;
    background: #f1f3f5;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: #333;
}

.mha-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.mha-warning-icon {
    width: 60px; height: 60px;
    background: #fff5f5; /* Light Red */
    color: #e03131;        /* Red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 15px;
}

.mha-modal-header h3 { margin: 0 0 5px 0; font-weight: 800; color: #333; }
.mha-modal-header p { font-size: 0.9rem; color: #777; margin: 0; }

/* Form Styles */
.mha-form-group { margin-bottom: 15px; }
.mha-form-group label {
    display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; color: #555;
}

.mha-pill-input {
    width: 100%;
    padding: 5px 15px !important;
    border: 1px solid #dee2e6;
    border-radius: 10px !important;
    background: #f8f9fa;
    font-family: inherit;
}
.mha-pill-input:focus {
    border-color: #e03131;
    background: #fff;
    outline: none;
}

.mha-form-actions {
    display: flex; gap: 10px; margin-top: 25px;
}

.mha-btn-submit {
    flex: 2;
    background: #e03131;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.mha-btn-submit:hover { background: #c92a2a; }

.mha-btn-cancel {
    flex: 1;
    background: #f1f3f5;
    color: #333;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

/* Response Message */
#mha-form-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}
.mha-resp-success { background: #d3f9d8; color: #2b8a3e; border: 1px solid #b2f2bb; }
.mha-resp-error { background: #ffe3e3; color: #c92a2a; border: 1px solid #ffc9c9; }

@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }