:root {
    --garage-primary: #00696D;
    --garage-background: #F4FBFA;
    --garage-on-background: #161D1D;
}

@media (prefers-color-scheme: dark) {
    :root {
        --garage-primary: #80D4D8;
        --garage-background: #0E1415;
        --garage-on-background: #DDE4E3;
    }
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: var(--garage-background);
    color: var(--garage-on-background);
    font-family: Roboto, system-ui, sans-serif;
}

#garage-app {
    position: fixed;
    inset: 0;
}

.garage-screen {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    text-align: center;
    background: var(--garage-background);
}

.garage-screen[hidden] {
    display: none;
}

#garage-requirements {
    flex-direction: column;
    line-height: 1.5;
}

#garage-requirements > * {
    width: 100%;
    max-width: 560px;
    text-align: left;
}

#garage-requirements ul {
    margin: 0;
    padding-left: 24px;
    box-sizing: border-box;
}

.garage-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid color-mix(in srgb, var(--garage-primary) 25%, transparent);
    border-top-color: var(--garage-primary);
    border-radius: 50%;
    animation: garage-spin 1s linear infinite;
}

@keyframes garage-spin {
    to {
        transform: rotate(360deg);
    }
}

.garage-toast {
    position: fixed;
    left: 50%;
    bottom: max(32px, env(safe-area-inset-bottom));
    z-index: 2;
    max-width: min(560px, calc(100% - 32px));
    padding: 12px 16px;
    box-sizing: border-box;
    border-radius: 8px;
    background: #323232;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translate(-50%, 8px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.garage-toast-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}