/* Alert Form Styles */
.mbsr-alert-form-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 40px 0;
    border: 1px solid #eaeaea;
}

.mbsr-alert-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.mbsr-alert-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.mbsr-alert-form .mbsr-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px -10px;
}

.mbsr-alert-form .mbsr-form-group {
    padding: 0 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.mbsr-w-100 { width: 100%; }
.mbsr-w-50 { width: 50%; }
.mbsr-w-33 { width: 33.333%; }

.mbsr-alert-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.mbsr-alert-form .mbsr-input,
.mbsr-alert-form .mbsr-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    background-color: #fcfcfc;
}

.mbsr-alert-form .mbsr-select[multiple] {
    height: 100px;
}

.mbsr-alert-form small {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
}

.mbsr-rgpd label {
    font-weight: normal;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.mbsr-btn {
    background-color: #e85a4f;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mbsr-btn:hover {
    background-color: #d7483d;
}

.mbsr-form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.mbsr-form-message.success {
    background-color: #e6f4ea;
    color: #1e8e3e;
    border: 1px solid #cce8d6;
    display: block;
}

.mbsr-form-message.error {
    background-color: #fce8e6;
    color: #d93025;
    border: 1px solid #fad2cf;
    display: block;
}

@media (max-width: 768px) {
    .mbsr-w-50, .mbsr-w-33 {
        width: 100%;
    }
}

/* Modal Styles */
.mbsr-alerte-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mbsr-alerte-modal.mbsr-show {
    opacity: 1;
    visibility: visible;
}

.mbsr-alerte-modal-content {
    background-color: transparent;
    padding: 0;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 8px;
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.mbsr-alerte-modal.mbsr-show .mbsr-alerte-modal-content {
    transform: translateY(0);
}

.mbsr-alerte-modal-content .mbsr-alert-form-wrapper {
    margin: 0;
    box-shadow: none;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffdfb 0%, #f7f0e9 100%);
    border: 1px solid rgba(148, 110, 86, 0.16);
    box-shadow: 0 30px 80px rgba(59, 34, 20, 0.18);
    padding: 2rem;
}

.mbsr-alerte-modal-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.mbsr-alerte-modal-close:hover,
.mbsr-alerte-modal-close:focus {
    color: #333;
    text-decoration: none;
}

.mbsr-alerte-modal-content .mbsr-alert-title {
    color: #571805;
}

.mbsr-alerte-modal-content .mbsr-alert-desc {
    color: rgba(87, 24, 5, 0.78);
}

.mbsr-alerte-modal-content .mbsr-form-group label {
    color: #571805;
}

.mbsr-alerte-modal-content .search-input {
    min-height: 3.2rem;
    border-radius: 14px;
    border: 1px solid rgba(148, 110, 86, 0.2);
    background: #fff;
}

@media (max-width: 640px) {
    .mbsr-alerte-modal-content .mbsr-alert-form-wrapper {
        padding: 1.25rem;
        border-radius: 18px;
    }
}
