
#login-view.login-view-split {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: none;
    align-items: stretch;
    justify-content: stretch;
    overflow-x: hidden;
}

#login-view.login-view-split.active {
    display: flex !important;
}

.login-bg-media {
    position: absolute;
    inset: 0;
    background: url('/login-bg.jpg?v=1792179122') center center / cover no-repeat;
    z-index: 0;
}

.login-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 23, 42, 0.75) 0%,
        rgba(15, 23, 42, 0.35) 50%,
        rgba(15, 23, 42, 0.6) 100%
    );
}

.login-split-container {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100vh;
    align-items: stretch;
}

.login-showcase-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    animation: fadeInShowcase 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInShowcase {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.showcase-content {
    max-width: 620px;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #38bdf8;
    box-shadow: 0 0 10px #38bdf8;
    animation: dotPulse 2s infinite;
}

.showcase-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.showcase-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 36px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.showcase-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.showcase-feature-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.showcase-feature-pill svg {
    color: #38bdf8;
}

.login-form-side {
    width: 580px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px 40px 20px;
    animation: fadeInCorner 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInCorner {
    from {
        opacity: 0;
        transform: translateX(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.login-card-corner {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow:
        0 10px 25px -5px rgba(0, 0, 0, 0.2),
        0 30px 60px -15px rgba(15, 23, 42, 0.45);
    padding: 46px 42px 34px 42px;
    position: relative;
    overflow: hidden;
}

.login-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5px;
    background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 50%, #10b981 100%);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.login-logo {
    max-height: 54px;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.login-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #1d4ed8;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2563eb;
    box-shadow: 0 0 0 2.5px rgba(37, 99, 235, 0.25);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.login-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 6px;
}

.login-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.45;
    max-width: 340px;
    margin: 0 auto;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 7px;
    letter-spacing: -0.01em;
}

.login-input {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.login-input::-ms-reveal,
.login-input::-ms-clear {
    display: none !important;
}

.login-input:hover {
    border-color: #94a3b8;
}

.login-input:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.login-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.login-error-container {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #dc2626;
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: shakeError 0.4s ease-in-out;
}

.login-error-container .error-icon {
    color: #dc2626;
    flex-shrink: 0;
}

.login-error-container .error-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #991b1b;
    line-height: 1.4;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.btn-login-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(0, 0, 0, 0.06);
    position: relative;
}

.btn-login-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4), 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.btn-login-submit:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.24);
}

.btn-login-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    background: #64748b;
    box-shadow: none;
}

.btn-icon-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.btn-login-submit:hover:not(:disabled) .btn-icon-arrow {
    transform: translateX(4px);
}

.spin {
    animation: rotateSpin 0.9s linear infinite;
}

@keyframes rotateSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-footer {
    margin-top: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.login-security-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 500;
}

.login-security-tag svg {
    color: #10b981;
}

@media (max-width: 1080px) {
    .login-showcase-panel {
        padding: 40px;
    }
    .showcase-title {
        font-size: 2.4rem;
    }
    .login-form-side {
        width: 500px;
        padding: 30px;
    }
}

@media (max-width: 900px) {
    .login-split-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 24px 16px;
    }

    .login-showcase-panel {
        display: none;
    }

    .login-form-side {
        width: 100%;
        padding: 0;
    }

    .login-card-corner {
        max-width: 440px;
        padding: 34px 26px 26px 26px;
        border-radius: 20px;
    }
}
