.login-wrapper {
    max-width: 500px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
}

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

.form-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
}

.form-actions {
    text-align: center;
}

.form-actions button {
    background-color: #0073aa;
    color: white;
    padding: 10px 25px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.form-actions button:hover {
    background-color: #005177;
}

.error-message {
    color: red;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

/* Контейнер переключателя */
.lang-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 10px 50px;
}

.lang-left, .lang-right {
    flex: 1;
}

.lang-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-item:hover {
    background: #0073aa;
    color: #fff;
}

.lang-item.active {
    background: #0073aa;
    color: #fff;
    border-color: #005f8d;
    font-weight: bold;
}

.lang-flag img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}
