body {
    margin: 0;
}


.vse {
    position: relative;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


.settings {
    position: absolute;
    right: 10px;
    top: 12px;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    font-size: 23px;
    color: #383838;
}

.notifications:hover,
.settings:hover {
    color: grey;
}

.notifications {
    position: absolute;
    right: 50px;
    justify-content: flex-end;
    cursor: pointer;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
    font-size: 23px;
    color: #383838;
}

.settings-dropdown {
    position: absolute;
    top: 40px;
    right: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 210px;
    z-index: 1000;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.2s ease;
}

.settings-dropdown.open {
    max-height: 500px; /* достаточно для содержимого */
    opacity: 1;
}

.button-settings {
    display: flex;
    align-items: center;
    gap: 8px; /* расстояние между иконкой и текстом */
    width: 100%;
    padding: 10px 5px;
    background: none;
    border: none;
    color: #222; /* цвет текста */
    font-size: 14px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
    border-radius: 4px;
    font-weight: bold;
}

.button-settings:hover {
    background-color: #cfcfcf;
}

#edit-form {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

/* Основной контейнер: профиль и заказы */
.profile-and-orders {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    align-items: flex-start;
}

/* Левая колонка: профиль + кнопки */
.profile-left {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
}

/* Профиль */
.profile-box {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-box p {
    margin: 10px 0;
}

/* Контейнер с кнопками */
.profile-buttons {
    display: flex;
    flex-direction: column;
}

.profile-update-btn {
    width: 100%;
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* синий как у ВК */
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: center;
    font-size: 14px;
}

.profile-update-btn:hover {
    background-color: #0056b3;
}

.orders-container {
    flex: 0 0 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.orders-section {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.orders-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.orders-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.orders-section li {
    background-color: #f6f8fa;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.orders-section li:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.orders-section li a {
    color: black;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

/* Купленные товары */
.orders-section + h2 {
    margin-top: 40px;
}

.text_ava,
.opisanie_ava {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fdfdfd;
}

.image_ava {
    margin: 10px 0;
    font-size: 16px;
}

.stats-box {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100px;
    font-size: 14px;
}

.stat-item h3 {
    margin: 0;
    color: #007bff;
    font-size: 20px;
}

.reviews-container {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
}

.review {
    background-color: #ffffff;
    border-left: 5px solid #007bff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.review ul {
    list-style: none;
    padding-left: 0;
}

.review li {
    padding: 2px 0;
}

.product-tile a {
    text-decoration: none;
    color: black;
}

.product-tile a:hover {
    color: black;
    text-decoration: none;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-top: 15px;
}

.review-header {
    display: flex;
    align-items: center;
}

.review-avatar img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #ccc;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background-color: #ccc;
    color: white;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    line-height: 48px;
    border-radius: 50%;
}

.review-meta {
    margin-left: 12px;
}

.review-username {
    font-weight: bold;
    color: #222;
    text-decoration: none;
    font-size: 16px;
}

.review-username:hover {
    text-decoration: underline;
}


.star {
    font-size: 12px;
    color: #ccc;
}

.star.filled {
    color: #ffc107;
}

.review-body {
    padding-left: 60px;
}

.review-comment {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
    margin-top: 0px;
}

.review-card .report-btn {
    font-size: 13px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.review-card .report-btn:hover {
    color: red;
}

.profile-right {
    flex: 1; /* Занимает всё оставшееся */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.delivery-order {
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.delivery-info-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.delivery-info-row p {
    margin: 0;
}
.delivery-order p {
    margin: 4px 0;
}

.delivery-link {
    text-decoration: none;
    color: inherit;
    display: block;

}

.review-card-form {
    max-width: 500px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.star-rating {
    direction: rtl;
    unicode-bidi: bidi-override;
    display: inline-block;
    margin-bottom: 10px;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
}

.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #ffc107;
}

.review-user-link {
    text-decoration: none; /* убирает подчеркивание */
    color: inherit;        /* наследует цвет текста родителя */
    display: flex;         /* чтобы аватар и текст оставались в одной линии */
    align-items: center;   /* вертикальное выравнивание */
}

.review-user-link:hover {
    text-decoration: none; /* убрать подчеркивание при наведении */
}

.delivery-arrow {
    position: relative;
    left: 95%;
    top: 50%;
    font-size: 18px;
    color: grey;
}

.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 34px;
    inset: 0;
    transition: 0.3s;
}

/* Шарик */
.theme-switch .slider::before {
    content: "\f185"; /* ☀ */
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    font-size: 13px;

    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;

    background: white;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #f5c518;
    transition: 0.3s;
}

/* Включено — тёмная тема */
.switch input:checked + .slider {
    background-color: #4b5563;
}

.theme-switch input:checked + .slider::before {
    content: "\f186"; /* 🌙 */
    transform: translateX(22px);
    color: #64748b;
}

.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}


#notificationsDropdown.saving {
  opacity: .7;
  pointer-events: none;
}

#notificationsDropdown.all-off .theme-row:not(:first-child) {
  opacity: .45;
}
#notificationsDropdown.all-off hr {
  opacity: .45;
}
#notificationsDropdown.saving {
  opacity: .75;
  pointer-events: none;
}

.theme-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 5px;
}

