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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to right, #fff 0%, #ffffff 25%, #d3e2f9 50%, #638ac5 75%, #00368B 100%);
    animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.container {
    display: flex;
    height: 100vh;
}

.left-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.left-content {
    position: relative;
    z-index: 10;
    padding: 60px;
    text-align: center;
    max-width: 800px;
}

.logo-box {
    margin: auto 60px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: flex;
    align-items: start;
    justify-content: left;

    transition: transform 0.3s ease;
}

.brand-title {
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.brand-subtitle {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.features {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(203, 213, 225, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 70px;
    animation: slideInLeft 0.6s ease both;
}

.feature-item:nth-child(1) {
    animation-delay: 0.3s;
}
.feature-item:nth-child(2) {
    animation-delay: 0.4s;
}
.feature-item:nth-child(3) {
    animation-delay: 0.5s;
}
.feature-item:nth-child(4) {
    animation-delay: 0.6s;
}
.feature-item:nth-child(5) {
    animation-delay: 0.7s;
}
.feature-item:nth-child(6) {
    animation-delay: 0.8s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-item:hover {
    background: rgba(226, 232, 240, 0.8);
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 8px 20px rgba(100, 116, 139, 0.2);
}

.feature-icon {
    color: #6366f1;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.3) rotate(10deg);
    color: #4f46e5;
}

.feature-text {
    color: #475569;
    font-size: 15px;
    text-align: left;
}

.right-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.charts-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Top Left - Area Chart */
.area-chart {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 280px;
    height: 180px;
    opacity: 0.25;
}

.area-path {
    fill: url(#areaGradient);
    animation: areaFloat 4s ease-in-out infinite;
}

.area-line {
    stroke: #10b981;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.6));
}

@keyframes areaFloat {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Top Right - Donut Chart */
.donut-chart {
    position: absolute;
    top: 8%;
    right: 8%;
    width: 140px;
    height: 140px;
    opacity: 0.3;
}

.donut-segment {
    transform-origin: center;
    animation: donutSpin 8s linear infinite;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

@keyframes donutSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Center Left - Line Chart */
.line-chart {
    position: absolute;
    top: 35%;
    left: 8%;
    width: 300px;
    height: 160px;
    opacity: 0.28;
}

.trend-line {
    stroke: #06b6d4;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawTrendLine 3s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.7));
}

@keyframes drawTrendLine {
    0%, 100% {
        stroke-dasharray: 600;
        stroke-dashoffset: 600;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

/* Center Right - Candlestick Chart */
.candlestick-chart {
    position: absolute;
    top: 32%;
    right: 10%;
    width: 240px;
    height: 200px;
    opacity: 0.3;
}

.candle {
    animation: candleGlow 2.5s ease-in-out infinite;
}

.candle:nth-child(1) {
    animation-delay: 0s;
}
.candle:nth-child(2) {
    animation-delay: 0.25s;
}
.candle:nth-child(3) {
    animation-delay: 0.5s;
}
.candle:nth-child(4) {
    animation-delay: 0.75s;
}
.candle:nth-child(5) {
    animation-delay: 1s;
}
.candle:nth-child(6) {
    animation-delay: 1.25s;
}

@keyframes candleGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.8));
    }
}

/* Bottom Left - Bar Chart */
.bar-chart {
    position: absolute;
    bottom: 8%;
    left: 10%;
    width: 220px;
    height: 160px;
    opacity: 0.25;
}

.bar {
    transform-origin: center bottom;
    animation: barPulse 3s ease-in-out infinite;
}

.bar:nth-child(1) {
    animation-delay: 0s;
}
.bar:nth-child(2) {
    animation-delay: 0.2s;
}
.bar:nth-child(3) {
    animation-delay: 0.4s;
}
.bar:nth-child(4) {
    animation-delay: 0.6s;
}
.bar:nth-child(5) {
    animation-delay: 0.8s;
}
.bar:nth-child(6) {
    animation-delay: 1s;
}

@keyframes barPulse {
    0%, 100% {
        transform: scaleY(0.7);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.7));
    }
}

/* Bottom Right - Progress Circles */
.progress-circles {
    position: absolute;
    bottom: 10%;
    right: 12%;
    width: 180px;
    height: 140px;
    opacity: 0.25;
}

.progress-circle {
    animation: progressRotate 3s ease-in-out infinite;
}

.progress-circle:nth-child(1) {
    animation-delay: 0s;
}
.progress-circle:nth-child(2) {
    animation-delay: 0.5s;
}
.progress-circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes progressRotate {
    0% {
        stroke-dashoffset: 251;
        opacity: 0.5;
    }
    50% {
        stroke-dashoffset: 63;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 251;
        opacity: 0.5;
    }
}

/* Background Grid Pattern */
.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    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: 60px 60px;
    animation: gridFloat 25s linear infinite;
}

@keyframes gridFloat {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

.login-box {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 100;
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.login-header {
    margin-bottom: 45px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.login-title {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(139, 92, 246, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 2px 20px rgba(139, 92, 246, 0.5);
    }
    50% {
        text-shadow: 0 2px 30px rgba(139, 92, 246, 0.8), 0 0 40px rgba(139, 92, 246, 0.4);
    }
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.form-group {
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease both;
}

.form-group:nth-child(1) {
    animation-delay: 0.5s;
}
.form-group:nth-child(2) {
    animation-delay: 0.6s;
}

.input-label {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

.ui-inputfield {
    width: 100% !important;
    padding: 16px 20px 16px 52px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1e293b !important;
}

.ui-inputfield:focus {
    outline: none !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
}

.ui-password {
    width: 100%;
}

.ui-password .ui-inputfield {
    width: 100% !important;
}

.field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within .field-icon {
    color: #6366f1;
    transform: translateY(-50%) scale(1.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.checkbox-wrapper:hover {
    transform: translateX(5px);
}

.checkbox-wrapper input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #ffffff;
}

.checkbox-wrapper label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    cursor: pointer;
}

.forgot-password {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: #ffffff;
    transition: width 0.3s ease;
}

.forgot-password:hover {
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.forgot-password:hover::after {
    width: 100%;
}

.ui-button {
    width: 100% !important;
    padding: 14px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    color: #667eea !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease 0.8s both;
}

.ui-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ui-button:hover::before {
    width: 300px;
    height: 300px;
}

.ui-button:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.ui-button:active {
    transform: translateY(-1px) scale(0.98) !important;
}

.error-messages {
    margin-top: 20px;
    animation: fadeInUp 0.6s ease 0.9s both;
}

.error-message {
    color: #ffffff;
    background: rgba(244, 67, 54, 0.9);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}
@media (max-width: 1200px) {
    .left-content {
        padding: 40px;
    }

    .brand-title {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 16px;
    }

    .features {
        gap: 15px;
    }

    .feature-item {
        height: 60px;
        padding: 12px 15px;
    }

    .feature-text {
        font-size: 14px;
    }
}
@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }
    .login-box::before {
        content: '';
        display: block;
        width: 200px;
        height: 200px;
        margin: 0 auto 30px;
        background-image: url('../../images/logo/belLogo.jpg');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .left-panel {
        display: none;
    }

    .right-panel {
        flex: none;
        width: 100%;
        min-height: 100vh;
        padding: 20px;
    }

    .login-box {
        max-width: 500px;
    }

    .login-title {
        font-size: 32px;
        color:#0050a9;
    }

    .login-subtitle {
        font-size: 15px;
        color:#0050a9;
    }
    .input-label{
        color:#0050a9;
    }
    .forgot-password{
        color:#0050a9;
    }
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        height: auto;
    }

    .right-panel {
        padding: 30px 20px;
        min-height: 100vh;
        overflow-y: auto;
    }

    .charts-container {
        opacity: 0.5;
    }

    .login-box {
        max-width: 100%;
    }

    .login-header {
        margin-bottom: 35px;
    }

    .login-title {
        font-size: 28px;
        color:#0050a9;
    }

    .login-subtitle {
        font-size: 14px;
        color:#0050a9;
    }

    .form-group {
        margin-bottom: 24px;
    }

    .ui-inputfield {
        padding: 14px 20px 14px 48px !important;
        font-size: 14px !important;
    }

    .field-icon {
        left: 16px;
    }

    .form-options {
        margin-bottom: 30px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .checkbox-wrapper label,
    .forgot-password {
        font-size: 13px;
    }
    .input-label{
        color:#0050a9;
    }
    .forgot-password{
        color:#0050a9;
    }
}

@media (max-width: 480px) {
    .right-panel {
        padding: 20px 15px;
    }

    .login-header {
        margin-bottom: 30px;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 10px;
        color:#0050a9;
    }

    .login-subtitle {
        font-size: 13px;
        color:#0050a9;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .input-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .ui-inputfield {
        padding: 12px 16px 12px 44px !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    .field-icon {
        left: 14px;
        font-size: 14px;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 25px;
    }

    .checkbox-wrapper {
        width: 100%;
    }

    .forgot-password {
        width: 100%;
        text-align: left;
    }

    .ui-button {
        padding: 12px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
    }

    .error-message {
        padding: 10px 14px;
        font-size: 13px;
    }

    .charts-container > * {
        opacity: 0.15 !important;
    }
    .input-label{
        color:#0050a9;
    }
    .forgot-password{
        color:#0050a9;
    }
}

@media (max-width: 360px) {
    .right-panel {
        padding: 15px 10px;
    }

    .login-title {
        font-size: 22px;
        color:#0050a9;
    }

    .login-subtitle {
        font-size: 12px;
        color:#0050a9;
    }

    .ui-inputfield {
        padding: 10px 14px 10px 40px !important;
        font-size: 13px !important;
    }

    .field-icon {
        left: 12px;
        font-size: 13px;
    }
    .input-label{
        color:#0050a9;
    }
    .forgot-password{
        color:#0050a9;
    }
}   