
.account {
    min-height: 55vh;
}

.nav-link {
    color: #323131;
    text-align: center;
    font-family: "TrebuchetMS";
    font-size: 15px;
    font-weight: 700;
    padding: 12px 8px;
    text-transform: uppercase;
    line-height: normal;
}

.nav-link.active {
    color: #B2798E;
}


.photo-upload {
    border-radius: 12px;
    background: #F6F6F9;
    padding: 20px 16px;
}

.photo-upload p {
    color: #858687;
    font-family: Roboto;
    font-size: 14px;
}

#uploadBtn + button {
    font-size: 15px;
    line-height: normal;
}


#profileForm > div:first-child {
    row-gap: 24px;
    margin-bottom: 40px !important;
}

#profileForm {
    margin-bottom: 40px;
}

#placeWork + label{
    color:  #323131;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 114%
}

.profile__item {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.profile__item h3 {
    margin-bottom: 0;
}

.profile__item {
    margin-bottom: 60px;
}

.work-current {
    display: flex;
    align-items: center;
}

.date-input-group {
    position: relative;
}

.col-sm-4:has(input:focus) .date-input-group::after,
.col-sm-6:has(input:focus) .date-input-group::after,
.block-date .col-6:has(input:focus) .date-input-group::after
{
    transform: rotate(0deg);
}

.date-input-group::after {
    position: absolute;
    content: '';
    right: 15px;
    width: 14px;
    height: 8px;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: .3s;
    transform: rotate(180deg);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none' class='accordion-arrow'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.34732 0.335398C7.15357 0.148298 6.84643 0.148298 6.65268 0.335399L0.372463 6.39997C0.168897 6.59655 0.168896 6.92274 0.372463 7.11932L0.937139 7.6646C1.13089 7.8517 1.43803 7.8517 1.63179 7.6646L7 2.48072L12.3682 7.6646C12.562 7.8517 12.8691 7.8517 13.0629 7.6646L13.6275 7.11932C13.8311 6.92274 13.8311 6.59655 13.6275 6.39997L7.34732 0.335398Z' fill='%23B2798E'%3E%3C/path%3E%3C/svg%3E");
}

.profile-file-title.profile-file-title_mb {
    margin-bottom: 12px;
}

.save-publication {
    background: transparent;
    border: none;
    color: #656565;
    text-align: center;
    font-family: "TrebuchetMS";
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    opacity: 0.6;
}

#ad-index .upload-zone__content {
    display: flex;
    white-space: nowrap;
    align-items: center;
}

.form-modal__radios_close{
    gap: 20px !important;
    margin-top: 12px;
}

.form-modal__radios_close .form-check-label{
    margin-top: 2px;
}

.price-block {
    position: relative;
}

#ad-index .accordion-content {
    top: 35px;
}

.price-block svg {
    position: absolute;
    right: 27px;
}

.price-block .flex-column svg {
    top: 35px;

}

#adModal .bt-course__top-item > .profile-file-title,
#vacanciesModal .bt-course__top-item > .profile-file-title {
    color: #323131;
    font-family: "TrebuchetMS";
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 28px;
}

.btn-added {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 51px;
    border: 1px solid rgba(178, 121, 142, 0.30);
    background: rgba(178, 121, 142, 0.05);
    padding: 15px 30px;
    min-width: 370px;
}

.btn-added span {
    color: #B2798E;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
}

.profile .profile-file-select {
    margin-top: 0;
}

input.form-control:disabled {
    background: #F4F4F4;
    color: #656565;
}

.profile__experience {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(193, 192, 195, 0.50);
    background: #FFF;
    display: flex;
    flex-direction: column;
    gap: 28px;

    position: relative;
}


.btn-delete-experience {
    position: absolute;
    right: 24px;
    top: 24px;
    border: none;
    background: transparent;
    padding: 0;
    transition: .3s;
}

.profile__experience-item {
    display: flex;
    flex-direction: column;
}

.btn-delete-experience:focus {
    outline: none;
}

.btn-delete-experience:hover svg {
    stroke: #B2798E;
}

.profile__experience-item h4 {
    font-weight: 400;
    font-size: 14px;
}

.profile__experience-item p {
    font-family: 'Roboto';
    margin-bottom: 0;
    color: #323131;
}


.certification {
    padding: 0 !important;
    border: 1px solid rgba(193, 192, 195, 0.50) !important;
    position: relative;
}

.certification.attached-file img {
    border-radius: 4px !important;
}