.switch-label {
    font-size: 14px;
    font-weight: bold;
}

.profile-actions{
    display:flex;
    gap:10px;
    align-items:center;
}

.field-note {
    font-size: 12px;
    color: #9aa0a6;
    margin-bottom: 14px;
}

#id_phone {
    margin-bottom: 0;
}

#id_location {
    margin-bottom: 0;
}


.phone-field {
    position: relative;
    display: inline-block;
    width: 100%;
}

.phone-field input {
    width: 100%;
    padding-right: 130px; /* место под надпись */
}

.phone-status {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    pointer-events: none; /* чтобы не мешало клику */
    white-space: nowrap;
}

.phone-status.confirmed {
    color: green;
}

.phone-status.not-confirmed {
    color: #b36b00;
}

.report-modal{
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  padding: 16px;
}

.report-modal__content{
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 60px auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  padding: 22px 22px 18px;
  animation: reportModalShow .22s ease;
}

@keyframes reportModalShow{
  from{
    opacity: 0;
    transform: translateY(14px) scale(.98);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.report-modal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .18s ease;
}

.report-modal__close:hover{
  background: #e5e7eb;
  transform: scale(1.04);
}

.report-modal__head{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-right: 42px;
}

.report-modal__icon{
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffe8e8, #ffd6d6);
  color: #ff5c35;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.report-modal__title{
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.report-modal__subtitle{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #6b7280;
}

.report-modal__form{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.report-modal__label{
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.report-modal__textarea{
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
  padding: 14px 15px;
  font-size: 15px;
  line-height: 1.45;
  color: #111827;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  box-sizing: border-box;
}

.report-modal__textarea::placeholder{
  color: #9ca3af;
}

.report-modal__actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.report-modal__btn{
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.report-modal__btn--ghost{
  background: #f3f4f6;
  color: #374151;
}

.report-modal__btn--ghost:hover{
  background: #e5e7eb;
}

.report-modal__btn--danger{
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.22);
}

.report-modal__btn--danger:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.28);
}

.report-modal__btn--danger:active{
  transform: translateY(0);
}

.profile-floating-back-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 12000;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    height: 44px;
    padding: 0 14px;

    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #111;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;

    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.14);
    backdrop-filter: blur(8px);

    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.profile-floating-back-btn:hover {
    text-decoration: none;
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.profile-floating-back-btn i {
    font-size: 14px;
}

.theme-row--column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.theme-mode-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
}

body.dark-theme .theme-mode-switch {
  background: rgba(255, 255, 255, 0.08);
}

.theme-mode-btn {
  border: none;
  background: transparent;
  border-radius: 10px;
  height: 42px;
  font-size: 18px;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}

.theme-mode-btn:hover {
  background: rgba(0, 0, 0, 0.08);
}

body.dark-theme .theme-mode-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.theme-mode-btn.active {
  background: #111;
  color: #fff;
}

body.dark-theme .theme-mode-btn.active {
  background: #fff;
  color: #111;
}

.theme-mode-btn:active {
  transform: scale(0.97);
}

.profile-info-wrap {
    position: relative;
    margin-top: 12px;
    padding-right: 56px; /* место под значок справа */
}

.profile-info p {
    margin: 10px 0;
}

.profile-card--edit,
.profile-box.profile-card {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at top right, rgba(13,110,253,0.10), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid rgba(13, 110, 253, 0.10);
    padding: 0;
    box-shadow:
      0 12px 32px rgba(15, 23, 42, 0.08),
      0 2px 10px rgba(15, 23, 42, 0.04);
}

.profile-card__top {
    position: relative;
    padding: 26px 22px 18px;
    background:
      linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.10)),
      var(--profile-cover-image),
      radial-gradient(circle at top right, rgba(var(--avatar-rgb, 13, 110, 253), 0.18), transparent 34%),
      linear-gradient(
        135deg,
        rgba(var(--avatar-rgb, 13, 110, 253), 0.14),
        rgba(var(--avatar-rgb, 13, 110, 253), 0.04)
      );
    background-size: cover, cover, auto, auto;
    background-position: center, center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
}

