/* assets/css/login.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url('/assets/img/tlo2.jpg');
        background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-attachment: fixed;
}

.login-container {
    display: flex;
    width: 800px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-form {
    flex: 1;
    padding: 40px;
}

.login-image {
    flex: 1;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    margin-bottom: 20px;
}

.logo img {
    height: 40px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.login-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

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

label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border 0.3s ease;
}

input:focus {
    border-color: #0056b3;
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.toggle-password img {
    width: 18px;
    height: 18px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #0056b3;
}

.user-icon {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: #d1d8e8;
    margin-bottom: 60px;
}

.error-message {
    background-color: #ffeeee;
    color: #e74c3c;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-image {
        display: none;
    }
}