/**
 * Loading Screen Styles
 * For Distribuidora Lion Web Application
 */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-out;
}

.loading-container {
    width: 320px;
    max-width: 90%;
    text-align: center;
}

.loading-logo {
    margin-bottom: 30px;
    height: 70px;
    width: auto;
}

.progress-container {
    width: 100%;
    height: 12px;
    background-color: #f1f1f1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) inset;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6600, #ff8533);
    border-radius: 12px;
    transition: width 0.3s ease-out;
    position: relative;
}

.loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.gears-container {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-block;
}

.gear {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.gear-1 {
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    background-image: url('../img/gear-orange.svg');
    animation: spin 6s linear infinite;
}

.gear-2 {
    width: 25px;
    height: 25px;
    bottom: 0;
    right: 0;
    background-image: url('../img/gear-gray.svg');
    animation: spin-reverse 4s linear infinite;
}

.security-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.security-icon {
    color: #4CAF50;
    font-size: 18px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
} 