body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 36rem;
    margin: 4rem auto;
    padding: 0 1rem;
    color: #1a1a1a;
}

form {
    display: flex;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

input {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
}

button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

#status {
    margin-top: 1rem;
    font-size: 0.95rem;
}

#status a,
.link-button {
    color: inherit;
    font-weight: 600;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.signout {
    margin-top: 1.5rem;
    background: none;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    color: inherit;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

#login-section button {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.progress {
    margin-top: 0.75rem;
    height: 0.5rem;
    border-radius: 0.25rem;
    background: #e5e5e5;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #1a1a1a;
    transition: width 0.3s ease;
}

.progress-bar.indeterminate {
    width: 30% !important;
    animation: indeterminate 1.2s ease-in-out infinite;
}

@keyframes indeterminate {
    0% {
        margin-left: -30%;
    }
    100% {
        margin-left: 100%;
    }
}
