/* Сброс стандартных отступов */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f5f5; /* Светлый фон GitLab */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Основной блок страницы */
.login-container {
    background: #ffffff;
    border-radius: 8px; /* Скругленные углы */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 480px; /* Фиксированная ширина */
    max-width: 90%;
}

/* Заголовок с логотипом GitLab */
.login-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #2c2c2c;
}

/* Иконка GitLab (синий квадрат) */
.logo-icon {
    width: 32px;
    height: 32px;
    background: #1f75cb;
    border-radius: 6px;
    display: inline-block;
}

/* Группы полей ввода */
.input-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #1f1f1f;
    font-size: 14px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #1f75cb; /* Синий цвет при фокусе */
    box-shadow: 0 0 0 2px rgba(31, 117, 203, 0.2);
}

/* Кнопка входа */
.btn-login {
    background-color: #1f75cb;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-login:hover {
    background-color: #1564b3;
}

/* Блок с дополнительными ссылками */
.additional-links {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.additional-links a {
    color: #1f75cb;
    text-decoration: none;
    margin: 0 10px;
}

.additional-links a:hover {
    text-decoration: underline;
}

/* Разделитель "или" */
.divider {
    margin: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    top: -11px;
    color: #777;
    font-size: 12px;
}

/* Кнопки входа через соцсети */
.oauth-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-oauth {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-oauth:hover {
    background: #e9e9e9;
}
