﻿.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    position: relative;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert i {
    margin-right: 8px;
}

/* Loading Bar Styles */
.loading-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.loading-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

    .loading-text i {
        margin-right: 10px;
        animation: pulse 1.5s infinite;
    }

.loading-progress {
    background: rgba(255,255,255,0.3);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-fill {
    height: 100%;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
    animation: loading-animation 2s ease-in-out infinite;
}

@keyframes loading-animation {
    0% {
        width: 0%;
        margin-left: 0%;
    }

    50% {
        width: 75%;
        margin-left: 12.5%;
    }

    100% {
        width: 0%;
        margin-left: 100%;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Make loading container stand out */
#loading-container {
    position: relative;
    z-index: 1000;
}
