/* Jost -- misma fuente autorizada de AppText.family (lib/utils/app_theme.dart),
   auto-hospedada desde el mismo .ttf que ya empaqueta Flutter (assets/fonts/
   Jost-Variable.ttf) -- esta pantalla se pinta ANTES de que Flutter arranque,
   así que no hereda las fuentes de Flutter; hay que cargarla acá aparte. */
@font-face {
    font-family: 'Jost';
    src: url('assets/assets/fonts/Jost-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}

/* Styles for the body element */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #070B12;
}

/* Styles for the progress bar container */
.progress-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
    transition: opacity 0.25s ease-out;
}

/* Styles for the progress bar */
.progress-bar {
    display: block;
    height: 100%;
    background-color: #FF3F63;
    width: 0;
    transition: width 0.5s ease;
}

/* Reassuring copy shown under the progress bar while the account/session
   data loads -- same wording/tone as HandoffPage's "Conectando con tu
   cuenta..." (lib/pages/handoff_page.dart) on purpose, so this pre-boot HTML
   screen and that Dart screen read as one continuous screen instead of two
   different loaders. */
.loading-copy {
    margin-top: 22px;
    text-align: center;
    transition: opacity 0.25s ease-out;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Century Gothic", Futura, sans-serif;
}

.loading-title {
    margin: 0;
    color: #EEF1F5;
    font-size: 15px;
    font-weight: 600;
}

.loading-subtitle {
    margin: 6px 0 0;
    color: #A7B2C0;
    font-size: 13px;
    font-weight: 400;
}


.logo {
    width: 100%;
    overflow: hidden;
    margin-left: 50px;
    margin-right: 50px;
    transition: width 0.5s ease;
}

/* CSS for a fade-in animation */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

/* Keyframes for the fadeIn animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}