@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    height: 100vh;
    min-width: 375px;
}

body {
    background-color: var(--neutral-bg);
    font-family: "Inter", sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

/* forms */

.flex {
    flex-wrap: wrap;
    display: flex;
    gap: 6px;
}

input[type='text'],
input[type='date'],
input[type='tel'],
select,
input[type='password'] {
    border: 1px solid var(--neutral-marble);
    border-radius: 8px;
    padding: 8px 12px;
    height: 40px;
    box-shadow: none;
    outline: none;
    font-size: 14px;

    @media (max-width: 991px) {
        height: 34px;
        font-size: 12px;
    }
}

input[type='password'] {
    padding: 8px 30px 8px 12px;
}

.form-control:disabled {
    background-color: var(--neutral-ghost-white);
}

.f_container {
    height: 100%;
}

.f_label {
    padding-left: 5px;
    font-weight: 500;
    font-size: 12px;
    color: var(--neutral-black);
    margin: 0 0 6px 0;
}

.f_error {
    margin-top: 8px;
    margin-left: 0;
    font-size: 12px;
    color: var(--secondary-red);
    padding-left: 5px;
}

.f_input {
    border: 0;
    border-radius: 10px;
    height: 50px;
    width: 350px;
    margin: 0 0 5px 30px;
    font-size: 16px;
    padding-left: 20px;
    outline: none;
    color: #333;

    @media (max-width: 991px) {
        width: 350px;
        margin-left: 25px;
    }

    @media (max-width: 767px) {
        width: 270px;
        margin-left: 5px;
    }
}

.f_input:focus {
    border: 1px dotted #999;
}

/*Основные кнопки */

.btn,
.primary-button,
.secondary-button {
    display: block;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 200px;
    max-width: 265px;
    vertical-align: center;
    width: 100%;
    height: 40px;
    cursor: pointer;
    border: none;

    @media (max-width: 991px) {
        max-width: 215px;
        height: 34px;
        opacity: 1;
        font-size: 13px;
        min-width: 150px;
    }

    @media (max-width: 576px) {
        max-width: 100%;
    }
}

.primary-button {
    color: var(--neutral-white);
    background-color: var(--primary-blue);
}

.secondary-button, .btn {
    color: var(--neutral-black);
    background-color: var(--teclis-blue-rgba)
}

.primary-button:hover, .primary-button:active,  .btn:hover, .btn:active, a.primary-button:hover, a.primary-button:active,  a.btn:hover, a.btn:active {
    color: var(--neutral-white);
    opacity: .9;
    text-decoration: none;
}

.secondary-button:hover, .secondary-button:active, a.secondary-button:hover, a.secondary-button:active {
    opacity: .9;
    color: var(--neutral-black);
    text-decoration: none;}

.telegram-button {
    background-color: var(--primary-blue);
}

.modal-bids .primary-button {
    min-width: unset;
    width: 100%;
}

.modal-footer, .modal-header {
    border: 0;
}

.btn-switchdescr {
    background-color: #4E5058;
    color: #000000;
    font-size: 0.65vw;
    padding: 2px;
    background-color: rgba(0, 0, 0, 0);
    box-shadow: none;
    border: none;
}

.hins {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--neutral-navy);

    @media (max-width: 991px) {
        font-size: 12px;
    }
}

.table a {
    color: var(--neutral-black);
    text-decoration: none;
}

/* policy message */

.cookie_note {
    display: none;
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: calc(100vw - 32px);
    background: #2e2e2e;
    z-index: 10000;
    border-radius: 8px;
    padding: 16px;
    max-width: 520px;
}

.cookie_note.show {
    display: flex;

    @media (max-width: 991px) {
        display: block;
    }
}

.cookie_note__text {
    font-size: 14px;
    color: var(--neutral-white);
}

.cookie_note__text a,
.cookie_note__text a:hover {
    text-decoration: underline;
    color: var(--neutral-white);
}

.cookie_note__buttons {
    margin-top: 20px;
}

