* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, Cantarell, Oxygen, Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    background-color: #285c71;
    background-image: url('/img/background.png');
    background-repeat: repeat;
    background-size: 200px 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 40px 0;
}

form.login {
    max-width: 360px;
}

.container {
    max-width: 600px;
}

form.login,
.container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 15px 20px;
    text-align: center;
}

form:not(.login) {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 10px;
    padding-top: 10px;
}

input,
button,
.error,
.success,
.vk {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    line-height: 14px;
}

input,
button,
.vk {
    height: 38px;
}

.error,
.success {
    margin-bottom: 16px;
    text-align: left;
}

.error {
    background-color: #fce4d6;
}

.success {
    background-color: #d7fcfc;
}

input[type="submit"] {
    background-color: #275c70;
    color: #ffffff;
}

.green {
    background-color: #46b079;
    color: #ffffff;
}

p {
    color: #666666;
}

p a {
    color: #595959;
}

p,
label {
    text-align: left;
    margin: 6px 0;
}

label {
    display: block;
    color: #333333;
    font-weight: 500;
}

h2 {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin: 32px 0 16px 0;
}

img.logo {
    width: 100%;
    max-width: 157px;
    margin-top: 32px;
}

.footer {
    padding: 24px 0;
    color: #a8c6d8;
}

.info {
    color: #00695c;
    font-size: 14px;
    padding: 5px 0;
    margin: 5px 0;
}

.btn-title {
    font-size: 16px;
    margin: 15px 0 5px 0;
}

.recaptcha-container {
    width: 100%;
    padding: 5px 0;
    margin: 0 auto;
    max-width: 300px;
}

.vk {
    background-color: #0077ff;
    background-image: url('/img/vk.png');
    background-size: 184px 38px;
    background-repeat: no-repeat;
    background-position: center;
    margin: 15px 0;
    height: 38px;
}

ul.menu {
    list-style: none;
}

.menu li {
    line-height: 38px;
    height: 38px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-title {
    display: inline-block;
    min-width: 150px;
    font-weight: 600;
}

.menu-social-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
