/* Modal Background */
.my-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Modal Box */
.my-modal-content {
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    max-width: 90%;
    font-family: Arial, sans-serif;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Success / Danger / Warning Text Color */
.my-modal-content.success {
    color: #198754; /* Bootstrap success color */
}

.my-modal-content.danger {
    color: #dc3545; /* Bootstrap danger color */
}

.my-modal-content.warning {
    color: #ffc107; /* Bootstrap warning color */
}

/* Alert Type Button */
#alert-ok-btn {
    border: none;
    padding: 8px 16px;
    margin-top: 12px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

/* Button Color Variants */
.my-modal-content.success #alert-ok-btn {
    background-color: #198754;
    color: white;
}

.my-modal-content.danger #alert-ok-btn {
    background-color: #dc3545;
    color: white;
}

.my-modal-content.warning #alert-ok-btn {
    background-color: #ffc107;
    color: black;
}

/* Hover Effect */
#alert-ok-btn:hover {
    opacity: 0.9;
}