.profile-card__top::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(255,255,255,0.22), transparent 55%);
    pointer-events: none;
}

.profile-card__avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.profile-card__avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255,255,255,0.95);

    background: #f3f4f6;
}

.profile-card__avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #60a5fa);
}

.profile-card__identity {
    text-align: center;
    position: relative;
    z-index: 1;
}

.profile-card__name {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #111827;
    word-break: break-word;
}

.profile-card__subtitle {
    margin-top: 8px;
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
}

.profile-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(6px);
}

.profile-card__rating--empty {
    color: #6b7280;
    font-weight: 600;
}

.profile-card__rating-text {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.profile-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
}

.profile-info-row__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    min-width: 120px;
}

.profile-info-row__label i {
    color: #0d6efd;
    width: 16px;
    text-align: center;
}

.profile-info-row__value {
    text-align: right;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
    word-break: break-word;
}

.profile-about {
    margin-top: 4px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    border: 1px solid #e7eef8;
}

.profile-about__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 800;
    color: #6b7280;
}

.profile-about__title i {
    color: #0d6efd;
}

.profile-about__text {
    color: #374151;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
    word-break: break-word;
}

.profile-notify-tag {
    position: absolute;
    top: 18px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.25);
    transition: transform .15s ease, box-shadow .15s ease;
}

.profile-notify-tag:hover {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 14px 26px rgba(13, 110, 253, 0.32);
}

.profile-edit-shell {
    margin-bottom: 20px;
}

.profile-card--edit {
    overflow: hidden;
}

.profile-card__top--edit {
    padding-bottom: 20px;
}

.profile-edit-head {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.profile-edit-head__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    font-size: 13px;
    font-weight: 800;
    color: #334155;
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.profile-card__name--edit {
    font-size: 26px;
}

.profile-card__avatar--editable {
    transition: transform .18s ease, box-shadow .18s ease;
}

.profile-card__avatar--editable:hover {
    transform: scale(1.02);
}

.profile-avatar-upload {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.profile-avatar-upload__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.84);
    border: 1px solid rgba(0,0,0,0.08);
    color: #111827;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.profile-avatar-upload__btn:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.profile-avatar-upload__input {
    display: none;
}



.profile-edit-row__control {
    min-width: 0;
}

.profile-edit-row__control input,
.profile-edit-row__control textarea,
.profile-edit-row__control select,
.profile-about__editor textarea {
    width: 100%;
    border: 1px solid #dbe5f0;
    background: #fff;
    border-radius: 14px;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 15px;
    color: #111827;
    outline: none;
    box-sizing: border-box;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.profile-edit-row__control textarea,
.profile-about__editor textarea {
    min-height: 120px;
    resize: vertical;
}

.profile-edit-row__control input:focus,
.profile-edit-row__control textarea:focus,
.profile-edit-row__control select:focus,
.profile-about__editor textarea:focus {
    border-color: rgba(13,110,253,0.45);
    box-shadow: 0 0 0 4px rgba(13,110,253,0.10);
}

.profile-about--edit {
    padding: 16px;
}

.profile-about__editor {
    margin-top: 8px;
}

.profile-phone-field {
    width: 100%;
}

.profile-phone-field input {
    width: 100%;
    padding-right: 150px;
}

.profile-edit-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.profile-save-btn {
    min-height: 48px;
    border-radius: 16px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.16);
}

.profile-cancel-btn {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #374151;
    border-radius: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background .18s ease, transform .15s ease, box-shadow .18s ease;
    width: 100%;
}

.profile-cancel-btn:hover {
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.profile-card__actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.profile-message-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    box-shadow: 0 12px 24px rgba(13, 110, 253, 0.22);
    transition: transform .15s ease, box-shadow .15s ease;
}

.profile-message-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(13, 110, 253, 0.28);
}

.profile-more-btn {
    width: 40px;
    height: 38px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 40%;
    background: rgba(255,255,255,0.86);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.profile-more-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.10);
}

.profile-actions-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    z-index: 10000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(14px, -14px, 0) scale(0.96);
    transform-origin: top right;

    transition:
        opacity 0.18s ease,
        transform 0.22s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 0.22s;
}

.profile-actions-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);

    transition:
        opacity 0.18s ease,
        transform 0.22s cubic-bezier(.22, 1, .36, 1),
        visibility 0s linear 0s;
}

.profile-actions-menu__item {
    width: 100%;
    min-height: 42px;
    border: none;
    background: transparent;
    border-radius: 12px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    text-align: left;
}

.profile-actions-menu__item:hover {
    background: #f3f4f6;
}

.profile-actions-menu__item--danger {
    color: #dc2626;
}

