/* Structural and layout CSS for JupyterHub templates */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.max-w-900 {
    max-width: 900px;
}

.max-w-700 {
    max-width: 700px;
}

.faq-item {
    font-size: 0.95rem;
    line-height: 1.4;
    text-align: justify;
}

.text-sm {
    font-size: 0.9rem;
}

.text-jupyter {
    color: #f37524 !important;
}

/* Login structural overrides for default JupyterHub layout */
#login-main {
    display: block !important;
    height: auto !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

#login-main form {
    width: 100% !important;
    max-width: none !important;
}

/* Custom flex utilities */
.flex-7 {
    flex: 7;
}

.flex-3 {
    flex: 3;
}

/* Theme-aware classes */
[data-bs-theme="dark"] .only-light {
    display: none !important;
}

[data-bs-theme="light"] .only-dark,
:root:not([data-bs-theme="dark"]) .only-dark {
    display: none !important;
}