.profile textarea,
.modal textarea,
.learning-modal textarea {
    min-height: 92px;
    padding: 14px 16px;
    resize: none;
    border-radius: 8px;
    color: #323131;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}


.tab-wrapper {
    display: flex;
    gap: 32px;
    padding-left: 8px;
}


button {
    background: transparent;
    border: none;
}


.header-tabs .btn-added {
    min-width: 270px;
}

.tab {
    color: #858687;
    text-align: center;
    font-family: "TrebuchetMS";
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0 8px 12px;
    position: relative;
}

.tab.active {
    color: #B2798E;
}

.tab.active::after {
    content: '';
    position: absolute;
    border-radius: 12px 12px 0 0;
    background: #B2798E;
    box-shadow: 0 4px 12px 0 rgba(178, 121, 142, 0.40);
    height: 4px;
    left: -8px;
    width: calc(100% + 16px);
    bottom: 0;
}


.card-announcements {
    display: flex;
    gap: 30px;
}

.card__block-image {
    border-radius: 12px;
    border: 1px solid rgba(193, 192, 195, 0.50);
    width: 200px;
    height: 180px;
}


.card__block-image img {
    object-fit: cover;
    max-width: 100%;
    height: 100%;
}

.status {
    color: #21A78F;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.14;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.vacancies-text {
    color: #858687;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.vacancies-text + p {
    color: #858687;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 36px;
}

.status.inactive {
    color: #858687;
}

.status.moder {
    color: #DD9137;
}


.card-vacancies .price{
    min-width: 146px;
}


.status.no-moder {
    color: #E33163;
}

.progress {
    height: 9px;
}

.progress-bar {
    background-color: #21A78F;
}

.card-title {
    color: #323131;
    font-family: Roboto;
    font-size: 20px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 4px;
}

.card-announcements {
    flex: 1 1 100%;
    max-width: calc(100% - 130px);
}

.card-announcements + div {
    flex: 0 0 auto;
    width: max-content;
    margin-left: auto;
}

.category {
    color: #858687;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.price {
    color: #323131;
    font-family: "TrebuchetMS";
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.days-left {
    color: #858687;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.icon {
    border-radius: 8px;
    border: 1px solid rgba(193, 192, 195, 0.50);
    background: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: .3s;
}

.icon:hover {
    border: 1px solid rgba(178, 121, 142, 0.60);
    background: rgba(178, 121, 142, 0.10);
}

.dropdown-menu {
    border-radius: 8px;
    border: 1px solid rgba(178, 121, 142, 0.50);
    background: #FFF;
    box-shadow: 0 6px 20px 0 rgba(69, 68, 74, 0.12);
    left: initial;
    right: 0;
    margin-top: 8px;
    padding: 8px;
}

.card-bottom-right {
    min-width: 170px;
}

.dropdown-item {
    color: #323131;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    padding: 12px 12px 12px 8px;
    min-width: 220px;
}

.views {
    color: var(--text_grey, #656565);
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
}

[data-tab-content] > .row:not(:last-child) {
    margin-bottom: 32px !important;
}


.clinic-search-input {
    border: none;
    background: transparent;
    width: 100%;
    outline: none;
    cursor: pointer;
    color: #323131;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.clinic-search-input:read-only {
    cursor: default;
}

.clinic-search-input::placeholder {
    color: #858687;
}

.clinic-list {
    max-height: 256px;
    overflow-y: auto;
}

.clinic-not-found {
    padding: 12px;
    text-align: center;
    color: #858687;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
}

.clinic-add-btn {
    min-width: 350px;
    color: #FFF !important;
}

.clinic-add-btn:hover {
    color: #8e5c6e;
}

.new-clinic-remove {
    color: #B2798E;
    padding: 10px;
}

.new-clinic-remove:hover {
    color: #8e5c6e;
}

.accordion-header[disabled] {
    pointer-events: none;
}

.profile-file-item {
    cursor: pointer;
    padding: 8px 10px;
}

.profile-file-item:hover {
    background-color: #f8f9fa;
}

.profile-file-item.selected {
    background-color: #e9ecef;
}

.accordion-header__left {
    overflow: hidden;
}


.invalid-feedback {
    display: none;
    color: #E33163;
    font-size: 14px;
    margin-top: 5px;
}

.is-invalid {
    border-color: #E33163 !important;
}

.form-control.is-invalid {
    background-image: none;
}

.clinic-search-input.is-invalid {
    border: 1px solid #E33163;
}

.accordion-header.is-invalid {
    border-bottom: 1px solid #E33163;
}


.error-field {
    border-color: #E33163 !important;
}

.error-message {
    color: #E33163;
    font-size: 12px;
    margin-top: 6px;
    display: block;
    font-family: Roboto;
    font-weight: 400;
}

.form-group {
    position: relative;
    margin-bottom: 0px;
}

.card-vacancies {
    border-radius: 12px;
    border: 1px solid rgba(193, 192, 195, 0.30);
    background: #F6F6F9;
    padding: 24px;
}

.create-date {
    margin-top: 12px;
    color: #656565;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0;
}

.clue{
    position: absolute;
    bottom: -35px;
    color:  #858687;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

#uploadBtn {
    padding: 0px 40px;	
}

@media (max-width: 992px) {
    .guarantees {
        margin-top: -15px;
    }

    .work-current {
        margin-top: -12px;
    }

    .account h2 {
        margin-bottom: 20px !important;
    }

    #fileInput + button {
        padding: 13px 16px;
    }

    .account__phone-block {
        gap: 50px;
    }

    .account nav {
        margin-bottom: 40px;
    }
}


@media (max-width: 768px) {

    .closeVacancies-modal .modal-dialog{
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        margin: auto 0 0 ;
        height: 100%;
        max-width: 100%;
    }

    .closeVacancies-modal .modal-dialog .modal-body{
        padding-bottom: 40px;
    }
    .new-clinic-remove.icon {
        margin-bottom: 0;
    }

    .clinic-add-btn {
        margin-top: 0 !important;
    }

    .card-announcements {
        max-width: calc(100% - 78px);
    }

    [data-tab-content] > .row {
        padding-right: 0 !important;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .header-tabs {
        flex-direction: column;
    }

    .tab-wrapper {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 32px;
    }

    .header-tabs .btn-added {
        width: 100%;
    }

    .icons {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end !important;
    }

    .category + div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .icon {
        margin-right: 0 !important;
        margin-bottom: 8px;
    }

    .card__block-image {
        width: 47%;
        height: 50%;
    }

    .profile + .modal .form-modal__bottom {
        margin-top: 40px !important;
    }


    #ad-index .form-modal__bottom {
        margin-bottom: 20px;
    }

    #learningModal .upload-zone__content,
    #adModal .upload-zone__content {
        justify-content: flex-start;
    }

    #learningModal .upload-zone__content p,
    #adModal .upload-zone__content p {
        text-decoration: underline;
    }

    #profileForm > div:last-child {
        padding-right: 0 !important;
        position: relative;
    }

    .btn-added {
        min-width: 100%;
    }

    #successMsg {
        position: absolute;
        bottom: -100%;
        left: 0;
        right: 0;
        text-align: center;
    }

    .profile__item {
        margin-bottom: 50px;
    }

    .profile #profileFileSelect.profile-file-select {
        margin-bottom: 24px !important;
    }

    .card__block-image img {
        height: initial;
        width: 100%;
        max-width: initial;
    }
}

