/* Force centring globally for this page */
body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: var(--bg) !important;
}

/* Hide sidebar/content if theme.css tries to load them */
.sidebar, .content {
    display: none !important;
}

/* Login box styling */
.auth-box {
    width: 360px;
    padding: 35px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
    border: 1px solid var(--border-subtle);
}

.auth-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: bold;
    color: var(--text-strong);
}

.auth-link {
    display: block;
    margin-top: 18px;
    text-align: center;
    color: var(--accent);
    text-decoration: none;
}
.auth-link:hover {
    text-decoration: underline;
}

/* ── Microsoft SSO ── */
.sso-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 12px;
    color: var(--muted);
    font-size: 12px;
}
.sso-divider::before,
.sso-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}
.sso-divider span { padding: 0 12px; }

.btn-microsoft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s ease, box-shadow 0.12s ease;
}
.btn-microsoft:hover {
    background: #f8f9fa;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
body.dark .btn-microsoft {
    background: #2b2b30;
    color: #e8e8ea;
    border-color: #3a3a42;
}
body.dark .btn-microsoft:hover { background: #34343b; }
.btn-microsoft svg { display: block; flex-shrink: 0; }