.cookie_accept {
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: #2e2e2e;
    background: #f1f1f5;
    border-radius: 4px;
    padding: 8px 14px;
}

/* pagination */

.pagination {
    margin-bottom: 0;
}

.pagination li {
    cursor: pointer;
    border: 1px solid var(--neutral-marble);
    background: var(--neutral-white);
    border-radius: 6px;
    width: 40px;
    height: 40px;
    margin: 0 3px 0 0;

    @media (max-width: 1280px) {
        border-radius: 6px;
        margin: 0 2px;
        width: 32px;
        height: 32px;
    }
}

.pagination .link-page {
    padding: 0 10px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 38px;
    display: block;
    text-align: center;

    @media (max-width: 1280px) {
        padding: 10px 8px;
        font-size: 12px;
        line-height: 12px;
        text-align: center;
    }
}

.pagination .prev, .pagination .next {
    box-sizing: border-box;
    border-radius: 8px;
    width: 90px;
    height: 40px;
    background: var(--neutral-white);
    font-size: 14px;
    line-height: 38px;
    color: #222;
    text-decoration: none;

    @media (max-width: 1280px) {
        width: 32px;
        height: 32px;
        font-size: 14px;
        line-height: 38px;
        min-width: 32px;
    }
}

.pagination .prev.disabled span {
    display: inline-block;
    width: 100%;
    text-align: center;
}

.pagination .next.disabled span {
    display: inline-block;
    width: 100%;
    text-align: center
}

.pagination .prev {
    background: var(--neutral-white) url('../image/arrow_left.svg') no-repeat left 6px center;
    padding-left: 10px;
}

.pagination .next {
    background: var(--neutral-white) url('../image/arrow_right.svg') no-repeat right 6px center;
    padding-right: 10px;
}

.pagination .first {
    background: var(--neutral-white) url('../image/double_arrow_left.svg') no-repeat center center;
    background-size: 14px;
}

.pagination .last {
    background: var(--neutral-white) url('../image/double_arrow_right.svg') no-repeat center center;
    background-size: 14px;
}

.pagination .activ_page {
    background: #4E4FC21F;
}

.pagination .activ_page .link-page {
    color: var(--primary-blue);
    font-weight: 500;
}

.pagination-pages ul {
    margin-left: 12px;

    @media (max-width: 1280px) {
        margin-left: 3px;
    }
}

@media (max-width: 1280px) {

    .pagination .prev .link-page, .pagination .prev.disabled span,
    .pagination .next .link-page, .pagination .next.disabled span {
        display: none;
        padding: 8px;
    }
}

/* login-auth */

.login-auth__body {
    display: flex;
    min-height: 100vh;
}

.login-auth__form {
    font-family: "Inter", sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-basis: 60%;
    flex-grow: 1;
}

.login-auth__title {
    background: url('../image/logo.svg') no-repeat center center / contain;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: var(--neutral-navy);
    padding-top: 260px;
    margin-bottom: 20px;
}

.login-auth__redirectForm {
    max-width: 480px;
    width: 100%;
    padding: 0 20px;
}

.login-auth__redirect-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.login-auth__redirect-buttons label {
    color: var(--primary-blue);
    font-weight: 600;
}

.login-auth__form #login-form, .login-auth__form #signup-form, .login-form  {
    max-width: 480px;
    width: 100%;
    border-radius: 0;
    padding: 20px;
}

.login-auth__form .message-error {
    color: var(--secondary-red);
    margin: 10px 5px;
    font-size: 14px;
}

.login-auth__form .row {
    margin: 0 0 10px 0 !important;
}

.login-auth__form .f_input, .login-auth__form .f_input.is-valid {
    border: 1px solid var(--neutral-marble);
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
    height: 44px;
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}

.login-auth__form .user-consents {
    font-size: 14px;
    padding-left: 2px;
    display: flex;
}

.login-auth__form .form-check-input {
    min-width: 17px;
    min-height: 17px;
    margin-top: 0;
    background-color: var(--neutral-white);
    border: 1px solid var(--neutral-periwinkle);
    overflow: hidden !important;
    box-shadow: none !important;
    outline: none !important;
}

