/* Core Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #111827;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Split Screen Splitter Layout */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* LEFT SIDE: FORM CONTAINER */
.form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background-color: #ffffff;
    max-width: 520px;
    width: 100%;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
    z-index: 10;
}

.brand-header {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827;
}

.greeting-heading {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.greeting-sub {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Form Components */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #f9fafb;
    color: #111827;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px #eff6ff;
}

/* Form Controls */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 1.75rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #4b5563;
}

.forgot-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

.btn-submit {
    width: 100%;
    padding: 0.85rem;
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

/* 2. RIGHT SIDE: LARGE IMAGE PLACEHOLDER BACKGROUND */
.image-section {
    flex: 2;
    position: relative;
    background-color: #1e293b; /* Dark backdrop container backup */
    
    background-image: url('logo-main.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 4rem;
}

/* Industrial overlay styling creates contrast if image background is too bright */
.image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.2) 0%, rgba(17, 24, 39, 0.85) 100%);
    z-index: 1;
}

/* Placeholder Content Info Overlay Card */
.image-overlay-card {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 600px;
}

.image-overlay-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.image-overlay-text {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive Breakpoint for Tablet and Smartphone Views */
@media (max-width: 900px) {
    .image-section {
        display: none; /* Drops large image column to make input targets larger on phones */
    }
    .form-section {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
}