﻿body {
    background-color: aliceblue;
    background-size: 100px auto;
    background-repeat: no-repeat;
    background-position: left 10px;
}

.css-logout-panel {
    width: 500px;
    padding: 20px;
    border-radius: 5px;
    background-color: white;
    -moz-box-shadow: 3px 3px 0px 0px #a1a1a1;
    -webkit-box-shadow: 3px 3px 0px 0px #a1a1a1;
    box-shadow: 0px 0px 8px 0px #a1a1a1;
    margin-top: 100px;
    font-family: Verdana;
    text-align: justify;
    border: solid 1px #46b8da;
}

.css-login-library-icon {
    height: 21px;
    width: 106px;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100% 100%;
    top: 10px;
    left: 10px;
    position: absolute;
    z-index: 100;
}

footer {
    color: #808080;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-left: 10px;
    padding-top: 5px;
    position: fixed;
    font-family: Cambria;
    font-size: smaller;
}

.css-login-section {
    top: 10px;
    right: 10px;
    position: absolute;
    z-index: 100;
}

.btn {
    display: inline-block;
    padding: 9px 12px;
    padding-top: 7px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    color: #5e5e5e;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-color: #d1dade;
    -webkit-border-radius: 3px;
    background-image: none !important;
    border: none;
    text-shadow: none;
    box-shadow: none;
    transition: all 0.12s linear 0s !important;
    font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    text-decoration: none;
}

.btn-primary {
    color: #ffffff;
    background-color: #0aa699;
}

body.signout-page,
body.session-expired-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c4960;
}

body.signout-page {
    background:
        radial-gradient(circle at top left, rgba(52, 152, 219, 0.16) 0, rgba(52, 152, 219, 0) 28%),
        radial-gradient(circle at bottom right, rgba(46, 204, 113, 0.14) 0, rgba(46, 204, 113, 0) 26%),
        linear-gradient(180deg, #eef5fb 0%, #e8f0f7 100%);
}

body.session-expired-page {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.13) 0, rgba(59, 130, 246, 0) 26%),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.13) 0, rgba(245, 158, 11, 0) 24%),
        linear-gradient(180deg, #eff4f9 0%, #e7eef6 100%);
}

body.unauthorized-page {
    background:
        radial-gradient(circle at top center, rgba(239, 68, 68, 0.10) 0, rgba(239, 68, 68, 0) 20%),
        radial-gradient(circle at bottom right, rgba(249, 115, 22, 0.10) 0, rgba(249, 115, 22, 0) 24%),
        linear-gradient(180deg, #eff4f9 0%, #e8eef6 100%);
}

.auth-scene,
.signout-page .signout-scene {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    overflow: hidden;
}

.auth-orb,
.signout-page .signout-orb {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(6px);
}

.auth-orb-one,
.signout-page .signout-orb-one {
    top: 8%;
    left: 8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(46, 154, 208, 0.20) 0%, rgba(46, 154, 208, 0) 70%);
}

.auth-orb-two,
.signout-page .signout-orb-two {
    right: 10%;
    bottom: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 179, 237, 0.16) 0%, rgba(99, 179, 237, 0) 72%);
}

.auth-card,
.signout-page .signout-card {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    padding: 26px 28px 24px;
    border: 1px solid rgba(194, 217, 234, 0.95);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(246,250,253,0.96) 52%, rgba(238,246,252,0.92) 100%);
    box-shadow: 0 28px 60px rgba(31, 57, 83, 0.14), inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
}

.auth-eyebrow {
    color: #6f8aa1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
}

.auth-brand-row-stack {
    align-items: flex-start;
}

.auth-title {
    color: #234766;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.auth-copy {
    margin: 0;
    max-width: 58ch;
    color: #557188;
    font-size: 15px;
    line-height: 1.75;
}

.auth-copy-compact {
    margin-top: 10px;
}

.auth-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.auth-info-card {
    padding: 16px 18px;
    border: 1px solid #d9e7f1;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,250,253,0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}

.auth-info-label {
    color: #6b879e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-info-value {
    margin-top: 8px;
    color: #35556d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.auth-btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #2da6d7 0%, #2589b6 100%);
    box-shadow: 0 10px 24px rgba(37, 129, 175, 0.24);
}

.auth-btn-secondary {
    color: #35556d;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7fb 100%);
    border: 1px solid #d6e4ef;
    box-shadow: 0 8px 18px rgba(31, 57, 83, 0.08);
}

.auth-footer-note {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dde9f2;
    color: #6f879d;
    font-size: 12px;
    line-height: 1.6;
}

.signout-page .signout-eyebrow {
    color: #6f8aa1;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signout-page .signout-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
}

.signout-page .signout-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.signout-page .signout-logo {
    height: 52px;
    width: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(88, 110, 156, 0.14));
}

.signout-page .signout-state {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #dceaf4;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #32627f;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.signout-page .signout-state-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #31c48d 0%, #1fa971 100%);
    box-shadow: 0 0 0 6px rgba(49, 196, 141, 0.12);
}

.signout-page .signout-title {
    margin: 26px 0 10px;
    color: #234766;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.signout-page .signout-copy {
    margin: 0;
    max-width: 58ch;
    color: #557188;
    font-size: 15px;
    line-height: 1.75;
}

.signout-page .signout-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.signout-page .signout-info-card {
    padding: 16px 18px;
    border: 1px solid #d9e7f1;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,250,253,0.92) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}

.signout-page .signout-info-label {
    color: #6b879e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.signout-page .signout-info-value {
    margin-top: 8px;
    color: #35556d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.signout-page .signout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #dde9f2;
}

.signout-page .signout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.signout-page .signout-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.signout-page .signout-btn-primary {
    color: #fff;
    background: linear-gradient(180deg, #2da6d7 0%, #2589b6 100%);
    box-shadow: 0 10px 24px rgba(37, 129, 175, 0.24);
}

.signout-page .signout-note {
    color: #6f879d;
    font-size: 12px;
    line-height: 1.6;
    text-align: right;
}

.session-expired-page .session-expired-visual-wrap {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.session-expired-page .session-expired-visual-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #dbe7f0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,253,0.93) 100%);
    box-shadow: 0 14px 28px rgba(31, 57, 83, 0.08);
}

.session-expired-page .session-expired-visual {
    display: block;
    max-width: min(100%, 240px);
    height: auto;
    border-radius: 14px;
}

.unauthorized-page .unauthorized-card {
    width: min(660px, 100%);
}

.unauthorized-page .unauthorized-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid #f0d2cd;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,247,245,0.93) 100%);
    color: #a34b3c;
    font-size: 12px;
    font-weight: 700;
}

.unauthorized-page .unauthorized-badge i {
    color: #d46a5c;
}

.unauthorized-page .unauthorized-info-grid {
    margin-top: 24px;
}

.unauthorized-page .unauthorized-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

@media (max-width: 767px) {
    .auth-scene,
    .signout-page .signout-scene {
        padding: 20px 14px;
    }

    .auth-card,
    .signout-page .signout-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .signout-page .signout-brand-row,
    .signout-page .signout-actions,
    .auth-brand-row,
    .auth-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .signout-page .signout-title,
    .auth-title {
        font-size: 30px;
    }

    .signout-page .signout-info-grid,
    .auth-info-grid {
        grid-template-columns: 1fr;
    }

    .signout-page .signout-btn,
    .auth-btn {
        width: 100%;
    }

    .signout-page .signout-note {
        text-align: left;
    }

    .unauthorized-page .unauthorized-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
