@import "ui.css";
@import "vars.css";

/*header*/
.header {
    padding: 24px 0;
    background: #F9F9F9;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu__list {
    display: flex;
    gap: 40px;
}

.menu__link,
.header__button {
    transition: opacity 0.3s ease 0s;
}

.menu__link:hover,
.header__button:hover {
    opacity: 0.8;
}

.header__button {
    background: var(--orange);
    padding: 18px 27px;
    color: var(--white);
    border-radius: 500px;
}

/*footer*/
.footer {
    background: var(--dark-blue);
    padding: 112px 0;
}

.footer__container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__left {
    max-width: 569px;
}

.footer__left .header__button {
    padding: 20px 27px;
}

.footer__left .h2 {
    color: var(--white);
}

.footer__left>*:not(:first-child) {
    margin-top: 46px;
}

.footer__list>*:not(:first-child) {
    margin-top: 20px;
}

.footer__list li,
.footer__list a {
    color: var(--white);
}

.footer__list a {
    transition: opacity 0.3s ease 0s;
}

.footer__list a:hover {
    opacity: 0.8;
}

/*breadcrumbs*/
.breadcrumbs {
    padding: 27px 0;
}

.breadcrumbs__container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.breadcrumbs__link {
    transition: color 0.3s ease 0s;
    color: #8A8A8A;
}

.breadcrumbs__link.active,
.breadcrumbs__link:hover {
    color: #B4B4B4;
}

.breadcrumbs__triangle {
    width: 11px;
    height: 11px;
}

/*list*/
.list {
    padding-bottom: 90px;
}

.list__container>*:not(:first-child),
.list__filters-wrap>*:not(:first-child) {
    margin-top: 30px;
}

.list__intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list__title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.list__quant {
    color: #9B9B9B;
    font-weight: 500;
}

.list__form-wrap {
    position: relative;
    background: transparent;
}

.list__search {
    transition: border-color 0.3s ease 0s;
    width: 762px;
    padding: 0 14px 14px 29px;
    border-bottom: 1px solid var(--black);
    outline: none;
}

.list__search:focus {
    border-color: #d5d5d5;
}

.list__search-icon {
    position: absolute;
    width: 15px;
    height: 15px;
    top: 0;
    left: 0;
}

