/**
 * Final POS Loader Styles
 * Styles for the loader screen shown during transitions
 */

.finalpos-loader-screen {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f0f0f1;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #3c434a;
}

.finalpos-loader-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.finalpos-loader-success {
    color: #00a32a;
    margin-bottom: 20px;
    font-size: 18px;
}

.finalpos-loader-message {
    margin-bottom: 15px;
}

.finalpos-loader-progress {
    height: 4px;
    background-color: #f0f0f1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.finalpos-loader-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #2271b1;
    width: 0;
    animation: finalpos-progress 1s linear;
}

@keyframes finalpos-progress {
    from { width: 0; }
    to { width: 100%; }
}

.finalpos-loader-logo {
    margin-bottom: 20px;
}

.finalpos-loader-logo img {
    max-width: 150px;
    height: auto;
}
