.inline-modal {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: slideDown 0.2s ease;
}

.inline-modal-box {
    min-width: 280px;
    max-width: 420px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
}

/* Success */
.inline-modal-box.success {
    background: linear-gradient(135deg, #1f7a3f, #2fa35c);
    color: #fff;
}

/* Error */
.inline-modal-box.error {
    background: linear-gradient(135deg, #8b1e1e, #b42a2a);
    color: #fff;
}

/* Warning */
.inline-modal-box.warning {
    background: linear-gradient(135deg, #8a5a00, #c27a00);
    color: #fff;
}

/* Alert / Info */
.inline-modal-box.alert {
    background: linear-gradient(135deg, #8b1e1e, #b42a2a);
    color: #fff;
}

.inline-modal-message {
    margin: 0;
    font-weight: 500;
}

.inline-modal-close {
    margin-top: 10px;
    padding: 5px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    transition: background 0.2s ease;
}

.inline-modal-close:hover {
    background: rgba(255,255,255,0.25);
}

/* Slide animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -10px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Confirm Modal */
.inline-modal-box.confirm {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    color: #fff;
}

/* Confirm Buttons */
.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.confirm-btn {
    padding: 8px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.confirm-yes {
    background: #dc3545;
    color: white;
}

.confirm-yes:hover {
    background: #c82333;
}

.confirm-no {
    background: #6c757d;
    color: white;
}

.confirm-no:hover {
    background: #5a6268;
}