﻿* {
    box-sizing: border-box;
}

body {
    margin-bottom: 0 !important;
}

#loginContainer {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 1/3 left, 2/3 right */
    height: 100vh;
}

.login-left {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.login-logo {
    max-width: 200px;
    max-height: 150px;
}

.login-logo-console {
    max-width: 200px;
    max-height: 150px;
}

.login-right {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-color);
}

.login-form {
    width: 100%;
    max-width: 350px;
    padding: 40px;
}

.login-title {
    text-align: left;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 500;
    color: #ffffff;
}

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #999;
    }

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

    .form-input:focus {
        outline: none;
        border-color: #007bff;
        box-shadow: 0 0 4px rgba(0,123,255,0.4);
    }

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

    .login-btn:hover {
        opacity: 0.8;
    }

.error-message {
    margin-top: 15px;
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.error-message i {
    color: #ffffff;
    font-size: 1rem;
    margin-right: 5px;
}

.error-message span {
    color: #ffffff;
}
