body {
    background-color: #ebebeb;
}

/* ── Wrapper & Card ── */
.signin-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 3.13rem);
    padding: 20px;
    gap: 18px;
}

.signin-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #7a93a8;
    text-align: center;
}

.signin-card {
    background: #fff;
    border: 1px solid #d4e4ef;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 390px;
    overflow: hidden;
}

/* ── Section ── */
.signin-section {
    padding: 20px 24px;
}

.signin-section-header {
    color: #2a9fd6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-top: 3px solid #2a9fd6;
    padding-top: 12px;
    margin-bottom: 16px;
}

/* ── Input group labels ── */
.signin-label {
    background-color: #d6edf8;
    border-color: #b8d8ee;
    color: #1a6b9a;
    font-size: 13px;
    font-weight: 600;
    min-width: 95px;
    justify-content: center;
}

.signin-label-sm {
    min-width: 85px;
    font-size: 12px;
}

/* ── Eye toggle button ── */
.signin-eye {
    background: #fff;
    border-color: #dee2e6;
    color: #6c757d;
}
.signin-eye:hover {
    background: #f8f9fa;
    color: #333;
}

/* ── Log In button ── */
.signin-btn {
    background-color: #2a9fd6;
    border-color: #2a9fd6;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 9px;
}
.signin-btn:hover {
    background-color: #1d8abf;
    border-color: #1d8abf;
    color: #fff;
}

/* ── Error text ── */
.signin-error {
    color: #dc3545;
    font-size: 13px;
}

/* ── OR Divider ── */
.signin-divider {
    display: flex;
    align-items: center;
    margin: 0 24px;
    color: #aaa;
    font-size: 12px;
    letter-spacing: 0.05em;
}
.signin-divider::before,
.signin-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dee2e6;
}
.signin-divider::before { margin-right: 10px; }
.signin-divider::after  { margin-left:  10px; }

/* ── Enterprise section ── */
.signin-enterprise {
    padding-top: 16px;
}

.signin-enterprise-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

/* ── Microsoft button ── */
.btn-microsoft {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #8c8c8c;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.btn-microsoft:hover {
    background-color: #f3f3f3;
    color: #333;
    text-decoration: none;
}

/* ── Google sign-in button ──
   Same neutral shape as .btn-microsoft so the two providers read as equal choices.
   Google's brand guidance: white surface, #747775 border, Roboto-ish weight 500. */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    background-color: #fff;
    color: #1f1f1f;
    border: 1px solid #747775;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.btn-google:hover {
    background-color: #f3f3f3;
    color: #1f1f1f;
    text-decoration: none;
}

/* Divider between the two provider buttons */
.signin-provider-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    color: #9aa0a6;
    font-size: 11px;
    letter-spacing: .06em;
}

.signin-provider-or::before,
.signin-provider-or::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

/* ── Password eye SVG fallback (keep for compat) ── */
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear { display: none; }

/* ── Dev DB Selector ── */
.signin-db-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 24px 16px;
}

.signin-db-header {
    color: #6c757d;
    border-top-color: #6c757d;
    font-size: 10px;
    margin-bottom: 10px;
}

.signin-db-btn {
    background-color: #fff;
    border-color: #ced4da;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-align: left;
}
.signin-db-btn:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
    color: #333;
}
.signin-db-btn .fa-database {
    color: #adb5bd;
    font-size: 12px;
    flex-shrink: 0;
}

.signin-db-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 1px 5px;
    border-radius: 3px;
    margin-right: 4px;
}
.signin-db-badge-prod {
    background: #ffd6d6;
    color: #c0392b;
}
.signin-db-badge-dev {
    background: #d4edda;
    color: #155724;
}

.signin-db-item {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.signin-db-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.signin-db-dot-prod { background: #e74c3c; }
.signin-db-dot-dev  { background: #27ae60; }

/* ── Footer ── */
.footer-wrapper {
    position: static;
    display: table-row;
}
