/* ==========================================================================
   PREMIUM GLASSMORPHIC INTERFACE: 201 FILE LEDGER GATEWAY
   ========================================================================== */

:root {
    --sss-blue: #0038a8;
    --sss-dark-navy: #021a3a;
    --sss-electric: #0b4cb3;
    --sss-gold: #ffaa00;
    --glass-bg: rgba(255, 255, 255, 0.96);
    --border-light: rgba(255, 255, 255, 0.4);
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

/* HIGHLY STYLISH MULTI-LAYERED FLUID ANIMATED BACKDROP */
.sss-animated-backdrop {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, var(--sss-dark-navy), #022b7a, var(--sss-blue), var(--sss-electric));
    background-size: 400% 400%;
    animation: sssFluidMotion 18s ease infinite;
    position: relative;
}

@keyframes sssFluidMotion {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Tech mesh grid geometric texture layer overlay */
.sss-backdrop-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(rgba(255, 170, 0, 0.03) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: 2;
}

/* FLOATING AMBIENT GLOW LIGHT HALOS (BOKEH BACKGROUND ENGINE) */
.ambient-glow-viewport {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 3;
}

.glow-halo {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.06) 0%, rgba(11, 76, 179, 0.04) 100%);
    border-radius: 50%;
    filter: blur(50px);
    animation: floatingGlowTransform 20s infinite ease-in-out;
}

.glow-halo:nth-child(1) { width: 450px; height: 450px; left: -5%; top: 15%; animation-duration: 22s; }
.glow-halo:nth-child(2) { width: 550px; height: 550px; right: -5%; bottom: -5%; animation-delay: -5s; animation-duration: 28s; }
.glow-halo:nth-child(3) { width: 350px; height: 350px; right: 25%; top: -10%; animation-delay: -10s; }

@keyframes floatingGlowTransform {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(-40px, -60px) scale(1.15) rotate(180deg); }
}

/* MASTER CARD DISPLAY SHELL CONTAINER VIEWPORT */
.sss-portal-container {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 950px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--glass-bg);
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 1px solid var(--border-light);
    animation: sssCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sssCardEntrance {
    0% { opacity: 0; transform: scale(0.96) translateY(30px); filter: blur(8px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* LEFT SIDE BRANDING COVER COLUMN PANEL */
.sss-brand-pane {
    background: #ffffff;
    padding: 60px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    position: relative;
}

/* Bottom Corporate Premium Indicator Ribbon Row */
.sss-brand-pane::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--sss-blue), var(--sss-gold));
}

/* ANIMATED BREATHING LOGO ELEMENT SHAPE */
.company-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 20px rgba(0, 56, 168, 0.1));
    animation: logoBreathingLoop 4s ease-in-out infinite;
}

@keyframes logoBreathingLoop {
    0%, 100% { transform: translateY(0) scale(1); filter: drop-shadow(0 10px 20px rgba(0, 56, 168, 0.1)); }
    50% { transform: translateY(-8px) scale(1.02); filter: drop-shadow(0 15px 25px rgba(0, 56, 168, 0.18)); }
}

.sss-brand-title {
    font-size: 26px;
    color: var(--sss-dark-navy);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.sss-brand-title span {
    color: var(--sss-blue);
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
    font-weight: 700;
}

.sss-brand-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* RIGHT SIDE ADMINISTRATIVE LOGIN INTERFACE WRAPPER */
.sss-login-wrapper {
    background-color: #fafbfc;
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sss-form-header {
    text-align: center;
    margin-bottom: 35px;
}

.sss-form-header h2 {
    font-size: 22px;
    color: var(--sss-dark-navy);
    margin: 0 0 6px 0;
    font-weight: 700;
}

.sss-form-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* FORM FIELD LABELS AND GLOWING FOCUS INTERACTIVE LINES */
.form-group {
    margin-bottom: 22px;
    text-align: left;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 13px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: var(--text-main);
    border-radius: 6px;
    box-sizing: border-box;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-control:focus {
    outline: none;
    border-color: var(--sss-blue);
    box-shadow: 0 0 0 4px rgba(0, 56, 168, 0.12);
    transform: scale(1.005);
}

/* GLOWING PROFESSIONAL SYSTEM ACTIONS SUBMIT LAYOUT BUTTONS */
.sss-btn-submit {
    background: linear-gradient(135deg, var(--sss-blue) 0%, #022b7a 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(2, 43, 122, 0.15);
}

.sss-btn-submit:hover {
    background: linear-gradient(135deg, #0c4ad9 0%, #033694 100%);
    box-shadow: 0 6px 22px rgba(2, 43, 122, 0.28);
    transform: translateY(-2px);
}

.sss-btn-submit:active {
    transform: translateY(0);
}

/* Custom Horizon Boundary Section Split Line */
.sss-divider-line {
    height: 1px;
    background-color: #e2e8f0;
    margin: 28px 0 22px 0;
}

/* Secondary Navigation Action Buttons */
.sss-btn-secondary {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    width: 100%;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sss-btn-secondary:hover {
    background: #f1f5f9;
    color: var(--sss-blue);
    border-color: #94a3b8;
}

/* RESPONSIVE LAYOUT FOR CONSTRAINED VIEWPORTS AND SMALL PHONE DISPLAYS */
@media (max-width: 768px) {
    .sss-portal-container {
        grid-template-columns: 1fr;
    }
    .sss-brand-pane {
        padding: 45px 25px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .sss-login-wrapper {
        padding: 45px 25px;
    }
}
