/* SystemDR Login Page Styles */

/* ── Replace-mode: custom login container ─────────────────────────────── */
.systemdr-login-page { margin-top: 8px; }

.systemdr-alt-links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #646970;
}
.systemdr-alt-links a { color: #2271b1; text-decoration: none; }
.systemdr-alt-links a:hover { text-decoration: underline; }

/* ── Shared divider ───────────────────────────────────────────────────── */
.systemdr-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 16px;
    color: #72777c;
    font-size: 13px;
}
.systemdr-divider::before,
.systemdr-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #dcdcde;
}

/* ── Google button ────────────────────────────────────────────────────── */
.systemdr-google-wrap { margin-bottom: 8px; }

.systemdr-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #dadce0;
    border-radius: 6px;
    background: #fff;
    color: #3c4043;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
    box-sizing: border-box;
}
.systemdr-google-btn:hover,
.systemdr-google-btn:focus {
    background: #f8f9fa;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    color: #3c4043;
    text-decoration: none;
}
.systemdr-google-btn__icon { flex-shrink: 0; }

/* ── Error/info notices ───────────────────────────────────────────────── */
.systemdr-error {
    border-left: 4px solid #d63638 !important;
    background: #fcf0f1 !important;
}
.systemdr-info {
    border-left: 4px solid #2271b1 !important;
    background: #f0f6fc !important;
}

/* ── Login with code section ──────────────────────────────────────────── */
.systemdr-code-login { margin-top: 4px; }

.systemdr-code-form {
    padding: 0;
    background: #fff;
}

.systemdr-code-login__note {
    margin: 0 0 14px;
    color: #646970;
    font-size: 13px;
}

.systemdr-field { margin-bottom: 12px; }
.systemdr-label {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
}

.systemdr-code-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ── Verify step ──────────────────────────────────────────────────────── */
.systemdr-code-login--verify {
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 20px;
    background: #fff;
    text-align: center;
}
.systemdr-verify-heading { margin: 0 0 8px; font-size: 1rem; color: #1d2327; }
.systemdr-verify-user { margin: 0 0 16px; font-size: 13px; color: #646970; }

.systemdr-otp-input {
    text-align: center !important;
    font-size: 1.5rem !important;
    letter-spacing: .5rem !important;
    font-weight: 700 !important;
    max-width: 180px;
    margin: 0 auto;
    display: block;
}

.systemdr-verify-back { margin-top: 12px; font-size: 13px; }