.profile-card__meta {
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

.profile-review-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(13, 110, 253, 0.16);
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: #0d6efd;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.08);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.profile-review-open-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 14px 24px rgba(13, 110, 253, 0.12);
}

.reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.reviews-head h3 {
    margin: 0 0 0 5px;
}

.reviews-head__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.20);
    transition: transform .15s ease, box-shadow .15s ease;
}

.reviews-head__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.26);
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    padding: 16px;
}

.review-modal__content {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 60px auto;
    background-color: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    padding: 22px 22px 18px;
    animation: reviewModalShow .22s ease;
}

@keyframes reviewModalShow {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #222;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .18s ease;
}

.review-modal__close:hover {
    background: #e5e7eb;
    transform: scale(1.04);
}

.review-modal__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    padding-right: 42px;
}

.review-modal__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff3cd, #ffe08a);
    color: #b7791f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.review-modal__title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
}

.review-modal__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #6b7280;
}

.review-modal__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-modal__stars-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 4px;
}

.star-rating--modal {
    margin-bottom: 0;
}

.star-rating--modal label {
    font-size: 36px;
}

.review-modal__field textarea {
    width: 100%;
    min-height: 130px;
    resize: vertical;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #f9fafb;
    padding: 14px 15px;
    font-size: 15px;
    line-height: 1.45;
    color: #111827;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    box-sizing: border-box;
}

.review-modal__field textarea:focus {
    border-color: rgba(13,110,253,0.45);
    box-shadow: 0 0 0 4px rgba(13,110,253,0.10);
    background: #fff;
}

.review-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.review-modal__btn {
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .18s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.review-modal__btn--ghost {
    background: #f3f4f6;
    color: #374151;
}

.review-modal__btn--ghost:hover {
    background: #e5e7eb;
}

.review-modal__btn--primary {
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.22);
}

.review-modal__btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.28);
}

.review-modal__btn--primary:active {
    transform: translateY(0);
}

.reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 6px;
    flex-wrap: wrap;
}

.reviews-head h3 {
    font-weight: 800;
}

.reviews-head__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all .18s ease;
    white-space: nowrap;
}

.reviews-head__btn--soft {
    border: 1px solid rgba(13, 110, 253, 0.18);
    background: rgba(13, 110, 253, 0.06);
    color: #0d6efd;
    box-shadow: none;
}

.reviews-head__btn--soft:hover {
    background: rgba(13, 110, 253, 0.10);
    border-color: rgba(13, 110, 253, 0.28);
    transform: translateY(-1px);
}

.reviews-head__btn--soft i {
    font-size: 13px;
}
.profile-empty-state {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
    border: 1px solid #e6eef8;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.profile-empty-state__icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(59,130,246,0.06));
    color: #0d6efd;
    font-size: 26px;
}

.profile-empty-state__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-empty-state__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.profile-empty-state__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    max-width: 520px;
}

.profile-empty-state__btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #3b82f6);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.18);
    transition: transform .15s ease, box-shadow .15s ease;
}

.profile-empty-state__btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.24);
}

.reviews-empty-state {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
    background: linear-gradient(180deg, #fffdf7 0%, #fffaf0 100%);
    border: 1px solid #f3e8c7;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.reviews-empty-state__icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3cd, #ffe8a3);
    color: #b7791f;
    font-size: 24px;
}

.reviews-empty-state__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reviews-empty-state__title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.reviews-empty-state__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #6b7280;
    max-width: 560px;
}

.reviews-empty-state__btn {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid rgba(183, 121, 31, 0.18);
    border-radius: 999px;
    background: rgba(255, 243, 205, 0.65);
    color: #9a6700;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all .18s ease;
}

.reviews-empty-state__btn:hover {
    background: rgba(255, 243, 205, 0.95);
    transform: translateY(-1px);
}


.profile-card__rating--link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.profile-card__rating--link:hover {
  opacity: 0.85;
}

.profile-card__rating--link:active {
  transform: scale(0.98);
}


.profull-back {
    display: none;
}

.profile-block-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

.profile-block-banner--mine {
  background: rgba(239, 68, 68, 0.10);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.profile-block-banner--warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.20);
}

