:root {
    --primary-orange: #f26522;
    --text-dark: #333333;
    --text-gray: #666666;
    --text-red: #e32636;
    --input-bg: #e8e8e8;
    --link-blue: #0088cc;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    height: 100vh;
    overflow: hidden;
}

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

/* --- Left Banner Panel --- */
.left-panel {
    flex: 7;
    position: relative;
    padding: 30px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
}

/* Dotted background pattern */
.bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle, #fde4d9 2px, transparent 2px);
    background-size: 24px 24px;
    opacity: 0.6;
    z-index: 0;
}

.header-content, .illustration-area, .footer-content {
    position: relative;
    z-index: 1;
}

.header-content h1.main-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.header-content h2.sub-title {
    font-size: 30px;
    font-weight: 500;
    color: var(--text-gray);
}

.illustration-area {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.illustration-area img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.footer-content {
    font-size: 13px;
    line-height: 1.6;
}

.company-name {
    color: var(--text-red);
    font-weight: 800;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.company-dept {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}

.contact-info {
    font-size: 13px;
    font-weight: 500;
}

.contact-row {
    margin-bottom: 3px;
}

.dot {
    color: var(--primary-orange);
    margin-right: 4px;
}

.label {
    color: var(--primary-orange);
    font-weight: bold;
}

.pipe {
    color: var(--primary-orange);
    margin: 0 4px;
    font-weight: bold;
}


/* --- Right Form Panel --- */
.right-panel {
    flex: 3;
    min-width: 350px;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 40px;
    z-index: 2;
    box-shadow: -10px 0 30px rgba(0,0,0,0.03); /* subtle shadow for separation */
}

.form-wrapper {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
}

.logo-area {
    text-align: center;
    margin-bottom: 20px;
}

.logo-area img {
    width: 300px;
    height: auto;
}

.form-header h3 {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.5;
}

.user-avatar {
    width: 70px;
    height: 70px;
    background-color: #f68c65; /* slightly lighter orange */
    border-radius: 50%;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 35px;
}

.form-group {
    position: relative;
    margin-bottom: 12px;
}

.form-group input {
    width: 100%;
    background-color: var(--input-bg);
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 12px 35px 12px 14px; /* Space for icon on the right */
    font-family: inherit;
    font-size: 13px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
}

.form-group input::placeholder {
    color: #888;
}

.form-group input:focus {
    border-color: var(--primary-orange);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.1);
}

.form-group .icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-top: 4px;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--primary-orange);
    font-weight: 600;
    cursor: pointer;
}

.remember-me input {
    margin-right: 6px;
    accent-color: var(--primary-orange);
}

.forgot-pwd {
    color: var(--link-blue);
    text-decoration: none;
    font-weight: 600;
}

.forgot-pwd:hover {
    text-decoration: underline;
}

.submit-wrapper {
    text-align: center;
}

.btn-submit {
    background-color: #f15a24;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 30px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(241, 90, 36, 0.25);
    transition: all 0.2s ease;
}

.btn-submit:hover {
    background-color: #d94b1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(241, 90, 36, 0.35);
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    body {
        overflow-y: auto;
    }
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .left-panel, .right-panel {
        flex: none;
        width: 100%;
    }
    .right-panel {
        min-height: 500px;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.03);
    }
}
