.main.profile-page {
    margin-top: 30px;
    margin-bottom: 40px;
}
.main.chat-page {
    margin-top: 30px;
    margin-bottom: 40px;
}

.profile-menu {
    min-width: 310px;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.profile-menu .mobile-open {
    display: none;
}

.content-right .container{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.profile-menu nav {
    font-family: "Roboto", sans-serif;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    display: flex;
    flex-direction: column;
}

.profile-menu nav a {
    padding: 10px 20px;
    font-weight: 400;
    font-size: 18px;
    color: var(--m-black);
    position: relative;
}
.profile-menu nav a:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.profile-menu nav a:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.profile-menu nav a.active {
    background: #d0e8fe;
}

.profile-menu nav a.exit {
    background: #fed0d0;
    color: var(--m-red);
}

.profile-menu nav a .count {
    position: absolute;
    top: 8px;
    right: 302px;
    z-index: 10;
    border-radius: 4px;
    padding: 4px 10px;
    font-weight: 400;
    font-size: 16px;
    color: var(--m-white);
    background: var(--m-blue);
}

.profile-menu nav a .count.count-red {
    background: var(--m-red);
}

.profile-menu nav a .count:before {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid var(--m-blue);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.profile-menu nav a .count.count-red:before {
    border-left: 7px solid var(--m-red);
}


.main-profile {
    width: calc(100% - 310px - 20px);
}

.main-profile .title-profile {
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    width: 100%;
    box-sizing: border-box;
}
.main-profile .title-profile h1 {
    font-weight: 700;
    font-size: 20px;
    color: var(--m-black);
}
.main-profile #questions {
    margin: 30px 0 20px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}
.main-profile #answers {
    margin: 30px 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card-question {
    width: calc(100% / 2 - 10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    padding: 20px;
    box-sizing: border-box;
    color: var(--m-black);
    font-family: "Roboto", sans-serif;
    height: 180px;
    /*max-height: 180px;*/
    gap: 10px;
}
.card-question .top {
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.card-question .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-question .header > div {
    display: flex;
    gap: 20px;
}
.card-question .header > div .status {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    gap: 8px;
    align-items: center;
}
.card-question .header > div .status span {
    border-radius: 21px;
    display: block;
    width: 8px;
    height: 8px;
}
.card-question .header > div .number {
    font-weight: 400;
    font-size: 12px;
    color: #000;
}
.card-question .header > div .status span.await-payment {
    background-color: var(--m-yello);
}
.card-question .header > div .status span.moderation {
    background-color: var(--m-yello);
}
.card-question .header > div .status span.await-publication {
    background-color: var(--m-yello);
}
.card-question .header > div .status span.published {
    background-color: var(--m-green);
}
.card-question .header > div .status span.closed {
    background-color: var(--s-placeholder);
}
.card-question .header > div .status span.blocked {
    background-color: var(--m-red);
}
.card-question .header .date {
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--m-light-dark-footer);
}

.card-question .body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card-question .body .title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    font-size: 18px;
    color: #000;
    font-family: "Montserrat", sans-serif;
}
.card-question .body .info {
    display: flex;
    flex-direction: row;
    gap: 40px;
    font-weight: 400;
    font-size: 14px;
    color: var(--m-light-dark-footer);
}
.card-question .bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    font-weight: 600;
    font-size: 18px;
    color: var(--m-black);
}
.card-question .bottom .price {
    color: var(--m-blue);
}

.card-question .comment {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--f-button-hover-bg);
}