.list__select-wrap .select2-search__field {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.list__select-searchable .select2-search__field {
    transition: opacity 0.2s ease 0s;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100% !important;
    height: 80% !important;
}

.list__select-searchable .select2-container--open .select2-search__field {
    border-bottom: 1px solid var(--black) !important;
}

.list__select-searchable .select2-container--open+.list__select-inner {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.list__select-wrap .select2-selection__rendered {
    display: none !important;
}

.list__select-wrap .select2 {
    width: 100% !important;
    position: absolute;
    z-index: 0;
    cursor: pointer;
}

.list__select-wrap .select2,
.list__select-wrap .select2 .selection,
.list__select-wrap .select2-selection {
    height: 100% !important;
    display: block;
    cursor: pointer;
}

.list__select-wrap {
    position: relative;
    width: max-content;
}

.list__select-inner {
    pointer-events: none;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    transition: background 0.3s ease 0s;
}

.list__select-arrow {
    width: 12px;
    height: auto;
    transition: transform 0.3s ease 0s;
}

.list__select-wrap .select2-container--open+.list__select-inner .list__select-arrow {
    transform: rotate(180deg);
}

.list__select-wrap .select2:hover+.list__select-inner,
.list__select-wrap .select2-container--open+.list__select-inner {
    background: #F9F9F9;
}

.list__select-wrap .select2-container--default .select2-selection--multiple {
    border: none;
}

.select2-dropdown {
    width: 313px !important;
    background: #F9F9F9;
    border: none;
    border-radius: 0;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: none;
    color: #25282D;
}

.select2-container--default .select2-results__option--selected {
    background: none;
}

.select2-results__option {
    padding: 0;
}

.list__option {
    width: 100%;
    padding: 13px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
}

.list__checkbox {
    display: none;
}

.list__fake {
    width: 20px;
    height: 20px;
    border: 1px solid #9B9B9B;
    border-radius: 2px;
    display: block;
    position: relative;
    transition: all 0.3s ease 0s;
}

.list__checkbox:checked+.list__fake {
    background: var(--orange);
    border-color: transparent;
}

.list__fake::before {
    content: "";
    display: block;
    background-image: url("../img/check.svg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.select2-results__options>*:not(:first-child) {
    border-top: 1px solid #e9e9e9;
}

/*.select2-results__options {*/
/*    scrollbar-color: #CECECE #DFDFDF;*/

/*    scrollbar-width: thin;*/
/*}*/


.select2-results__options::-webkit-scrollbar-thumb {
    background: #CECECE;
}

.select2-results__options::-webkit-scrollbar {
    width: 4px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #DFDFDF;
}



.list__selects {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.list__filter {
    color: #E94328;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    background: #FFE8E4;
    border-radius: 3px;
}

.list__filter img {
    width: 10px;
    height: auto;
    cursor: pointer;
}

.list__filter-reset {
    font-size: 14px;
    color: var(--orange);
    transition: opacity 0.3s ease 0s;
}

.list__filter-reset:hover {
    opacity: 0.8;
}

.list__filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.list__table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0px 36px 80px 0px rgba(204, 204, 204, 0.2);
}

.list__table th:first-child,
.list__table td:first-child {
    width: 264px;
    text-align: left;
}

.list__table th,
.list__table td {
    text-align: center;
}

.list__table th {
    padding: 24px 20px;
    background: #F9F9F9;
    font-size: 14px;
    font-weight: 500;
}

.list__table td {
    padding: 30px 20px;
    font-size: 12px;
}

.list__table td {
    border-top: 1px solid #EEEEEE;
}

.list__table tbody tr:nth-child(-n+2) td {
    border-top: none;
}


/*card*/
.card {
    padding-top: 13px;
}

.card__top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #EEEEEE;
}

.card__img-wrap {
    position: relative;
    width: 162px;
    min-width: 162px;
    overflow: hidden;
    border-radius: 5.3px;
}

.card__img-wrap-inner {
    padding-bottom: 106%;
}

.card__info {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.card__title {
    font-size: 24px;
    font-weight: 600;
}

.card__info-inner>*:not(:first-child) {
    margin-top: 23px;
}

.card__data-list>*:not(:first-child) {
    margin-top: 12px;
}

.card__data-list li {
    color: #8E8E8E;
}

.card__data {
    color: #000;
}

.card__plushes {
    max-width: 560px;
    gap: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card__plush {
    padding: 12px;
    border-radius: 18px;
    background: #F9F9F9;
    display: flex;
    align-items: center;
    gap: 19px;
    width: 270px;
}

.card__plush-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #8E8E8E;
    border-radius: 10px;
}

.card__plush-icon img {
    width: 24px;
    height: auto;
}

.card__plush-key {
    color: #8E8E8E;
}

.card__plush-value {
    font-size: 18px;
    font-weight: 600;
}

.card__bottom {
    padding-top: 30px;
}

.card__bottom>*:not(:first-child) {
    margin-top: 30px;
}

.card__tab {
    transition: all 0.3s ease 0s;
    padding: 14px 27px;
    color: #3371B8;
    border: 1px solid #3371B8;
    border-radius: 500px;
}

.card__tab:hover,
.card__tab._active {
    background: #3371B8;
    color: var(--white);
}

.card__tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

._tab-content {
    display: none;
}

._tab-content._active {
    display: block;
}

.card__tab-contents {
    width: 100%;
    box-shadow: 0px 36px 80px 0px rgba(204, 204, 204, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 50px 0 100px 0;
}

.card__content-inner {
    width: 820px;
}

.card__content-inner>*:not(:first-child) {
    margin-top: 10px;
}

.card__content-plush {
    background: #F9F9F9;
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stepper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.stepper__list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

.stepper__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}

.stepper__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #3371B8;
    border-radius: 8px;
    color: #3371B8;
    font-weight: 500;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.stepper__line-marker {
    width: 8px;
    height: 8px;
    background-color: #F3F3F3;
    border-radius: 50%;
    margin: 18px 0;
    z-index: 2;
    transition: background-color 0.3s ease;
}

.stepper__item::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    width: 100%;
    height: 5px;
    background-color: #F3F3F3;
    z-index: 1;
}

.stepper__item:last-child::after {
    display: none;
}

.stepper__title {
    font-size: 12px;
    line-height: 1.4;
    max-width: 120px;
}

.stepper__item.is-active .stepper__badge {
    border-width: 2px;
}

.stepper__item.is-active .stepper__line-marker {
    background-color: #3371B8;
}

.stepper__item.is-active .stepper__title {
    font-weight: 500;
}

.stepper__item.is-completed .stepper__badge {
    background-color: #3371B8;
    color: #fff;
}

.stepper__item .stepper__icon {
    display: none;
}

.stepper__item.is-completed .stepper__icon {
    width: 20px;
    height: 20px;
    display: block;
}

.stepper__item.is-completed .stepper__badge>span {
    display: none;
}

.stepper__item.is-completed .stepper__line-marker {
    background-color: #3371B8;
}

.stepper__item.is-completed::after {
    background-color: #3371B8;
}

/*reg-form*/
.reg-form__container {
    box-shadow: 0px 145px 145px 0px rgba(204, 204, 204, 0.09);
    padding: 50px 100px;
    display: flex;
    justify-content: center;
}

.reg-form__inner {
    width: 820px;
}

.reg-form__inner>*:not(:first-child) {
    margin-top: 40px;
}

.reg-form__title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.reg-form__form {
    outline: none;
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    background: #F4F4F4;
}

.reg-form__wrapper>*:not(:first-child) {
    margin-top: 10px;
}

.reg-form__groups>*:not(:first-child) {
    margin-top: 35px;
}

.reg-form__document {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.file-uploader__label {
    display: block;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}


.dropzone-wrapper {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    cursor: pointer;
    transition: border-color 0.3s;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 650px;
    background: #F9F9F9;
    opacity: 0.8;
}

.dropzone-wrapper._hidden {
    display: none;
}

.dropzone-wrapper.dz-drag-hover {
    border-color: #82cc74;
    background: #f0f9ee;
}

.dropzone-wrapper.dz-started .dz-message {
    display: none;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.upload-placeholder__icon {
    width: 48px;
    height: auto;
    margin-bottom: 15px;
}

.upload-placeholder__text {
    font-size: 16px;
    margin-bottom: 5px;
}

.upload-placeholder__limit {
    font-size: 14px;
    color: #999;
}

.file-uploader__previews {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    width: 650px;
}


/* file*/
.file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #F9F9F9;
    padding: 15px;
    border-radius: 6px;
    width: 650px;
}

.file__name {
    font-weight: 600;
}

.file__img-wrap {
    position: relative;
    width: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.file__img-wrap-inner {
    padding-bottom: 100%;
}

.file__info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.file__action img {
    width: 19px;
    height: 19px;
}

.file__info-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.file__info-txt {
    font-size: 14px;
    color: #6F7074;
}

.file__info-txt.date {
    font-weight: 600;
}

.file__info-bottom {
    display: flex;
    align-items: center;
    gap: 22px;
}

.file__photo {
    width: 196px;
    position: relative;
}

.file__photo-inner {
    padding-bottom: 106%;
}

.file__photo-del {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 30px;
    height: 30px;
    background: #F9F9F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.file__photo-size {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.4);
    position: absolute;
    z-index: 5;
    bottom: 5px;
    left: 5px;
    border-radius: 600px;
}

.file__photo-name {
    position: absolute;
}

.reg-form__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--orange);
    transition: opacity 0.3s ease 0s;
}

.reg-form__nav:hover {
    opacity: 0.8;
}

.reg-form__prev img {
    transform: rotate(-180deg);
}

.reg-form__buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*modal*/
.modal {
    transition: all 0.3s ease 0s;
    opacity: 0;
    visibility: hidden;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 40;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal._active {
    opacity: 1;
    visibility: visible;
}

.modal__body {
    padding: 50px 40px;
    background: #fff;
    border-radius: 20px;
    max-width: 674px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.modal__close img {
    width: 13px;
    height: auto;
}

.modal__txt>* {
    text-align: center;
}

.modal__txt>*:not(:first-child) {
    margin-top: 30px;
}

.modal__back {
    transition: opacity 0.3s ease 0s;
    padding: 18px 27px;
    background: var(--orange);
    color: var(--white);
    border-radius: 500px;
}

.modal__back:hover {
    opacity: 0.8;
}

.modal__txt p {
    font-size: 20px;
}

/* ДЛЯ ПАГИНАЦИИ */
.list__pagination {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.list__pagination .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.list__pagination .page-item {
    display: inline-flex;
}

.list__pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #EEEEEE;
    color: #25282D;
    font-size: 14px;
    text-decoration: none;
    background: #fff;
    transition: all 0.3s;
}

.list__pagination .page-item.active .page-link {
    background: var(--orange, #E94328);
    border-color: var(--orange, #E94328);
    color: #fff;
}

.list__pagination .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
}

.list__pagination .page-link:hover {
    background: #F9F9F9;
}