/* Основной контейнер */
main {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;

    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    width: 400px;
    height: 100vh;
    min-height: 250px;
    margin: 0 auto;
}

.content {
    display: block;
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: #ffffff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;

    -webkit-box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0,0,0,0.05), 0 4px 8px rgba(0,0,0,0.05), 0 16px 32px rgba(0,0,0,0.05);
    box-shadow: inset 0px 1px 0px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0,0,0,0.05), 0 4px 8px rgba(0,0,0,0.05), 0 16px 32px rgba(0,0,0,0.05);
}

/* Логотип */
.content a.logo {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    font-family: "Potta One", system-ui, cursive;
    font-weight: 900;
    font-size: 4rem;
    color: #000000;
    text-align: center;
    text-decoration: none;
    -webkit-transition: color 0.2s ease;
    transition: color 0.2s ease;
}

.content a.logo:hover {
    color: #FF9A00;
}

/* Сообщения */
.content .message {
    position: relative;
    display: none;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    padding: 10px 15px;
    text-align: left;
    line-height: 1.5;
    font-family: "Roboto", system-ui, sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000000;
}

.content .message.success {
    display: block;
    background-color: rgba(0, 255, 24, 0.11);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 12, 0.12);
}

.content .message.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.11);
    border-radius: 8px;
    border: 1px solid rgba(255, 0, 0, 0.07);
}

/* Форма и инпуты */
.content form {
    display: block;
    width: 100%;
}

.content form input {
    margin-bottom: 20px;
}

.content form > label {
    display: block;
    width: 100%;
    margin-bottom: 3px;
    padding-left: 3px;
    text-align: left;
    line-height: 1.5;
    font-weight: 400;
    color: #9CA3AF;
}

/* Контейнер выбора пола */
.content form .gender-box { /* Добавьте этот класс в HTML для div с переключателями */
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    -webkit-box-align: stretch;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;

    width: 100%;
    height: 45px;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}

.content form .gender-box > label {
    display: block;
    width: 50%;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    text-align: center;
    line-height: 45px;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.content form .gender-box > label:hover {
    background-color: rgba(204, 204, 204, 0.48);
    cursor: pointer;
}

.content form .gender-box > label.active {
    font-weight: 600;
    color: #FF9A00;
}

.content form .gender-box input {
    display: none;
}

/* Ссылка восстановления */
.content a.recover {
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin: 20px auto 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #000000;
    text-align: center;
    text-decoration: none;
}

.content a.recover:hover {
    color: #FF9A00;
    text-decoration: underline;
}