/* static/css/login.css */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.input-wrapper span {
    padding: 8px;
    background-color: #f0f0f0;
    color: #666;
}

input[type="text"], input[type="password"] {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background-color: #6200ea;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #3700b3;
}

#errorMessage {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 20px;
    }

    button {
        font-size: 14px;
        padding: 10px;
    }
}
