
:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --background-color: #f8f9fa;
    --text-color: #2b2d42;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: block;
    margin: 0 auto 2rem;
    max-width: 150px;
}

h2 {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

#login-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
}

.form-group input {
    width: 100%;
    max-width: 300px;
}

.password-group {
    display: flex;
    align-items: center;
}

input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.1);
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 5px;
    z-index: 20;
}

.password-group {
    position: relative;
    width: 100%;
}

.password-group input {
    padding-right: 40px;
    width: 100%;
}

.toggle-password:hover {
    color: #333;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.remember-checkbox {
    width: auto;
    margin: 0;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #4361ee;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3651ce;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 1rem;
}
