.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.modal-header i {
    color: #B91C1C;
    font-size: 24px;
    margin-right: 12px;
}

.modal-title {
    color: #1F2937;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.modal-body {
    color: #4B5563;
    margin-bottom: 20px;
    line-height: 1.5;
}

.modal-footer {
    text-align: right;
}

.modal-button {
    background-color: #B91C1C;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-button:hover {
    background-color: #991B1B;
}