.u-modal__close {
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.u-modal__close.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
    .profile-box.profile-card {
        border-radius: 0;
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
    }

    .profile-card__top {
        padding: 32px 16px 28px;
    }

    .profile-card__avatar {
        width: 116px;
        height: 116px;
    }

    .profile-card__name {
        font-size: 22px;
    }

    .profile-card__body {
        padding: 14px;
    }

    .profile-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 12px 14px;
    }

    .profile-info-row__label {
        min-width: 0;
    }
    .profile-info-row__value {
        text-align: left;
        width: 100%;
    }

    .profile-notify-tag {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

  .report-modal{
    padding: 0px;
  }

  .report-modal__content{
    margin: 0px auto;
    padding: 18px 16px 16px;
    border-radius: 0px;
  }

  .report-modal__title{
    font-size: 19px;
  }

  .report-modal__actions{
    flex-direction: column;
  }

  .profile-floating-back-btn {
    top: 12px;
    left: 12px;
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .report-modal__btn{
    width: 100%;
    justify-content: center;
  }

    .profile-and-orders {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
        padding: 0 0px;
    }

    .profile-left, .profile-right {
        flex: 1 1 100%;
        width: 100%;
    }

    .settings-dropdown {
        top: 40px;
        right: 5px;
    }

    .stats-box {
        justify-content: space-around;
    }

    .stat-item {
        width: 30%;
        font-size: 13px;
        padding: 8px 10px;
    }

    .review-card-form {
        max-width: 100%;
        padding: 15px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;

    }

    .product-tile {
        border-radius: 8px;
    }

    .delivery-info-row {
        flex-direction: column;
        gap: 5px;
    }

    /* Немного уменьшим размер шрифта в отзывах */
    .review-comment {
        font-size: 14px;
    }
    .vse {
        padding: 0px 0px;
        margin: 0 auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .profile-edit-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .profile-card__name--edit {
        font-size: 22px;
    }

    .profile-edit-actions {
        flex-direction: column;
    }

    .profile-save-btn,
    .profile-cancel-btn {
        width: 100%;
        justify-content: center;
    }

    .profile-phone-field input {
        padding-right: 132px;
    }

    .phone-status {
        font-size: 12px;
    }
    .profile-card__actions {
        flex-wrap: wrap;
    }

    .profile-message-btn,
    .profile-review-open-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
        padding: 0 14px;
    }

    .reviews-head {
        align-items: stretch;
    }

    .reviews-head__btn {
        justify-content: center;
    }

    .review-modal {
        padding: 10px;
    }

    .review-modal__content {
        margin: 30px auto;
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .review-modal__title {
        font-size: 19px;
    }

    .review-modal__actions {
        flex-direction: column;
    }

    .review-modal__btn {
        width: 100%;
        justify-content: center;
    }
  .profile-empty-state {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
  }

  .profile-empty-state__content {
        align-items: center;
  }

  .profile-empty-state__btn {
        align-self: center;
  }
  .profile-empty-state,
  .reviews-empty-state {
        text-align: center;
        padding: 20px 16px;
  }

  .profile-empty-state__content,
  .reviews-empty-state__content {
        align-items: center;
  }

  .profile-empty-state__btn,
  .reviews-empty-state__btn {
        align-self: center;
  }

  .profull-back {
        display: block;
        position: absolute;
        left: 12px;
        top: 28px;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 2;
        font-size: 22px;
  }

}

.profile-top-action {
    position: absolute;
    top: 15px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 14px;
    background: rgba(255,255,255,0.86);
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15,23,42,.10);
    backdrop-filter: blur(10px);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-size: 18px;
    z-index: 1000;
}

.profile-top-action--menu {
    right: 0px;
}

.profile-top-action:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 12px 24px rgba(15,23,42,.14);
}

.profile-top-action--menu i {
    font-size: 20px;
}

.profile-menu-popover {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15,23,42,.16);
    z-index: 12000;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -8px, 0) scale(.96);
    transform-origin: top right;
    transition: opacity .18s ease, transform .22s cubic-bezier(.22,1,.36,1), visibility 0s linear .22s;
}

.profile-menu-popover.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition: opacity .18s ease, transform .22s cubic-bezier(.22,1,.36,1), visibility 0s linear 0s;
}

.profile-menu-item {
    width: 100%;
    min-height: 46px;
    border: none;
    background: transparent;
    border-radius: 14px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    text-align: left;
}

.profile-menu-item:hover {
    background: #f3f4f6;
}

.profile-menu-item--danger {
    color: #dc2626;
}

.profile-menu-badge {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-sheet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.42);
    backdrop-filter: blur(4px);
    z-index: 12000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.profile-sheet-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


.profile-sheet__content {
    margin: 0 auto;
    width: 100%;
    max-width: 520px;
    background: #fff;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -16px 36px rgba(15,23,42,.18);
    padding: 10px 12px calc(14px + env(safe-area-inset-bottom));

    max-height: min(100dvh, 100vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    box-sizing: border-box;
}
.profile-sheet__handle {
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: grey;
    margin: 8px auto 10px;
}

.profile-sheet__item {
    width: 100%;
    min-height: 54px;
    border: none;
    background: #f8fafc;
    border-radius: 16px;
    padding: 0 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
}

.profile-sheet__item--danger {
    color: #dc2626;
}

.profile-sheet__cancel {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 16px;
    background: #eef2f7;
    color: #111827;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 6px;
}

.settings-panel__header {
    align-items: center;
    margin-bottom: 14px;
    padding: 4px 2px 0;
}

.settings-panel__back {
    border: none;
    background: transparent;
    color: #3b82f6;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 4px;
    position: absolute;
}

.settings-panel__title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: #111827;
}

