﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
  .sds-watermark::after {
        font-size: 140px;
        right: 10px;
        top: 70%;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/* Force all links in top bar to stay white */
.top-bar a,
.top-bar a:visited {
    color: #ffffff !important;
}

/* ---------- Top Bar ---------- */

.top-bar {
    background-color: #0b66d6; /* 3-East blue */
    height: 48px;
    display: flex;
    align-items: center;
}

.top-bar-content {
    width: 100%;
    padding-left: 15px; /* how close to the edge you want */
    padding-right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-link {
    color: #ffffff;
    font-size: 13px;
    margin-right: 15px;
    text-decoration: none;
}

    .top-link:hover {
        text-decoration: underline;
    }

/* ---------- Main Login Area ---------- */

.login-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.login-logo {
    max-width: 140px; /* KEY FIX: logo size */
    height: auto;
    margin-bottom: 20px;
}

/* ---------- Login Card ---------- */

.login-card {
    width: 340px;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

    .login-card .form-group {
        margin-bottom: 15px;
    }

    .login-card input {
        text-align: center;
    }

/* ---------- Login Button ---------- */

.btn-login {
    width: 100%;
    background-color: #0b66d6;
    border-color: #0b66d6;
}

    .btn-login:hover {
        background-color: #094fa6;
        border-color: #094fa6;
    }

/* ---------- Links ---------- */

.login-links {1
    margin-top: 12px;
    font-size: 12px;
}

    .login-links a {
        margin: 0 6px;
        color: #0b66d6;
        text-decoration: none;
    }

        .login-links a:hover {
            text-decoration: underline;
        }

/* ---------- Footer ---------- */

.login-footer {
    background-color: #0b66d6;
    color: #ffffff;
    text-align: center;
    padding: 5px 0;
    font-size: 24px;
}

    .login-footer a {
        color: #ffffff;
        margin-left: 8px;
        text-decoration: underline;
    }
    
.footer-sep {
    margin: 0 10px; /* adjust spacing here */
}
/* ---------- Sticky Layout ---------- */

html, body {
    height: 100%;
}

.layout-root {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Main content grows, footer sticks */
.layout-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Host wrapper */
.page-watermark {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

/* Keep page content above watermark */
.page-watermark > * {
    position: relative;
    overflow: hidden;
}

.sds-watermark::after {
    content: "SDS";
    position: fixed;
    right: 40px;
    top: 72%;  
    transform: translateY(-50%);
    font-size: 220px;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 6px rgba(0, 0, 0, 0.05);
    text-stroke: 6px rgba(0, 0, 0, 0.05);
    z-index: 0;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}
/* Overall page layout (between nav and footer) */
.page-shell {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-height) - var(--footer-height));
}

/* Scrollable privacy content */

.privacy-scroll {
    height: calc(100vh - 110px); /* nav + footer combined */
    overflow-y: auto;
}

:root {
    --nav-height: 60px;
    --footer-height: 50px;
}
.privacy-scroll::-webkit-scrollbar {
    width: 8px;
}

.privacy-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}
.privacy-scroll h2 {
    margin-top: 2.5rem;
}

.privacy-scroll p,
.privacy-scroll li {
    line-height: 1.6;
}