@charset "utf-8";
/* ============================================================
   StatusPro — Modern Login Stylesheet
   Scoped to the login page. Does not affect other pages.
   Only targets the existing markup + ASP.NET control output.
   ============================================================ */

:root {
    --navy-900: #0a1a3f;
    --navy-800: #102a5c;
    --navy-700: #1c3d73;
    --accent:   #3b82f6;   /* clear, professional blue */
    --accent-dark: #2563eb;
    --ink:      #1e293b;
    --muted:    #64748b;
    --line:     #e2e8f0;
    --field-bg: #f8fafc;
    --card:     #ffffff;
    --danger:   #dc2626;
    --radius:   14px;
    --shadow:   0 20px 50px -12px rgba(8, 20, 55, 0.45);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    min-height: 100%;
    font-family: var(--font);
    font-size: 15px;
    color: var(--ink);
    /* Layered gradient replaces the old sliced background images */
    background: radial-gradient(1200px 600px at 50% -10%, var(--navy-700) 0%, var(--navy-900) 55%, #06122e 100%);
    -webkit-font-smoothing: antialiased;
}

img { border: none; max-width: 100%; height: auto; }

/* ---- Layout shell (replaces fixed 950px wrapper) ---- */
#Wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

#container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---- Brand header (text-based, no banner image needed) ---- */
#header {
    text-align: center;
    margin-bottom: 26px;
    height: auto;
    width: auto;
}
#header img { display: none; }          /* hide old banner jpg */
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
    box-shadow: 0 8px 22px -6px rgba(59, 130, 246, 0.7);
    margin-bottom: 14px;
}
.brand-name {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.4px;
}
.brand-tag {
    color: #93b4e6;
    font-size: 13px;
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* ---- Card ---- */
#middle {
    width: 100%;
    height: auto;
    background: none;
    overflow: visible;
    display: block;
}
.login-box { width: 100%; display: block; }
.login-box dl { margin: 0; }

.login-box-header {
    display: block;
    float: none;
    width: 100%;
    background: none;
    height: auto;
    line-height: 1.3;
    padding: 26px 30px 4px;
    font-size: 19px;
    font-weight: 650;
    color: var(--ink);
    background: var(--card);
    border-radius: var(--radius) var(--radius) 0 0;
}

.login-box-container {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    background: var(--card);
    border: none;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    padding: 0 30px 30px;
    overflow: hidden;
}

/* ---- Left intro column collapses into a subtle helper line ---- */
.loginbox-left {
    display: block;
    float: none;
    width: 100%;
    border: none;
    padding: 0 0 4px;
}
.key-img { display: none; }             /* hide old key graphic */
.loginbox-left h1 {
    float: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.4;
    display: none;                      /* header above already greets */
}
.loginbox-left p {
    float: none;
    padding: 0;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
    text-align: left;
    margin-bottom: 20px;
}

/* ---- Form column ---- */
.loginbox-right {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    background: none;
}
.loginbox-right form { margin-top: 0; }

.loginbox-right p {
    width: 100%;
    height: auto;
    margin-bottom: 16px;
}
.loginbox-right p label {
    display: block;
    width: 100%;
    float: none;
    text-align: left;
    padding: 0 0 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}
/* Text/password inputs (ASP.NET renders <input type=...>) */
.loginbox-right p input {
    width: 100%;
    float: none;
    height: 46px;
    line-height: normal;
    vertical-align: middle;
    border: 1px solid var(--line);
    background: var(--field-bg);
    border-radius: 10px;
    font-size: 15px;
    padding: 0 14px;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.loginbox-right p input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

/* Forgot-password link row */
.loginbox-right p a {
    display: inline;
    text-align: left;
    padding: 0;
    color: var(--accent-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.loginbox-right p a:hover { text-decoration: underline; }

/* ---- Login button (works for the existing ImageButton AND an
        optional <asp:Button>/<input type=submit>) ---- */
.login-btn {
    padding: 0;
    margin-top: 4px;
}
/* If kept as ImageButton, at least size it sensibly */
.login-btn input[type="image"] {
    display: block;
    margin: 0 auto;
    max-width: 220px;
}
/* If swapped to a real button, this makes it modern & full-width */
.login-btn input[type="submit"],
.login-btn button,
.btn-primary {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform .06s, box-shadow .15s, filter .15s;
    box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.7);
}
.login-btn input[type="submit"]:hover,
.login-btn button:hover,
.btn-primary:hover { filter: brightness(1.06); }
.login-btn input[type="submit"]:active,
.login-btn button:active,
.btn-primary:active { transform: translateY(1px); }

/* ---- Validation / error text ---- */
.error-msg {
    display: block;
    font-weight: 600;
    color: var(--danger);
    padding-left: 0;
    height: auto;
    line-height: 1.4;
    font-size: 12.5px;
    margin-top: -8px;
    margin-bottom: 10px;
}
.ErrText { color: var(--danger); font-size: 12.5px; font-weight: 600; }

/* The "password reset" confirmation table, kept but restyled soft */
.MatrixFormTable {
    width: 100% !important;
    height: auto !important;
    background: var(--field-bg);
    border-radius: 10px;
    margin-top: 12px;
}
.MatrixFormTable td { padding: 16px !important; text-align: center !important; }
.MatrixFormTable label { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.MatrixFormTable a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }

/* ---- Footer ---- */
#footer {
    display: block;
    float: none;
    width: 100%;
    height: auto;
    background: none;
    margin-top: 22px;
    text-align: center;
}
#footer dl { margin: 0; }
#footer dd { display: inline; }
#footer dd img { display: none; }       /* hide old footer end-cap gifs */
.footer-text {
    float: none;
    line-height: 1.4;
    color: #7f9bc9;
    padding-left: 0;
    font-size: 12px;
}

/* ---- Small screens ---- */
@media (max-width: 480px) {
    .login-box-header { padding: 22px 20px 4px; font-size: 18px; }
    .login-box-container { padding: 0 20px 24px; }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}