.settings-panel__section-title {
    font-size: 14px;
    color: #6b7280;
    font-weight: 700;
    margin: 14px 4px 8px;
}

.settings-panel__card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 8px 10px;
    border: 1px solid #e9eef5;
}

.settings-panel__card--notif .theme-row {
    padding: 12px 4px;
}

.settings-panel__row--column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.settings-panel__row-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.settings-link-row {
    width: 100%;
    min-height: 32px;
    border: none;
    background: transparent;
    border-radius: 14px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.settings-link-row:hover {
    background: rgba(0,0,0,.04);
}

.settings-link-row__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-link-row--danger {
    color: #dc2626;
}

.profile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12001;
    transform: translateY(150%);
    transition: transform .22s ease;
    will-change: transform;
    pointer-events: none;
}

.profile-sheet.open {
    transform: translateY(0);
    pointer-events: auto;
}

.profile-sheet-overlay {
  opacity: 0;
  transition: opacity .22s ease;
}

.profile-sheet-overlay.open {
  opacity: 1;
}

.settings-panel__card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 8px 10px;
    border: 1px solid #e9eef5;
    overflow: visible;
}

.profile-menu-divider {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 8px 0;
}

.profile-menu-popover__section-title {
    font-size: 12px;
    font-weight: 800;
    color: #6b7280;
    padding: 8px 12px 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.promo-code-empty {
    text-align: center;
    padding: 18px 12px;
    color: #6b7280;
    font-size: 14px;
}

.promo-code-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 20px;
    background:
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6eef8;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.promo-code-card--popover {
    margin: 10px 4px;
}

.promo-code-card__media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #eef2f7;
    border: 1px solid rgba(0,0,0,.05);
}

.promo-code-card__image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.promo-code-card__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.promo-code-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.promo-code-card__titles {
    min-width: 0;
    flex: 1;
}

.promo-code-card__title {
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
    color: #111827;
    word-break: break-word;
}

.promo-code-card__code {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    word-break: break-all;
}

.promo-code-card__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.promo-code-card__status,
.promo-code-card__uses {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.promo-code-card__status--active {
    background: rgba(34, 197, 94, 0.14);
    color: #15803d;
}

.promo-code-card__status--used {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.promo-code-card__status--expired {
    background: rgba(107, 114, 128, 0.14);
    color: #6b7280;
}

.promo-code-card__uses {
    background: rgba(15, 23, 42, 0.06);
    color: #374151;
}

.promo-code-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    word-break: break-word;
}

.promo-code-card__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.promo-code-card__discount,
.promo-code-card__scope {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.promo-code-card__discount {
    background: linear-gradient(135deg, rgba(13,110,253,.12), rgba(59,130,246,.08));
    color: #0d6efd;
}

.promo-code-card__scope {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
}


@media (min-width: 769px) {
    #settingsPanel.profile-sheet--desktop-popover {
        position: fixed;
        top: 0;
        left: 0;
        right: auto !important;
        bottom: auto !important;

        width: 420px;
        max-width: calc(100vw - 24px);
        z-index: 12021;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translate3d(0, -8px, 0) scale(.96) !important;
        transform-origin: top right;

        transition:
            opacity .18s ease,
            transform .22s cubic-bezier(.22, 1, .36, 1),
            visibility 0s linear .22s;
    }

    #settingsPanel.profile-sheet--desktop-popover.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1) !important;

        transition:
            opacity .18s ease,
            transform .22s cubic-bezier(.22, 1, .36, 1),
            visibility 0s linear 0s;
    }

    #settingsPanel.profile-sheet--desktop-popover .profile-sheet__content {
        margin: 0;
        width: 100%;
        max-width: none;
        max-height: min(78vh, 720px);
        overflow-y: auto;

        border-radius: 22px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(15,23,42,.16);
        padding: 10px 12px 14px;

        transform: none !important;
        opacity: 1 !important;
    }

    #settingsPanel.profile-sheet--desktop-popover .profile-sheet__handle {
        display: none;
    }
}

/* Небольшая подсветка, если открыть сразу раздел уведомлений */
.settings-section-flash {
    animation: settingsSectionFlash .55s ease;
}

