/* ==========================================================================
   PREMIUM INSTITUTIONAL RECRUITMENT PORTAL GATEWAY THEME
   ========================================================================== */

:root {
    --primary-blue: #0038a8;
    --dark-navy: #022b7a;
    --accent-orange: #ff9900;
    --accent-gold: #ffaa00;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-color: #cbd5e1;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    overflow: hidden;
}

/* PREMIUM FLUID GRADIENT BACKDROP SHIFTING ENGINE */
.sss-animated-backdrop {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(-45deg, #021a3a, #022b7a, #0038a8, #114fb5);
    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%; }
}

/* Elegant geometric overlay dot mesh */
.sss-backdrop-mesh {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(rgba(255, 170, 0, 0.04) 1.5px, transparent 1.5px);
    background-size: 28px 24px;
    z-index: 2;
}

/* FLOATING AMBIENT LIGHT PARTICLES ENGINE */
.ambient-glow-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 3;
}

.glow-bubble {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.05) 0%, rgba(0, 56, 168, 0.03) 100%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatingGlow 22s infinite linear;
}

.glow-bubble:nth-child(1) { width: 400px; height: 400px; left: -10%; top: 20%; animation-duration: 25s; }
.glow-bubble:nth-child(2) { width: 500px; height: 500px; right: -5%; bottom: -10%; animation-delay: -4s; }
.glow-bubble:nth-child(3) { width: 300px; height: 300px; right: 20%; top: -5%; animation-delay: -8s; }

@keyframes floatingGlow {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    50% { transform: translateY(-50px) scale(1.1) rotate(180deg); }
    100% { transform: translateY(0) scale(1) rotate(360deg); }
}

/* MASTER CARD PANEL STRUCTURE SHIELD */
.sss-portal-container {
    position: relative;
    z-index: 10;
    width: 92%;
    max-width: 1020px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    background: var(--glass-bg);
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: sssCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes sssCardEntrance {
    0% { opacity: 0; transform: scale(0.95) translateY(25px); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* LEFT SIDE DISPLAY BRANDING COVER PANE */
.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;
}

/* Corporate Premium Accent Indicator Strip */
.sss-brand-pane::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
}

.company-logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 16px rgba(2, 43, 122, 0.08));
    animation: bounceLogo 4s ease-in-out infinite;
}

@keyframes bounceLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.sss-brand-title {
    font-size: 26px;
    color: var(--dark-navy);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.sss-brand-title span {
    color: var(--primary-blue);
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 6px;
}

.sss-brand-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* RIGHT SIDE AUTHENTICATION INTERFACE MODULE WRAPPER */
.sss-login-wrapper {
    background-color: #fafbfc;
    padding: 55px 50px;
    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(--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 LABELS AND STYLISH GLOWING FIELDS */
.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: 12px 14px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    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(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 56, 168, 0.12);
    transform: scale(1.005);
}

/* STYLISH BLUE MICRO-INTERACTIVE CALL TO ACTIONS BUTTONS */
.sss-btn-submit {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-navy) 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 20px rgba(2, 43, 122, 0.25);
    transform: translateY(-2px);
}

.sss-btn-submit:active {
    transform: translateY(0);
}

/* Section Partition Line Wrapper */
.sss-divider-line {
    height: 1px;
    background-color: #e2e8f0;
    margin: 28px 0 22px 0;
}

/* Bottom Secondary Navigation Buttons Layout */
.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(--primary-blue);
    border-color: #94a3b8;
}

/* SMOOTH RESPONSIVE ADJUSTMENTS FOR SMALL COMPUTERS & MOBILES */
@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;
    }
}
