html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.main {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.app-name {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.progress-container {
    width: 200px;
    height: 3px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 2px;
    animation: progress 1.5s ease-in-out infinite;
    transform-origin: left;
}

@keyframes progress {
    0% {
        transform: scaleX(0);
        transform-origin: left;
    }
    50% {
        transform: scaleX(0.7);
        transform-origin: left;
    }
    51% {
        transform: scaleX(0.7);
        transform-origin: right;
    }
    100% {
        transform: scaleX(0);
        transform-origin: right;
    }
}

/* Light mode - Zinc theme */
@media (prefers-color-scheme: light) {
    body {
        background-color: #FAFAFA; /* zinc-50 */
    }

    .app-name {
        color: #18181B; /* zinc-900 */
    }

    .progress-container {
        background-color: #E4E4E7; /* zinc-200 */
    }

    .progress-bar {
        background-color: #18181B; /* zinc-900 */
    }
}

/* Dark mode - Zinc theme */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #09090B; /* zinc-950 */
    }

    .app-name {
        color: #FAFAFA; /* zinc-50 */
    }

    .progress-container {
        background-color: #27272A; /* zinc-800 */
    }

    .progress-bar {
        background-color: #FAFAFA; /* zinc-50 */
    }
}