@keyframes settingsSectionFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(59,130,246,.00);
        border-color: #e9eef5;
    }
    35% {
        box-shadow: 0 0 0 4px rgba(59,130,246,.12);
        border-color: rgba(59,130,246,.36);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59,130,246,.00);
        border-color: #e9eef5;
    }
}

@media (max-width: 768px) {
    .profile-menu-popover {
        display: none;
    }

    .profile-actions {
        top: 14px;
        right: 12px;
    }

    .profile-top-action {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
     .profile-top-action--menu {
        right: 10px;
     }

     .notifications {
        right: 60px;
     }
}

.product-request-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--card-bg, #fff);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-request-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
    border-color: rgba(37, 99, 235, 0.18);
}

.product-request-card--popover {
    margin: 10px 0 0;
}

.product-request-card__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-request-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-request-card__titles {
    min-width: 0;
}

.product-request-card__title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: #111827;
    word-break: break-word;
}

.product-request-card__meta {
    margin-top: 4px;
    font-size: 12px;
    color: #6b7280;
}

.product-request-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-request-card__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}

.product-request-card__contact i {
    width: 16px;
    color: #6b7280;
}

.product-request-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    word-break: break-word;
}

.product-request-card__bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.product-request-card__link {
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
}

.product-request-card__status {
    flex-shrink: 0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid transparent;
}

.product-request-card__status--new {
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.18);
}

.product-request-card__status--progress {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.22);
}

.product-request-card__status--done {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.22);
}

.product-request-card__status--cancelled {
    background: rgba(239, 68, 68, 0.10);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.18);
}

#productRequestsPopover {
    width: 340px;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 10px;
}

#promoCodesPopover {
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#promoCodesPopover .profile-menu-item {
    margin-bottom: 4px;
}

#promoCodesPopover .profile-menu-divider {
    margin: 10px 0;
}

#promoCodesPopover .profile-menu-popover__section-title {
    position: sticky;
    top: -10px;
    z-index: 2;
    background: #fff;
    padding: 10px 12px 8px;
    margin: 0 -10px 8px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

#promoCodesPopover .promo-code-empty {
    padding: 20px 12px;
}

#promoCodesPopover .promo-code-card {
    margin: 0 0 10px;
}

#promoCodesPopover .promo-code-card:last-child {
    margin-bottom: 0;
}

.desktop-popover-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 12010;

    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.desktop-popover-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* popover должны быть выше overlay */
.profile-menu-popover,
#promoCodesPopover,
#productRequestsPopover {
    z-index: 12020;
}


#notificationsPopover {
    width: 360px;
    max-width: calc(100vw - 24px);
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

#notificationsPopover .settings-panel__header {
    position: sticky;
    top: -10px;
    z-index: 2;
    padding: 10px 12px 8px;
    margin: -10px -10px 10px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.notification-placeholder-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e6eef8;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.notification-placeholder-card:last-child {
    margin-bottom: 0;
}

.notification-placeholder-card__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.10);
    color: #2563eb;
    font-size: 18px;
}

.notification-placeholder-card__icon--blue {
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
}

.notification-placeholder-card__icon--gold {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.notification-placeholder-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.notification-placeholder-card__title {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

.notification-placeholder-card__text {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7280;
    word-break: break-word;
}

.profile-top-action__badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(0,0,0,.06);
    transition: .18s ease;
}

.notification-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.notification-item--unread {
    border-color: rgba(37, 99, 235, .25);
    background: rgba(59, 130, 246, .06);
}

.notification-item__icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #334155;
    font-size: 18px;
}

