/* =========================================================================
   PES-LPG Cloud — Enterprise Downstream LPG Login Stylesheet
   ========================================================================= */

:root {
    --brand-primary: #0284c7;
    --brand-primary-hover: #0369a1;
    --brand-dark: #0f172a;
    --brand-navy: #090d16;
    --surface-bg: #f8fafc;
    --card-border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

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

body, html {
    height: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--surface-bg);
    color: var(--text-main);
    overflow-x: hidden;
}

.login-layout {
    display: flex;
    min-height: 100vh;
    width: 100vw;
}

/* =========================================================================
   LEFT PANEL: AUTHENTICATION FORM & 25% IT SYSTEM INTRODUCTION
   ========================================================================= */
.login-panel-form {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    position: relative;
    z-index: 10;
}

@media (min-width: 992px) {
    .login-panel-form {
        flex: 0 0 540px;
        max-width: 540px;
        padding: 40px 48px;
        box-shadow: 12px 0 35px rgba(0, 0, 0, 0.04);
    }
}

@media (min-width: 1280px) {
    .login-panel-form {
        flex: 0 0 580px;
        max-width: 580px;
        padding: 44px 54px;
    }
}

.form-content-wrap {
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
}

/* 75% SECTION: USER ORGANIZATION HIGHLIGHTED BRANDING */
.org-brand-header {
    margin-bottom: 24px;
}

.org-company-logo {
    height: 52px;
    max-height: 52px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 12px;
}

.org-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.3px;
}

.pulse-station-dot {
    width: 7px;
    height: 7px;
    background: #0284c7;
    border-radius: 50%;
    box-shadow: 0 0 6px #0284c7;
    animation: stationPulse 2s infinite ease-in-out;
}

@keyframes stationPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.heading-welcome {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin-bottom: 6px;
}

.sub-welcome {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 22px;
}

/* Form Inputs */
.form-group-custom {
    margin-bottom: 16px;
}

.form-label-custom {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
    display: block;
}

.input-group-custom {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    transition: all 0.2s ease;
    overflow: hidden;
}

.input-group-custom:focus-within {
    border-color: #0284c7;
    box-shadow: 0 0 0 3.5px rgba(2, 132, 199, 0.12);
}

.input-icon-prefix {
    padding: 10px 14px;
    color: #94a3b8;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-group-custom:focus-within .input-icon-prefix {
    color: #0284c7;
}

.input-field-custom {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px 14px 10px 0;
    font-size: 13.5px;
    color: #0f172a;
    font-weight: 500;
    background: transparent;
}

.input-field-custom::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.password-toggle-btn {
    background: none;
    border: none;
    padding: 0 14px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.15s;
}

.password-toggle-btn:hover {
    color: #0f172a;
}

/* Remember & Forgot */
.auth-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 20px 0;
    font-size: 12px;
}

.auth-actions-row a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.auth-actions-row a:hover {
    text-decoration: underline;
}

/* Sign In Button */
.btn-signin-custom {
    width: 100%;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-signin-custom:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.42);
    transform: translateY(-1px);
}

/* Demo Fill Pills */
.demo-fill-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 18px;
}

.demo-fill-title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 7px;
    text-align: center;
}

.demo-btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.demo-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
}

.demo-pill:hover {
    border-color: #0284c7;
    background: #f0f9ff;
    color: #0284c7;
}

.demo-pill-company i { color: #0d9488; }
.demo-pill-admin i { color: #2563eb; }
.demo-pill-manager i { color: #7c3aed; }

/* =========================================================================
   25% IT SYSTEM ARCHITECTURE INTRODUCTION CARD (AT BOTTOM)
   ========================================================================= */
.system-it-introduction {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 24px;
}

.it-intro-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.it-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.it-engine-ver {
    font-size: 10px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 7px;
    border-radius: 999px;
}

.it-intro-text {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 8px;
}

.it-intro-specs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    border-top: 1px solid #edf2f7;
    padding-top: 8px;
}

.it-intro-specs span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* =========================================================================
   RIGHT PANEL: PREMIUM 3D CYLINDER SHOWCASE
   ========================================================================= */
.login-panel-showcase {
    display: none;
    flex: 1;
    background: linear-gradient(145deg, #090d16 0%, #0f172a 35%, #1e1b4b 75%, #075985 100%);
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    padding: 44px 48px;
    color: #ffffff;
}

@media (min-width: 992px) {
    .login-panel-showcase {
        display: flex;
    }
}

.showcase-radial-glow {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(3, 105, 161, 0.08) 50%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.showcase-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

.showcase-top-bar {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #38bdf8;
    text-transform: uppercase;
}

.showcase-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.showcase-cylinder-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto 0;
}

.cylinder-img-wrapper {
    position: relative;
    display: inline-block;
    transition: transform 0.4s ease;
}

.cylinder-img-wrapper:hover {
    transform: translateY(-6px) scale(1.02);
}

.cylinder-img-wrapper img {
    max-height: 380px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    position: relative;
    z-index: 2;
}

@media (max-height: 850px) {
    .cylinder-img-wrapper img {
        max-height: 290px;
    }
}

.cylinder-pedestal-shadow {
    width: 190px;
    height: 24px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 70%);
    margin-top: -12px;
    border-radius: 50%;
    z-index: 1;
}

.showcase-features-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.showcase-feature-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.showcase-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.feature-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.showcase-feature-card:nth-child(1) .feature-icon-circle { color: #38bdf8; }
.showcase-feature-card:nth-child(2) .feature-icon-circle { color: #4ade80; }
.showcase-feature-card:nth-child(3) .feature-icon-circle { color: #fbbf24; }

.feature-card-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.feature-card-desc {
    font-size: 10px;
    color: #94a3b8;
    line-height: 1.35;
}
