.alert-box {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    color: white;
    border: 2px solid var(--secondary-color); /* Default yellow border */
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 221, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideUp 0.3s ease-out;
    max-width: 90vw;
}

/* ✅ Green success alert */
.alert-box.success {
    border-color: #00c853; /* Bright green */
    color: #00e676;        /* Lighter green text */
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.5);
}

/* 🔴 Red error alert */
.alert-box.error {
    border-color: red;
    color: red;
}

.close-alert {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