.notification-item__icon--blue { background: rgba(59,130,246,.12); color: #2563eb; }
.notification-item__icon--green { background: rgba(34,197,94,.12); color: #16a34a; }
.notification-item__icon--gold { background: rgba(245,158,11,.14); color: #d97706; }
.notification-item__icon--purple { background: rgba(168,85,247,.14); color: #7c3aed; }
.notification-item__icon--orange { background: rgba(249,115,22,.14); color: #ea580c; }
.notification-item__icon--teal { background: rgba(20,184,166,.14); color: #0f766e; }

.notification-item__body {
    min-width: 0;
    flex: 1;
}

.notification-item__top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4px;
}

.notification-item__title {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

.notification-item__date {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}

.notification-item__text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.45;
    word-break: break-word;
}

.notification-item__status {
    margin-top: 8px;
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(37,99,235,.12);
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
}


.product-request-card__contact--phone {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-request-card__phone-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.product-request-card__phone-link:hover {
    text-decoration: underline;
}

.product-request-card__copy-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .18s ease;
    flex: 0 0 auto;
}

.product-request-card__copy-btn:hover {
    background: rgba(37, 99, 235, 0.14);
    transform: translateY(-1px);
}

.product-request-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.product-request-card__link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.product-request-card__link:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
}

.product-request-card__link:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.profile-top-action__badge--menu {
    background: #3b82f6;
}


.js-product-requests-badge {
    background: #3b82f6;
}

.profile-card__avatar-wrap--upload {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

.profile-card__avatar-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
}

.profile-card__avatar-trigger:focus-visible,
.profile-card__avatar-wrap--upload:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 4px;
}

.profile-card__avatar--editable,
.profile-card__avatar--owner-clickable {
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.profile-card__avatar-wrap--upload:hover .profile-card__avatar,
.profile-card__avatar-trigger:hover .profile-card__avatar {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.profile-card__avatar-edit-badge {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    border: 3px solid #fff;
    z-index: 2;
    pointer-events: none;
}

.profile-card__avatar-edit-badge--main {
    right: 8px;
    bottom: 6px;
}

.profile-card__avatar-edit-hint {
    position: absolute;
    left: 50%;
    bottom: -34px;
    transform: translateX(-50%) translateY(4px);
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    pointer-events: none;
    z-index: 3;
}

.profile-card__avatar-wrap--upload:hover .profile-card__avatar-edit-hint,
.profile-card__avatar-trigger:hover .profile-card__avatar-edit-hint {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.profile-avatar-upload__input {
    display: none;
}

@media (max-width: 768px) {
    .profile-card__avatar-edit-badge {
        width: 34px;
        height: 34px;
        right: 6px;
        bottom: 4px;
        font-size: 13px;
    }

    .profile-card__avatar-edit-hint {
        display: none;
    }
}

.profile-cover-upload {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 2;
}

.profile-cover-upload__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: .18s ease;
}

.profile-cover-upload__trigger:hover {
    background: #fff;
    transform: translateY(-1px);
}

.profile-cover-upload__input {
    display: none;
}





.profile-edit-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.profile-name-color-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.86);
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.profile-name-color-btn:hover {
    transform: translateY(-1px);
    background: #fff;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.10);
}

.profile-name-color-btn__swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111827;
    border: 2px solid rgba(255,255,255,0.95);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
    flex: 0 0 auto;
}

.profile-name-color-modal {
    max-width: 480px;
}

.profile-name-color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 10px 0 16px;
}

.profile-name-color-option {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.profile-name-color-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.profile-name-color-option.is-active {
    border-color: #111827;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.profile-name-color-custom {
    margin-top: 8px;
}

#nameColorCustomInput {
    width: 100%;
    height: 52px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    padding: 6px;
    cursor: pointer;
}

body.dark-theme .profile-name-color-btn {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.10);
    color: #60a5fa;
}

body.dark-theme .profile-name-color-btn:hover {
    background: rgba(255,255,255,0.12);
}

body.dark-theme .profile-name-color-option.is-active {
    border-color: #fff;
}

@media (max-width: 768px) {
    .profile-name-color-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .profile-edit-row__head {
        margin-bottom: 8px;
    }

    .profile-name-color-btn {
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }
}

.profile-name-color-preview-card {
    margin: 6px 0 16px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 100%);
    border: 1px solid #e7eef8;
    text-align: center;
}

.profile-name-color-preview-card__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 8px;
}

.profile-name-color-preview-card__name {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
    color: #111827;
    word-break: break-word;
}

@media (max-width: 768px) {
    .profile-name-color-preview-card__name {
        font-size: 24px;
    }
}


.profile-card__meta-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
}

.profile-card__meta-btn:hover {
  background: rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.profile-registered-date-box {
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.profile-registered-date-box__main {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
}

.profile-registered-date-box__sub {
  margin-top: 6px;
  font-size: 14px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .report-modal{
    padding: 14px;
    align-items: center;
    justify-content: center;
  }

  .report-modal__content{
    margin: 0;
    padding: 18px 16px 16px;
    border-radius: 22px;
    max-width: 100%;
  }

  .report-modal__title{
    font-size: 19px;
  }

  .report-modal__actions{
    flex-direction: column;
  }

  .report-modal__btn{
    width: 100%;
    justify-content: center;
  }
}


.profile-card__presence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}

.profile-card__presence-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 8px;
}

.profile-card__presence.is-online {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
}

.profile-card__presence.is-online .profile-card__presence-dot {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.55);
}

.profile-card__presence.is-offline {
    background: rgba(156, 163, 175, 0.62);
    border: 1px solid rgba(156, 163, 175, 0.2);
}

.profile-card__presence.is-offline .profile-card__presence-dot {
    background: #9ca3af;
}



.profile-card__presence {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px auto 10px;
    padding: 4px 7px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}