/**
 * Global Alert System Styles
 * 
 * This file contains the styles for the global alert system.
 */

/* Alert Styles */
.alert {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    z-index: 1000;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out;
}

.alert.show {
    top: 20px;
}

.alert-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.countdown-container {
    margin-top: 5px;
    font-size: 13px;
    color: #fff;
    opacity: 0.9;
}

.countdown-number {
    font-size: 13px;
    font-weight: normal;
    color: #fff;
    margin: 0;
}

.countdown-text {
    color: #fff;
    opacity: 0.9;
    font-size: 13px;
}

.alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0 5px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

.alert-success {
    background-color: #28a745;
}

.alert-error {
    background-color: #dc3545;
}

.alert-warning {
    background-color: #ffc107;
    color: #000;
}

.alert-info {
    background-color: #17a2b8;
} 