.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;
  object-fit: cover;
}

#image-preview img {
  max-width: 200px;
  max-height: 150px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  border: 1px solid #e1e1e1;
}
#image-preview {
  margin-top: 10px;
  display: none;
}
.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 .photo-edit-form {
    width: 100%;
}

.profile-edit .photo-edit-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.profile-edit .photo-edit-frame-wrap {
    width: 100%;
    max-width: 360px;
}

.profile-edit .photo-edit-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #eef4f9 0%, #e2ecf6 100%);
    border: 2px dashed rgba(43, 147, 244, 0.35);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.profile-edit .photo-edit-frame--has-image {
    border-style: solid;
    border-color: rgba(43, 147, 244, 0.2);
    background: #0f1720;
}

.profile-edit .photo-edit-frame--drag {
    border-color: var(--m-blue, #2b93f4);
    box-shadow: 0 0 0 4px rgba(43, 147, 244, 0.2);
    background: #e8f4fc;
}

.profile-edit .photo-edit-frame--has-image.photo-edit-frame--drag {
    background: #1a2838;
}

.profile-edit .photo-edit-preview-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    touch-action: none;
}

.profile-edit .photo-edit-move-root {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-edit .photo-edit-move-inner {
    will-change: transform;
    cursor: grab;
    line-height: 0;
}

.profile-edit .photo-edit-move-inner.is-dragging {
    cursor: grabbing;
}

.profile-edit .photo-edit-preview-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.profile-edit .photo-edit-frame--has-image .photo-edit-preview-img:not([hidden]) {
    width: auto;
    height: auto;
    object-fit: unset;
}

.profile-edit .photo-edit-preview-img[hidden] {
    display: none !important;
}

.profile-edit .photo-edit-mask-ring {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.profile-edit .photo-edit-mask-ring::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    max-width: 90%;
    max-height: 90%;
    border-radius: 50%;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.95),
        0 0 0 9999px rgba(15, 30, 50, 0.38);
}

.profile-edit .photo-edit-frame--has-image .photo-edit-mask-ring::before {
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.92),
        0 0 0 9999px rgba(0, 0, 0, 0.45);
}

.profile-edit .photo-edit-dropzone {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    text-align: center;
    transition: opacity 0.25s ease;
}

.profile-edit .photo-edit-frame--has-image .photo-edit-dropzone {
    opacity: 0;
    pointer-events: none;
}

.profile-edit .photo-edit-frame--has-image.photo-edit-frame--drag .photo-edit-dropzone {
    opacity: 1;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.92);
    z-index: 8;
}

.profile-edit .photo-edit-dropzone--hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.profile-edit .photo-edit-dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 240px;
}

.profile-edit .photo-edit-dropzone-icon {
    font-size: 40px;
    color: var(--m-blue, #2b93f4);
    opacity: 0.85;
    line-height: 1;
}

.profile-edit .photo-edit-dropzone-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--m-black, #262626);
    font-family: "Roboto", sans-serif;
}

.profile-edit .photo-edit-dropzone-sub {
    margin: 0;
    font-size: 13px;
    color: var(--m-light-dark-footer, #888);
    line-height: 1.4;
}

.profile-edit .photo-edit-dropzone-or {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9aa5b1;
    margin: 4px 0;
}

.profile-edit .photo-edit-browse-btn {
    margin-top: 4px;
    border-radius: 10px !important;
    text-transform: none !important;
    font-weight: 700 !important;
    padding: 10px 22px !important;
}

.profile-edit .photo-edit-change-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    bottom: auto;
    transform: none;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--m-black, #262626);
    font-size: 13px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-edit .photo-edit-change-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.profile-edit .photo-edit-change-btn[hidden] {
    display: none !important;
}

.profile-edit .photo-edit-hint {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--m-light-dark-footer, #888);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 360px;
}

.profile-edit .photo-edit-hint i {
    color: var(--m-blue, #2b93f4);
    margin-top: 2px;
    flex-shrink: 0;
}

/* Панель масштаба внутри рамки (поверх превью) */
.profile-edit .photo-edit-inframe-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    padding: 10px 12px 12px;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(10, 15, 22, 0.88) 0%, rgba(10, 15, 22, 0.55) 70%, transparent 100%);
    border-radius: 0 0 18px 18px;
    pointer-events: auto;
}

.profile-edit .photo-edit-inframe-hint {
    margin: 0 0 8px;
    font-size: 11px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.profile-edit .photo-edit-inframe-hint i {
    color: rgba(147, 200, 255, 0.95);
    margin-top: 1px;
    flex-shrink: 0;
    font-size: 12px;
}

.profile-edit .photo-edit-zoom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.profile-edit .photo-edit-zoom-row--inframe {
    flex-wrap: nowrap;
    gap: 8px;
}

.profile-edit .photo-edit-zoom-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.profile-edit .photo-edit-zoom-range {
    flex: 1;
    min-width: 0;
    height: 6px;
    accent-color: #7ec8ff;
}

.profile-edit .photo-edit-reset-crop {
    flex-shrink: 0;
    border-radius: 8px;
    text-transform: none;
    font-size: 12px !important;
    padding: 7px 12px !important;
    font-weight: 700 !important;
    font-family: "Montserrat", sans-serif;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.profile-edit .photo-edit-reset-crop:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.55);
}

.profile-edit .photo-edit-input-native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.profile-edit .photo-edit-buttons {
    margin-top: 8px;
}

.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%;
}

/* Зона загрузки сертификатов: превью, поворот, отмена */
.profile-edit .certificate-box .upload-cert.cert-upload-modern {
    width: 100%;
    flex-basis: 100%;
    aspect-ratio: auto;
    min-height: 0;
    align-items: stretch;
}
.profile-edit .certificate-box .upload-cert.cert-upload-modern form {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 12px;
}
.profile-edit .cert-upload-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.profile-edit .cert-preview-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 48px;
    align-items: flex-start;
}
.profile-edit .cert-preview-empty {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    width: 100%;
}
.profile-edit .cert-preview-card {
    position: relative;
    width: calc(100% / 4 - 8px);
    min-width: 120px;
    max-width: 180px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    box-sizing: border-box;
}
.profile-edit .cert-preview-thumb {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f172a;
    overflow: hidden;
}
.profile-edit .cert-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.profile-edit .cert-preview-loading {
    color: #94a3b8;
    font-size: 20px;
}
.profile-edit .cert-preview-toolbar {
    display: flex;
    gap: 6px;
    padding: 8px;
    justify-content: center;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}
.profile-edit .cert-preview-btn {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background 0.15s ease, opacity 0.15s ease;
}
.profile-edit .cert-preview-rotate {
    background: #e0f2fe;
    color: #0369a1;
}
.profile-edit .cert-preview-rotate:hover {
    background: #bae6fd;
}
.profile-edit .cert-preview-remove {
    background: #fee2e2;
    color: #b91c1c;
}
.profile-edit .cert-preview-remove:hover {
    background: #fecaca;
}
.profile-edit .cert-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.profile-edit .cert-upload-hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}
.profile-edit .upload-cert.cert-upload-modern .buttons {
    margin-top: 4px;
    width: 100%;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .profile-edit .cert-preview-card {
        width: calc(50% - 5px);
        min-width: 0;
        max-width: none;
    }
}

.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 .photo-edit-frame-wrap {
        max-width: 100%;
    }
    .profile-edit .photo-edit-change-btn {
        font-size: 13px;
        padding: 9px 16px;
    }
    .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;
    }
}