@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #8cc63f;
    /* Lime green from logo */
    --primary-hover: #7ab32f;
    --secondary-color: #8cc63f;
    /* Matching logo */
    --text-color: #333;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --input-focus: #8cc63f;
    --bg-color: #ffffff;
    --sidebar-bg: #f8f9fa;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
}

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

/* Sidebar - 30% */
.login-sidebar {
    width: 30%;
    min-width: 350px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-right: 1px solid var(--border-color);
    /* Vertival Divider */
    z-index: 10;
}

/* Empty Content Area - 70% */
.content-area {
    flex: 1;
    background-color: #f0f2f5;
    /* Subtle contrast to show it exists */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-color);
    z-index: -1;
}

.validation-info {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    padding: 20px;
}

.validation-info::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.validation-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.validation-info p {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.slogan-text {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container img {
    max-width: 280px;
    height: auto;
}

.login-form-wrapper {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
    /* Centralize Welcome */
}

.login-form-wrapper h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.login-form-wrapper p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
    text-align: left;
    /* Keep labels left aligned for readability */
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-top: 10px;
}

.btn-login:hover {
    background-color: var(--primary-hover);
}

.btn-login:active {
    transform: scale(0.98);
}

.footer-text {
    margin-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

#login-alert {
    display: none;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .login-sidebar {
        width: 100%;
        min-width: 100%;
    }

    .content-area {
        display: none;
    }
}