.error-container {
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1em;
}

/* Custom Alert Styles */
.custom-alert {
    background-color: red;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 8px;
    z-index: 9999;
    width: auto;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.4s ease-in-out;
}

/* Alert Types */
.alert-error {
    background: linear-gradient(145deg, #ff4d4d, #d92626);
    border: 1px solid #d92626;
    box-shadow: 0 4px 10px rgba(255, 77, 77, 0.5);
}

.alert-success {
    background: linear-gradient(145deg, #4caf50, #388e3c);
    border: 1px solid #388e3c;
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.5);
}

/* Close Button */
.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ffcccc;
}