/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Login Page Styles */
html, body {
    height: 100%;
    background: #f5f6fa;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.lx-wrapper {
    display: flex;
    width: 1100px;
    height: 600px;
    max-width: 95%;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.lx-login {
    width: 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.lx-left-bloc {
    width: 50%;
    background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?q=80&w=1000&auto=format&fit=crop') !important;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}

.lx-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
}

.lx-login-content {
    max-width: 400px;
    width: 100%;
    margin: auto;
}

.lx-login-logo {
    position: absolute;
    top: 30px;
    left: 40px;
}

.lx-login-logo img {
    width: 140px;
    height: auto;
}

.lx-login-content h2 {
    margin: 0 0 0.5rem;
    font-weight: 600;
    font-size: 1.75rem;
    color: #333;
}

.lx-login-content p {
    margin: 0 0 2rem;
    font-weight: 400;
    font-size: 1.1rem;
    color: #666;
}

.lx-login .lx-textfield {
    position: relative;
    margin-bottom: 1.5rem;
}

.lx-login .lx-textfield label {
    display: block;
    width: 100%;
}

.lx-login .lx-textfield input[type='text'],
.lx-login .lx-textfield input[type='password'] {
    display: block;
    width: 100%;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.lx-login .lx-textfield input[type='text']:focus,
.lx-login .lx-textfield input[type='password']:focus {
    border-color: #fa6d00;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.1);
}

.lx-login .lx-textfield input::placeholder {
    color: #999;
}

.lx-login .lx-login-error {
    margin: -0.5rem 0 1.5rem;
    padding: 1rem;
    background: #fff5f5;
    border: 1px solid #ffe3e3;
    border-radius: 8px;
    color: #e53e3e;
    font-size: 0.95rem;
}

.lx-login .lx-submit {
    margin: 2rem 0 1rem;
}

.lx-login .lx-submit input[type='submit'] {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #fa6d00;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lx-login .lx-submit input[type='submit']:hover {
    background: #fa6d00;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1023px) {
    body {
        padding: 0;
        display: block;
    }

    .lx-wrapper {
        height: 100vh;
        max-width: 100%;
        border-radius: 0;
        flex-direction: column;
    }

    .lx-login {
        width: 100%;
        padding: 2rem;
        order: 2;
    }

    .lx-left-bloc {
        width: 100%;
        height: 200px;
        order: 1;
    }

    .lx-login-content {
        max-width: 400px;
        padding: 2rem 0;
    }

    .lx-login-logo {
        position: relative;
        top: 0;
        left: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .lx-login-logo img {
        width: 120px;
    }

    .lx-login-content h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .lx-login-content p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .lx-login {
        padding: 1.5rem;
    }

    .lx-left-bloc {
        height: 150px;
    }

    .lx-login-content {
        padding: 1rem 0;
    }

    .lx-login-content h2 {
        font-size: 1.3rem;
    }

    .lx-login .lx-textfield input[type='text'],
    .lx-login .lx-textfield input[type='password'] {
        padding: 0.9rem 1rem;
    }
}