.login-auth__form .form-check-input:checked[type=checkbox] {
    background-color: var(--primary-blue);
    border: none;
}

input[type="radio"], input[type="radio" i] {
    width: 14px;
    height: 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: unset;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

input:hover[type="radio"], input:hover[type="radio" i] {
    border-color: var(--primary-blue);
}

input:checked[type="radio"], input:checked[type="radio" i] {
    border-color: var(--primary-blue);
}

input:checked[type="radio"]::before, input:checked[type="radio" i]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-blue);
    border-radius: 50%;
}

.login-auth__form label.form-check-label, .was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    padding-left: 5px;
    color: var(--neutral-black);
    transform: translateY(-1px);
}

.login-auth__form .f_btn {
    background-color:  var(--secondary-blue);
    cursor: pointer;
    border: 0;
    width: 100%;
    height: 52px;
    border-radius: 8px;
    margin: -3px 0 22px;
    font-size: 16px;
    text-transform: capitalize;
    box-shadow: none;
    color: var(--neutral-white);
}

.login-auth__form .f_btn:disabled{
    opacity: 0.3;
    cursor: unset;
}

.login-auth__form .f_btn:hover:not(:disabled) {
    opacity: .9;
    box-shadow: 0 -0.1em 0.1em rgba(0, 0, 0, 0.1),
    0.1em 0.1em 1em rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color:  var(--neutral-white);
}

.login-auth__form .f_btn2 {
    background-color:  var(--primary-blue);
    color:  var(--neutral-white);
    border: 0;
    border-radius: 10px;
    display: inline-block;
    height: 50px;
    width: 350px;
    text-align: center;
    margin: 0 0 20px 10px;
    font-size: 15px;
    text-transform: uppercase;
    padding: 14px;
    text-decoration: none;
    cursor: pointer;
}

.login-auth__form .f_btn2:hover {
    opacity: .9;
    box-shadow: 0 -0.1em 0.1em rgba(0, 0, 0, 0.1),
    0.1em 0.1em 1em rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color:  var(--neutral-white);
}

.login-auth__form .f_btn2,
.login-auth__form .f_btn2:hover {
    width: 100%;
    height: 52px;
    border-radius: 8px;
    margin: -3px 0 20px;
    font-size: 16px;
    text-transform: capitalize;
    box-shadow: none;
}

.login-auth__contacts-block {
    font-size: 14px;
    line-height: 140%;
    color: var(--neutral-storm-gray);
    margin-top: 12px;
    text-decoration: none;
}

.login-auth__contacts-block a {
    color: var(--neutral-storm-gray);
    text-decoration: none;
}


#form_tender_ind_exter select {
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 10px 0;
    text-align: center;
    width: 74px;
    height: 38px;
    background: var(--neutral-white);
    font-size: 14px;
    line-height: 110%;
    color: #222;
    overflow: hidden;
    outline: none;
    box-shadow: none;
    margin-left: 10px;

    @media (max-width: 1280px) {
        height: 32px;
        width: 60px;
        padding: 4px 0;
        font-size: 12px;
    }
}

.site-error {
    max-width: 480px;
    width: 100%;
}


/* авторизация по СМС */

.login-auth__body .nav-item {
    width: 50%;
    font-size: 12pt;
}

.login-auth__body .nav-tabs {
    border: 0;
}

.login-auth__body .nav-tabs .nav-link {
    color: var(--jet-gray);
    margin-bottom: 20px
    /*padding: 0;*/
}

.login-auth__body .nav-tabs .nav-link.active {
    color: unset;
    background-color: unset;
}

.login-auth__body .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: var(--primary-blue);
    font-weight: 600;
}

.blockGetCode {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgGetCode {
    height: 102px;
    width: auto;
    margin-top: -30px;
}

.select2-dropdown {
    border: 1px solid var(--neutral-marble) !important;
    border-radius: 8px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary-blue) !important;
}