/* Базовые стили страницы */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background-color: #f3f3f3;
}

/* Центрирование формы */
.register-container {
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Заголовок */
.container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #7e379e;
    font-size: 24px;
}

/* Метки */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

/* Поля ввода, селекты, кнопки */
input[type="text"],
input[type="email"],
input[type="password"],
select,
button,
input[type="submit"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: 0.3s;
}

/* Наведение на поля */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    border-color: #9d50bb;
    outline: none;
}

/* Кнопка отправки */
input[type="submit"] {
    background-color: #9d50bb;
    color: white;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #7e379e;
}

/* Нижняя часть: уже есть аккаунт */
.login-link {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
    color: #333;
}

.login-link a {
    color: #7e379e;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .container {
        margin: 20px;
        padding: 25px;
    }

    .container h1 {
        font-size: 20px;
    }
}
