:root {
  color-scheme: light;
  --primary-color: #087f70;
  --primary-hover: #06695d;
  --primary-soft: #e8f5f1;
  --secondary-color: #52635f;
  --success-color: #16845b;
  --danger-color: #c94c4c;
  --warning-color: #b7791f;
  --background: #f5f7f6;
  --surface: #ffffff;
  --text-primary: #19312d;
  --text-secondary: #71817d;
  --border-color: #e5ebe8;
  --shadow: 0 2px 8px rgba(30, 55, 49, 0.045);
  --shadow-lg: 0 16px 40px rgba(30, 55, 49, 0.13);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--text-primary);
  line-height: 1.55;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(8, 127, 112, 0.24);
  outline-offset: 2px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-color);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-copy {
  display: grid;
  line-height: 1.25;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-btn {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-btn:hover {
  background: #f3f7f5;
  color: var(--text-primary);
}

.nav-btn.active {
  background: var(--primary-soft);
  color: var(--primary-color);
}

.nav-icon {
  font-size: 16px;
  line-height: 1;
}

.user-menu {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.user-display {
  max-width: 160px;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main {
  min-height: calc(100vh - 76px);
  padding: 38px 0 72px;
}

.view {
  display: none;
}

.view.active {
  display: block;
  animation: view-enter 220ms ease both;
}

.welcome-panel {
  position: relative;
  display: flex;
  min-height: 274px;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  padding: 38px 52px;
  border: 1px solid #dfece7;
  border-radius: 22px;
  background: linear-gradient(112deg, #eff8f4 0%, #f5f8f2 58%, #edf6f1 100%);
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.eyebrow {
  display: block;
  color: var(--primary-color);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #29a37e;
  box-shadow: 0 0 0 3px rgba(41, 163, 126, 0.12);
}

.welcome-copy h1 {
  margin: 13px 0 10px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.welcome-copy h1 span {
  color: var(--primary-color);
}

.welcome-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.welcome-art {
  position: absolute;
  top: 0;
  right: 2%;
  width: 38%;
  height: 100%;
}

.art-circle {
  position: absolute;
  display: block;
  border: 1px solid rgba(8, 127, 112, 0.09);
  border-radius: 50%;
}

.art-circle-one {
  top: -105px;
  right: 5px;
  width: 350px;
  height: 350px;
}

.art-circle-two {
  top: -55px;
  right: 55px;
  width: 250px;
  height: 250px;
}

.art-card {
  position: absolute;
  top: 50%;
  right: 38px;
  display: flex;
  width: 196px;
  min-height: 156px;
  flex-direction: column;
  justify-content: center;
  padding: 21px;
  transform: translateY(-50%) rotate(3deg);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 35px rgba(39, 93, 76, 0.12);
}

.art-card-label {
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.art-chart {
  display: flex;
  height: 42px;
  align-items: flex-end;
  gap: 8px;
  margin: 12px 0;
  border-bottom: 1px solid #e8eeeb;
}

.art-chart i {
  width: 13px;
  border-radius: 4px 4px 0 0;
  background: #a7d8c8;
}

.art-chart i:nth-child(1) { height: 45%; }
.art-chart i:nth-child(2) { height: 65%; }
.art-chart i:nth-child(3) { height: 52%; }
.art-chart i:nth-child(4) { height: 76%; }
.art-chart i:nth-child(5) { height: 61%; }
.art-chart i:nth-child(6) { height: 88%; background: #6dbda3; }
.art-chart i:nth-child(7) { height: 100%; background: var(--primary-color); }

.art-trend {
  color: var(--success-color);
  font-size: 11px;
}

.art-trend b {
  margin-left: 4px;
  color: var(--text-secondary);
  font-weight: 500;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 38px 0 19px;
}

.section-header h2 {
  margin: 5px 0 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 5px 12px rgba(8, 127, 112, 0.16);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  border-color: var(--border-color);
  background: white;
  color: var(--text-primary);
}

.btn-outline:hover,
.btn-quiet:hover {
  border-color: #cbd9d3;
  background: #f8faf9;
}

.btn-quiet {
  min-height: 38px;
  border-color: var(--border-color);
  background: white;
  color: var(--secondary-color);
}

.btn-danger {
  background: #fff0ef;
  color: var(--danger-color);
}

.btn-danger:hover {
  background: #ffe4e1;
}

.btn-sm {
  min-height: 34px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
  margin-bottom: 10px;
}

.btn-plus {
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.hidden {
  display: none !important;
}

.product-search-panel {
  margin: 30px 0 34px;
  padding: 22px 24px;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background: white;
  box-shadow: var(--shadow);
}

.product-url-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.product-url-description {
  margin: 3px 0 13px;
  color: var(--text-secondary);
  font-size: 12px;
}

.product-url-row {
  display: flex;
  gap: 9px;
}

.product-url-row .form-control {
  min-width: 0;
  flex: 1;
}

.product-url-row .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.product-search-panel > form > .form-hint {
  margin-top: 8px;
}

.product-preview:not(.hidden) {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.preview-message {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}

.preview-message.is-error {
  color: var(--danger-color);
}

.preview-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.preview-card-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.preview-image {
  width: 132px;
  height: 132px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #f7f9f8;
  object-fit: contain;
}

.preview-details {
  min-width: 0;
}

.preview-name {
  margin: 6px 0 4px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.preview-source {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
}

.preview-price {
  margin: 9px 0 0;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 750;
}

.preview-save {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid #edf1ef;
}

.preview-target {
  width: min(250px, 100%);
}

.preview-target label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 650;
}

.preview-save .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #f0f4f2;
}

.product-info {
  padding: 17px;
}

.product-name {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-brand {
  overflow: hidden;
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 750;
}

.product-price-drop {
  margin-bottom: 8px;
  color: var(--success-color);
  font-size: 13px;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid #edf1ef;
}

.product-actions .btn {
  flex: 1;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 44px 24px;
  border: 1px dashed #d5e0dc;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--text-secondary);
  text-align: center;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification-card {
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-left: 3px solid #cbd8d3;
  border-radius: 12px;
  background: white;
  box-shadow: var(--shadow);
}

.notification-card.unread {
  border-left-color: var(--primary-color);
  background: #f7fbf9;
}

.notification-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.notification-message {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 11px;
}

.settings-form {
  max-width: 660px;
  padding: 26px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
}

.settings-intro {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.settings-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-color);
}

.settings-intro h3,
.settings-intro p {
  margin: 0;
}

.settings-intro h3 {
  font-size: 15px;
}

.settings-intro p {
  margin-top: 3px;
  color: var(--text-secondary);
  font-size: 12px;
}

.form-group {
  margin-bottom: 19px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 650;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #dce5e1;
  border-radius: 9px;
  background: #fff;
  color: var(--text-primary);
  font-size: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-control::placeholder {
  color: #a2aeaa;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(8, 127, 112, 0.1);
}

.form-hint {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 11px;
}

.telegram-status {
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: #f8faf9;
}

.telegram-status p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 13px;
}

.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px;
  border-radius: 11px;
  background: #f3f6f5;
}

.auth-tab {
  min-height: 38px;
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.auth-tab.active {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 1px 4px rgba(30, 55, 49, 0.1);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.admin-tab {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background: white;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.admin-tab.active {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: white;
}

.admin-content {
  overflow-x: auto;
  padding: 17px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: #f7f9f8;
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-table a {
  color: var(--primary-color);
}

.modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 39, 34, 0.42);
}

.modal-content {
  width: min(100%, 460px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 17px;
  background: white;
  box-shadow: var(--shadow-lg);
  animation: modal-enter 180ms ease both;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 21px 22px 17px;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
  margin: 5px 0 0;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.modal-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f3f6f5;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 23px;
}

.modal-close:hover {
  background: #e9efec;
  color: var(--text-primary);
}

.modal-body {
  padding: 21px 22px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 15px 22px;
  border-top: 1px solid var(--border-color);
}

.loading-overlay {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 247, 246, 0.72);
}

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #dce9e4;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.toast-container {
  position: fixed;
  z-index: 3000;
  right: 20px;
  bottom: 20px;
  display: flex;
  width: min(360px, calc(100% - 40px));
  flex-direction: column;
  gap: 9px;
}

.toast {
  padding: 13px 15px;
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary-color);
  border-radius: 10px;
  background: white;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  animation: toast-enter 180ms ease both;
}

.toast.success { border-left-color: var(--success-color); }
.toast.error { border-left-color: var(--danger-color); }
.toast.warning { border-left-color: var(--warning-color); }

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes view-enter {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modal-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-enter {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 820px) {
  .header .container {
    min-height: 68px;
    gap: 12px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-btn {
    gap: 6px;
    padding: 0 9px;
    font-size: 12px;
  }

  .welcome-panel {
    min-height: 250px;
    padding: 32px;
  }

  .welcome-art {
    right: -3%;
    width: 36%;
  }

  .art-card {
    right: 16px;
    width: 170px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 520px);
  }

  .header .container {
    min-height: 0;
    flex-wrap: wrap;
    gap: 0;
    padding-top: 11px;
  }

  .brand {
    min-height: 46px;
    flex: 1;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }

  .nav {
    order: 3;
    width: calc(100% + 32px);
    gap: 4px;
    overflow-x: auto;
    margin: 8px -16px 0;
    padding: 0 16px 10px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-btn {
    min-height: 37px;
    flex: 0 0 auto;
    padding: 0 11px;
  }

  .user-menu {
    gap: 7px;
  }

  .user-display {
    max-width: 92px;
    font-size: 11px;
  }

  .user-menu .btn {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

  .main {
    min-height: calc(100vh - 108px);
    padding: 22px 0 48px;
  }

  .welcome-panel {
    min-height: 248px;
    align-items: flex-start;
    padding: 25px 22px;
    border-radius: 17px;
  }

  .welcome-copy {
    max-width: 100%;
  }

  .welcome-copy h1 {
    max-width: 270px;
    margin-top: 12px;
    font-size: 34px;
  }

  .welcome-copy p {
    max-width: 250px;
    font-size: 12px;
  }

  .welcome-art {
    top: auto;
    right: -27px;
    bottom: -34px;
    width: 190px;
    height: 145px;
    opacity: 0.72;
  }

  .art-circle-one {
    top: -22px;
    right: -32px;
    width: 200px;
    height: 200px;
  }

  .art-circle-two {
    top: 8px;
    right: 0;
    width: 140px;
    height: 140px;
  }

  .art-card {
    top: 55px;
    right: 15px;
    width: 142px;
    min-height: 116px;
    padding: 12px;
  }

  .art-chart {
    height: 30px;
    gap: 5px;
    margin: 7px 0;
  }

  .art-chart i {
    width: 10px;
  }

  .section-header {
    align-items: center;
    margin: 29px 0 15px;
  }

  .section-header h2 {
    font-size: 19px;
  }

  .section-header .btn {
    min-height: 39px;
    gap: 5px;
    padding: 0 11px;
    font-size: 11px;
  }

  .product-search-panel {
    margin: 22px 0 28px;
    padding: 17px;
  }

  .product-url-row {
    align-items: stretch;
    flex-direction: column;
  }

  .product-url-row .btn {
    width: 100%;
  }

  .preview-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .preview-image {
    width: 88px;
    height: 88px;
  }

  .preview-name {
    font-size: 14px;
  }

  .preview-price {
    margin-top: 5px;
    font-size: 16px;
  }

  .preview-save {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .preview-target {
    width: 100%;
  }

  .preview-save .btn {
    width: 100%;
  }

  .products-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-card {
    display: flex;
    min-height: 136px;
  }

  .product-image {
    width: 118px;
    height: auto;
    min-height: 136px;
    flex: 0 0 118px;
  }

  .product-info {
    min-width: 0;
    flex: 1;
    padding: 12px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-brand {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .product-price {
    margin-bottom: 4px;
    font-size: 16px;
  }

  .product-actions {
    gap: 6px;
    margin-top: 8px;
    padding-top: 8px;
  }

  .product-actions .btn {
    min-height: 30px;
    padding: 0 7px;
    font-size: 10px;
  }

  .settings-form {
    padding: 19px;
  }

  .admin-content {
    padding: 10px;
  }

  .admin-table {
    min-width: 600px;
  }

  .notification-card {
    padding: 15px;
  }

  .notification-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal {
    padding: 12px;
  }

  .modal-content {
    border-radius: 14px;
  }

  .modal-header,
  .modal-body {
    padding-right: 17px;
    padding-left: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
