body.register-page .content {
    align-items: flex-start;
    overflow-y: auto;
}

body.register-page .content-inner {
    margin: auto;
    width: min(620px, 100%);
    padding: 26px 34px 22px;
}

.register-inner h2 {
    font-size: 28px;
}

.register-inner .subtitle {
    margin-bottom: 18px;
    font-size: 18px;
}

/* Форма регистрации компактнее */
.register-form .form-group {
    margin-bottom: 13px;
}

.register-form .form-group label {
    margin-bottom: 4px;
    font-size: 17px;
}

.register-form .form-group input {
    height: 44px;
    border-radius: 22px;
    font-size: 15px;
}

.form-row {
    display: flex;
    gap: 14px;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

/* Поле выбора файла */
.register-form input[type="file"] {
    height: auto;
    padding: 9px 16px;
    font-size: 14px;
    color: #555555;
}

.hint {
    margin: 4px 0 0 8px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: #a0a0a0;
}

.register-form .submit-btn {
    margin-top: 20px;
}

.register-form .form-group input:not(:placeholder-shown):valid {
    border-color: #4caf50;
}
.register-form .form-group input:not(:placeholder-shown):invalid {
    border-color: #c0392b;
}
.register-form .submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.field-error {
    margin: 4px 0 0 8px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    color: #c0392b;
}
.note-link {
    color: #272727;
    font-weight: 600;
    text-decoration: none;
}

.user-card {
    text-align: left;
}

.user-head {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 20px;
}

.user-pic {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 130px;
    height: 130px;

    border: 2px dashed #777777;
    border-radius: 50%;

    font-family: 'Jost', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    color: #a0a0a0;
}

.user-welcome {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    color: #222222;
}

.user-welcome p {
    margin-bottom: 6px;
}

.user-error {
    padding: 10px 14px;
    border-radius: 14px;
    background: #fdeeee;

    font-family: 'Jost', sans-serif;
    font-size: 14px;
    color: #c0392b;
}

.user-table {
    width: 100%;
    border-collapse: collapse;

    font-family: 'Jost', sans-serif;
    font-size: 16px;
}

.user-table td {
    padding: 10px 14px;
    border: 1px solid #e6e6e6;
    color: #222222;
}

.user-table td:first-child {
    width: 40%;
    background: #f7f5f2;
    color: #777777;
}

.logout-link {
    display: inline-block;
    margin-top: 18px;

    font-family: 'Jost', sans-serif;
    font-weight: 600;
    color: #272727;
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}


@media (max-width: 560px) {

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .user-head {
        flex-direction: column;
        text-align: center;
    }

    body.register-page .content-inner {
        padding: 22px 18px 18px;
    }
}