.aichat-auth-boot,
.aichat-auth-boot body,
.aichat-auth-boot #app {
    min-height: 100%;
}

.aichat-auth-boot { color-scheme: light; }

.aichat-auth-boot body {
    margin: 0;
    height: auto;
    overflow: auto;
    background: #f4f6f5;
    color: #182421;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.auth-header,
.auth-footer {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 0;
}

.auth-brand {
    color: #182421;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.auth-chat-link {
    color: #266052;
    font-size: 14px;
    text-decoration: none;
}

.auth-chat-link:hover { text-decoration: underline; }

.auth-main {
    width: min(100% - 48px, 560px);
    margin: auto;
    padding: 64px 0;
}

.auth-label {
    color: #3a7865;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.auth-main h1 {
    margin: 18px 0 12px;
    font-size: 46px;
    line-height: 1.16;
}

.auth-main p {
    margin: 0;
    color: #586963;
    font-size: 16px;
    line-height: 1.6;
}

.auth-actions { margin-top: 36px; }

.auth-primary {
    min-width: 180px;
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: #186b58;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.auth-primary:hover { background: #105543; }
.auth-secondary {
    min-height: 46px;
    margin-left: 12px;
    padding: 0 16px;
    border: 1px solid #b7c9c1;
    border-radius: 6px;
    background: transparent;
    color: #266052;
    cursor: pointer;
    font: inherit;
}

.auth-secondary:hover { background: #e8efeb; }
.auth-primary:focus-visible,
.auth-secondary:focus-visible,
.auth-chat-link:focus-visible,
.auth-brand:focus-visible { outline: 3px solid #45a983; outline-offset: 3px; }

.auth-actions .auth-status {
    min-height: 26px;
    margin-top: 14px;
    font-size: 14px;
}

.auth-footer {
    padding: 20px 0 30px;
    color: #85948e;
    font-size: 13px;
}

@media (max-width: 600px) {
    .auth-header,
    .auth-footer,
    .auth-main { width: min(100% - 36px, 560px); }
    .auth-header { padding: 20px 0; }
    .auth-main { padding: 40px 0; }
    .auth-main h1 { font-size: 30px; }
    .auth-primary,
    .auth-secondary { width: 100%; margin-left: 0; }
    .auth-secondary { margin-top: 10px; }
}
