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

html, body {
    height: 100%;
    font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.split-container {
    display: flex;
    min-height: 100vh;
}

.left-panel {
    flex: 0 0 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.left-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

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

.brand-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 400px;
}

.brand-logo {
    margin-bottom: 30px;
}

.brand-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.brand-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.brand-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.brand-footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    z-index: 1;
}

.brand-footer-logo {
    display: block;
    margin: 0 auto 8px;
    height: 25px;
    opacity: 0.6;
}

.right-panel {
    flex: 0 0 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.6s ease-out;
}

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

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

.login-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 15px;
    color: #888;
}

.login-form {
    width: 100%;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    transition: color 0.2s;
}

.form-input {
    width: 100%;
    padding: 13px 14px 13px 44px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #f7f8fa;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input:focus {
    border-color: #0f3460;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 52, 96, 0.1);
}

.form-input:focus ~ .input-icon,
.input-wrapper:focus-within .input-icon {
    color: #0f3460;
}

.form-input::placeholder {
    color: #bbb;
}

.btn-login {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    background: linear-gradient(135deg, #0f3460, #16213e);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 52, 96, 0.3);
}

.btn-login:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .left-panel {
        flex: 0 0 auto;
        padding: 50px 30px 40px;
        min-height: 280px;
    }

    .brand-logo img {
        max-width: 120px;
    }

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

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

    .brand-footer {
        position: static;
        margin-top: 30px;
    }

    .right-panel {
        flex: 1;
        padding: 30px 24px;
    }

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

    .login-header h2 {
        font-size: 24px;
    }
}