@media (max-width: 580px) {
    .card-vacancies{
        padding: 16px;
    }
    .card-vacancies .card-announcements + div{
        padding-right: 16px;
    }

    .card-vacancies .status{
        margin-bottom: 8px !important;
    }
    .card-vacancies .card-title{
        margin-bottom: 4px !important;
    }
    .card-vacancies .card-title + p{
        margin-bottom: 5px !important;
        font-size: 12px;
    }
    .card-vacancies .b-vacancies__experience{
        margin-bottom: 16px !important;
        font-size: 12px;
    }
    .card-vacancies .b-vacancies__experience + div{
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .card-vacancies  .card-bottom-right{
        margin-left: 0 !important;
    }

    .clinic-add-manual {
        padding: 0 12px;
    }

    .header-tabs {
        margin-bottom: 40px !important;
    }

    #tab-content > .row {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .views {
        font-size: 12px;
        margin-left: 6px !important;
    }

    .card-title {
        font-size: 16px;
        line-height: 1.1;
    }

    .category {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .card-announcements {
        gap: 20px;
    }

    .card-announcements + div {
        width: max-content;
    }

    .card__block-image {
        width: 35%;
    }


    .icon {
        height: 40px;
        width: 40px;
    }

    .price {
        font-size: 16px;
    }

    .progress {
        height: 6px;
    }

    .days-left {
        font-size: 12px;
    }

    #adModal .upload-zone__wrapper {
        padding: 24px;
    }

    .block-footer-contact {
        gap: 24px;
    }

    .row .col-sm-6:first-child > .profile__experience-item {
        margin-bottom: 24px;
    }

    #adModal #formPublishBtn {
        margin: auto;
    }

    #adModal .form-modal__bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .photo-upload {
        display: grid;
        grid-template-columns: repeat(2, 100px 1fr);
        gap: 20px;
        align-items: center;
    }

    .photo-upload > p:last-child {
        grid-column: 1 / 5;
    }

    .account__upload {
        grid-column: 2 / 5;
    }

    #removeBtn {
        margin-bottom: 0 !important;
    }

    #photoPreview img, #photoPreview svg {
        width: 100px !important;
        height: 100px !important;
    }

    .card-announcements > div:last-child {
        padding: 0 !important;
    }

    .card-announcements + div {
        padding-top: 0 !important;
        padding-right: 0;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 520px) {
    .card__block-image {
        height: 70px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}