.card-question .comment_user,
.card-question .comment_user img {
    width: 50px;
    height: 50px;
}
.card-question .comment_user img {
    object-fit: cover;
    border-radius: 100%;
    border: 2px solid var(--m-blue);
    box-sizing: border-box;
}
.card-question .comment_data {
    font-size: 14px;
    max-width: 500px;
}
.comment_data p {
    padding-top: 3px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

.bottom-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.pets,
.profile-page .filials {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}
.pets .card-pet,
.profile-page .filials .card-fil {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    min-height: 155px;
    font-family: "Roboto", sans-serif;
    width: calc(100% / 3 - (20px * 2) / 3);
    gap: 12px;
}
.pets .card-pet.create-new-pets,
.profile-page .filials .card-fil.create-new-fil{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}
.pets .card-pet.create-new-pets p,
.profile-page .filials .card-fil.create-new-fil p {
    font-weight: 400;
    font-size: 14px;
    color: var(--m-black);
}
.pets .card-pet.create-new-pets span,
.profile-page .filials .card-fil.create-new-fil span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--m-green);
    border-radius: 100px;
    padding: 3px;
    width: 20px;
    height: 20px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
}
.pets .card-pet .name,
.profile-page .filials .card-fil .name {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pets .card-pet .name h3,
.profile-page .filials .card-fil .name h3,
.profile-page .filials .card-fil .name a {
    font-weight: 700;
    font-size: 18px;
    color: var(--m-black);
}
.profile-page .filials .card-fil img {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}
.pets .card-pet .name p,
.profile-page .filials .name p {
    font-weight: 400;
    font-size: 14px;
    color: var(--m-black);
}
.pets .card-pet .info,
.profile-page .filials .card-fil .info {
    font-weight: 400;
    font-size: 14px;
    color: var(--m-black);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pets .card-pet .info b,
.profile-page .filials .card-fil b {
    font-weight: 600;
}
.pets .card-pet .edit,
.profile-page .filials .card-fil .edit {
    position: absolute;
    right: 20px;
    top: 20px;
    border-radius: 1000px;
    padding: 3px;
    width: 20px;
    height: 20px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    font-size: 11px;
    color: var(--m-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}




.profile-edit {
    margin-top: 30px;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
}
.profile-edit form {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.profile-edit form .form-input {
    width: calc(100% / 2 - 10px);
}
.profile-edit .row {
    display: flex;
    gap: 20px;
    flex-direction: row;
}
.profile-edit .buttons {
    margin-top: 10px;
}
.profile-edit .buttons.row {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.profile-edit .information {
    padding: 20px;
    border: 1px solid var(--m-yello);
    border-radius: 6px;
    background-color: #fff9eb;
    color: var(--m-darkest-footer);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile-edit .information span {
    color: var(--m-red);
}
.profile-edit .information a {
    color: var(--m-blue);
}
.profile-edit .information ul {
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-tabs {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 2px 0 #9b9b9b;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    font-family: "Roboto", sans-serif;
}

.profile-tabs a {
    display: block;
    padding: 20px 20px;
    box-sizing: border-box;
    font-weight: 400;
    font-size: 18px;
    color: var(--m-black);
}
.profile-tabs a.active {
    background-color: #d0e8fe;
}

.profile-edit .upload-photo {
    display: flex;
    gap: 30px;
}
.profile-edit .upload-photo .form-input {
    width: 100%;
}
.profile-edit .upload-photo img {
    object-fit: cover;
    width: 200px;
    aspect-ratio: 1 / 1;
    border-radius: 100%;
    max-width: 200px;
}

.profile-edit .certificate-box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 20px;
}
.profile-edit .certificate-box .image-container {
    width: calc(100% / 3 - 7px);
    aspect-ratio: 1 / 1;
    position: relative;
    border: 1px solid #e1e1e1;
    box-sizing: border-box;
    border-radius: 6px;
}
.profile-edit .certificate-box .image-container .delete-certificate {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--m-red);
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}


.profile-edit .certificate-box .upload-cert {
    border: 1px solid #e1e1e1;
    padding: 10px;
    box-sizing: border-box;
}
.profile-edit .certificate-box .upload-cert, .profile-edit .certificate-box .upload-cert form {
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-edit .certificate-box .image-container img {
    object-fit: contain;
    width: 100%;
    aspect-ratio: 1 / 1;
}
.profile-edit .certificate-box .upload-cert .form-input{
    width: 100%;
}

.notifications {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notifications .notification {
    border-radius: 8px;
    width: 100%;
    padding: 25px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    box-sizing: border-box;
    justify-content: space-between;
    gap: 20px;
    font-family: "Roboto", sans-serif;
    color: black;
}
.notifications .notification.not-viewed {
    box-shadow: 0 0 2px 0 var(--m-blue);
    background: #dff0ff;
}
.notifications .notification > div:nth-child(1) {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.notifications .notification .icon {
    font-size: 20px;
}
.notifications .notification .text {
    width: 100%;
}
.notifications .notification h3 {
    font-size: 16px;
}
.notifications .notification p {
    padding-top: 5px;
    font-size: 14px;
}
.notifications .notification .date {
    font-size: 14px;
    min-width: 115px;
    color: #848484;
}


.error-notify-doctor {
    width: 100%;
    box-sizing: border-box;
    background-color: #FFCFCC;
    border: 1px solid var(--m-red);
    border-radius: 8px;
    font-weight: 400;
    font-size: 17px;
    color: var(--m-black);
    padding: 15px 20px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.doctor-verifi-aside {
    font-family: "Roboto", sans-serif;
    border-radius: 8px;
    box-shadow: 0 0 2px 0 #9b9b9b;
    background: var(--m-white);
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    align-items: center;
}
.doctor-verifi-aside .btn:disabled {
    cursor: no-drop;
    border: 2px solid #76afe5 !important;
    background-color: #96ccff !important;
}


.doctor-verifi-aside ul {
    border-left: 2px solid;
    margin-left: 5px;
    padding-left: 10px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.doctor-verifi-aside ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}
.doctor-verifi-aside ul li a {
    padding-right: 10px;
    color: #D79B0AFF;
    text-decoration: underline;
}
.doctor-verifi-aside ul li.active a {
    color: #28af28;
}

.doctor-verifi-aside ul li.active i {
    color: #28af28;
}




@media (max-width: 1330px) {
}

@media (max-width: 1000px) {
    .main.profile-page {
        margin-top: 10px;
    }
    .main.chat-page {
        margin: 10px 0;
        min-height: calc(100vh - 10px - 120px);
    }
    .content-right .container {
        flex-direction: column;
        gap: 10px;
    }
    .main-profile {
        width: 100%;
    }
    .profile-menu.mobile-d-none {
        display: none;
    }
    .profile-menu nav {
        margin-top: 5px;
        overflow: hidden;
        height: 0;
        transition: 0.3s;
    }
    .profile-menu .mobile-open {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
        align-items: center;
        font-weight: 600;
        font-size: 17px;
        border-radius: 8px;
        border: 1px solid var(--m-blue);
        color: var(--m-blue);
    }

    .profile-menu nav a {
        padding: 8px 40px 8px 12px;
        font-size: 16px;
    }

    .profile-menu nav a .count {
        font-size: 13px;
        top: 8px;
        right: 10px;
        padding: 3px 7px;
    }
    .profile-menu nav a .count:before {
        border-right: 7px solid var(--m-blue);
        right: unset;
        left: -5px;
        border-left: unset;
    }
    .profile-menu nav a .count.count-red:before {
        border-right: 7px solid var(--m-red);
        right: unset;
        left: -5px;
        border-left: unset;
    }

    .main-profile .title-profile h1 {
        font-size: 18px;
    }
    .profile-menu {
        min-width: unset;
        max-width: unset;
        gap: 10px;
    }
    .main-profile .title-profile {
        padding: 8px 10px;
    }
    .error-notify-doctor {
        margin-top: 0;
        font-size: 14px;
        padding: 10px 15px;
    }

    .profile-edit form .form-input {
        width: 100%;
    }
    .profile-edit .row {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }
    .profile-tabs {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .profile-tabs a {
        padding: 15px 5px;
        width: calc(100% / 2);
        text-align: center;
        font-size: 14px;
        box-shadow: 0 0 1px 0 #9b9b9b;
    }
    .profile-edit .upload-photo {
        flex-direction: column;
    }
    .profile-edit .upload-photo > div {
        display: flex;
        justify-content: center;
    }
    .profile-edit .information {
        font-size: 14px;
        padding: 10px;
    }
    .profile-edit {
        margin-top: 20px;
        padding: 10px;
    }
    .profile-edit .certificate-box .image-container {
        width: 100%;
    }
    .push-notifications {
        right: 10px;
        gap: 10px;
        width: calc(100% - 20px);
    }
    .push-notifications .notification {
        min-width: unset;
        max-width: unset;
    }
}

@media (max-width: 700px) {
    .card-question {
        width: 100%;
        max-height: unset;
        height: unset;
    }
    .card-question .body {
        margin-bottom: 20px;
    }
    .card-question .body .title {
        -webkit-line-clamp: 4;
        font-size: 16px;
    }
    .card-question .header > div {
        gap: 10px;
    }
    .pets .card-pet,
    .profile-page .filials .card-fil {
        width: 100%;
        min-height: unset;
    }

    .notifications .notification > div:nth-child(1) {
        flex-direction: column;
        gap: 10px;
    }
    .notifications .notification .icon {
        display: none;
    }
    .notifications .notification {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
}