.new-topic-page,
.new-topic-page *,
.new-topic-page *::before,
.new-topic-page *::after {
    box-sizing: border-box;
}

.new-topic-page .nt-active {
    color: #edf3f5;
}

.nt-content {
    padding-top: 64px;
    padding-bottom: 80px;
}

.nt-content .pre_headline {
    margin-bottom: 12px;
}

.nt-title {
    margin: 0 0 14px;
    color: #edf3f5;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -2px;
}


.nt-form {
    width: 100%;
    max-width: 800px;
}

.nt-field {
    margin-bottom: 16px;
}

.nt-field label {
    display: block;
    margin-bottom: 7px;
    color: #8B969E;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.nt-field select,
.nt-field input,
.nt-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #20282f;
    background: #0d1115;
    color: #edf3f5;
    font-family: inherit;
    font-size: 16px;
    color-scheme: dark;
}

.nt-field select {
    min-height: 26px;
    padding: 1px 8px;
    border-radius: 5px;
}

.nt-field input {
    min-height: 46px;
    padding: 12px 14px;
    border-radius: 9px;
}

.nt-field textarea {
    min-height: 138px;
    padding: 12px 14px;
    border-radius: 9px;
    line-height: 1.5;
    resize: vertical;
}

.nt-field input::placeholder,
.nt-field textarea::placeholder {
    color: #a0a0a0;
    opacity: 1;
}

.nt-field select:focus-visible,
.nt-field input:focus-visible,
.nt-field textarea:focus-visible,
.new-topic-page a:focus-visible,
.nt-submit:focus-visible {
    outline: 2px solid #7DFFB8;
    outline-offset: 3px;
}

.nt-form .nt-submit {
    width: auto;
    min-height: 42px;
    padding: 0 17px;
    border: none;
    background: #70efbd;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
}

.nt-form .nt-submit:hover {
    background: #ffffff;
}

.nt-feedback {
    margin: 16px 0 0;
    color: #8B969E;
    font-size: 13px;
    line-height: 1.5;
}

.nt-feedback:empty {
    display: none;
}

@media (max-width: 1100px) {
    .new-topic-page .header {
        height: auto;
    }

    .new-topic-page .header_container {
        width: calc(100% - 32px);
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 0;
    }

    .new-topic-page .Navigation {
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 20px;
        padding: 0;
    }

    .new-topic-page .profile_info {
        height: auto;
        flex-shrink: 0;
    }
}

@media (max-width: 800px) {
    .nt-content {
        width: calc(100% - 32px);
        padding-top: 40px;
        padding-bottom: 48px;
    }

    .nt-form {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .new-topic-page .Navigation {
        gap: 14px;
    }

    .new-topic-page .Logo {
        flex-basis: 100%;
    }

    .new-topic-page .Links {
        font-size: 13px;
    }

    .nt-title {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .nt-field input,
    .nt-field select,
    .nt-field textarea {
        font-size: 16px;
    }

    .nt-field input,
    .nt-field select {
        min-height: 44px;
    }

    .nt-field textarea {
        min-height: 200px;
    }

    .nt-form .nt-submit {
        width: 100%;
        min-height: 44px;
    }
}
