/* ============================================================
   Ashti Admin Panel — admin.css
   Brand colours from style.css:
     --red: #D81E3F  --rose: #F5C6CE  --cream: #FDF8F5
     --dark: #1F1F1F  --gold: #C9A961
   ============================================================ */

/* ---------- Root variables ---------- */
:root {
  --red:            #D81E3F;
  --red-dark:       #b01830;
  --rose:           #F5C6CE;
  --cream:          #FDF8F5;
  --dark:           #1F1F1F;
  --gold:           #C9A961;
  --sidebar-width:  260px;
  --topbar-height:  56px;
  --admin-bg:       #f4efeb;
  --card-radius:    14px;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-pill:    999px;
  --shadow-sm:      0 1px 2px rgba(31,31,31,.06);
  --shadow-md:      0 6px 20px rgba(31,31,31,.08);
  --shadow-lg:      0 14px 38px rgba(216,30,63,.14);
  --ease:           cubic-bezier(.4,0,.2,1);
  --ease-out:       cubic-bezier(.16,1,.3,1);
  --sidebar-hover:  rgba(255,255,255,0.13);
  --sidebar-active: rgba(0,0,0,0.22);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

.admin-body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--admin-bg);
  color: var(--dark);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; font-weight: 700; }

/* ============================================================
   LAYOUT SHELL
   ============================================================ */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.admin-sidebar {
  width: var(--sidebar-width);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 200;
  transition: transform 0.28s var(--ease);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
  box-shadow: 2px 0 20px rgba(176,24,48,0.15);
}

.sidebar-header {
  padding: 1.4rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.sidebar-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);  /* white logo on red */
}

.sidebar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.sidebar-nav {
  flex: 1;
  padding: 0.75rem 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 1.2rem;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  transition: background 0.18s, color 0.18s;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  background: var(--sidebar-hover);
  color: #fff;
  border-left-color: rgba(255,255,255,0.5);
}

.sidebar-link.active {
  background: var(--sidebar-active);
  color: #fff;
  font-weight: 700;
  border-left-color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(201,169,97,.15);
}

.sidebar-link i {
  font-size: 1.1rem;
  width: 1.3rem;
  text-align: center;
  flex-shrink: 0;
}

/* Form-wrapped sidebar actions (e.g. backup download via POST+CSRF) */
.sidebar-form { margin: 0; padding: 0; }
.sidebar-link-btn {
  width: 100%;
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
  text-align: inherit;
  cursor: pointer;
  font: inherit;
}

.sidebar-divider {
  border-color: rgba(255,255,255,0.2);
  margin: 0.4rem 1rem;
}

.sidebar-logout {
  color: rgba(255,255,255,0.68) !important;
}

.sidebar-logout:hover {
  background: rgba(0,0,0,0.25) !important;
  color: #fff !important;
}

.sidebar-footer {
  padding: 0.9rem 1.2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}

/* ---------- Mobile top bar ---------- */
.admin-topbar {
  display: none; /* shown only on mobile via d-lg-none utility */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  align-items: center;
  padding: 0 1rem;
  gap: 0.9rem;
  z-index: 300;
  box-shadow: var(--shadow-md);
}

.topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: #fff;
}

#sidebar-toggle {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  padding: 0.3rem 0.6rem;
  line-height: 1;
  font-size: 1.1rem;
}

#sidebar-toggle:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* ---------- Sidebar overlay (mobile) ---------- */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  z-index: 199;
  cursor: pointer;
}

.sidebar-overlay.show {
  display: block;
}

/* ---------- Main content ---------- */
.admin-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 2rem;
  min-width: 0; /* prevent flex overflow */
}

/* ---------- Responsive: collapse sidebar ---------- */
@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-main {
    margin-left: 0;
    padding: 1rem;
    padding-top: calc(var(--topbar-height) + 1rem);
  }
  .admin-topbar {
    display: flex;
  }
}

/* ============================================================
   PAGE HEADER
   ============================================================ */

.admin-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--rose);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-page-header h2 {
  font-family: 'Playfair Display', serif;
  color: var(--red);
  margin: 0;
  font-size: 1.7rem;
}

/* ============================================================
   STAT CARDS
   ============================================================ */

.stat-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--red);
  height: 100%;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

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

.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.1;
}

.stat-label {
  color: #888;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 0.3rem;
}

/* ============================================================
   ADMIN CARDS & TABLES
   ============================================================ */

.admin-card {
  border: none;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.admin-card .card-header {
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0;
  padding: 0.9rem 1.2rem;
  letter-spacing: 0.2px;
}

.admin-table tbody tr {
  transition: background .2s var(--ease);
}

.admin-table tbody tr:hover {
  background: rgba(245, 198, 206, .18);
}

.admin-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  font-weight: 600;
  border-bottom: 2px solid #f0ece8;
  white-space: nowrap;
}

.admin-table td {
  vertical-align: middle;
  font-size: 0.9rem;
}

.admin-table .thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--rose);
}

.action-btns {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
}

.action-btns form {
  margin: 0;
}

/* Responsive table scroll on small screens */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   FORMS
   ============================================================ */

.form-label {
  font-weight: 500;
  color: var(--dark);
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border: 1.5px solid var(--rose);
  border-radius: 10px;
  padding: 0.55rem 0.85rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(216, 30, 63, 0.15);
}

.form-text {
  font-size: 0.8rem;
  color: #888;
}

.img-preview-box {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--rose);
  display: block;
  margin-bottom: 0.6rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn-brand {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.btn-brand:hover,
.btn-brand:focus {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-brand-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
}

.btn-brand-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   LOGIN PAGE — split layout
   ============================================================ */

.login-body {
  min-height: 100vh;
  background: var(--admin-bg);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.login-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

/* Brand panel (left) */
.login-brand {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(245,198,206,.25), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(201,169,97,.22), transparent 55%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 3rem 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0l6 18h18l-15 11 6 18-15-11-15 11 6-18-15-11h18z' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 90px 90px;
  opacity: .06;
  pointer-events: none;
}

.login-brand-inner {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.login-brand img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.5rem;
}

.login-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 .75rem;
  line-height: 1.15;
}

.login-brand .brand-tag {
  font-size: 1rem;
  opacity: .9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.login-brand .brand-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.login-brand .brand-features li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  opacity: .95;
}

.login-brand .brand-features i {
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.login-brand .brand-footer {
  margin-top: auto;
  padding-top: 2rem;
  font-size: .82rem;
  opacity: .7;
}

/* Form panel (right) */
.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: #fff;
}

.login-wrap {
  width: 100%;
  max-width: 420px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.login-logo img {
  display: none; /* logo shown in left brand panel */
}

.login-logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--red);
  margin: 0;
}

.login-logo p {
  font-size: .9rem;
  color: #888;
  margin: .35rem 0 0;
}

/* Mobile: stack panels */
@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-brand {
    padding: 2rem 1.5rem 2.5rem;
    text-align: center;
  }

  .login-brand-inner {
    margin: 0 auto;
  }

  .login-brand .brand-features {
    display: none;
  }

  .login-brand .brand-footer {
    display: none;
  }

  .login-panel {
    padding: 2rem 1.25rem 3rem;
  }
}

/* ============================================================
   CHANGE PASSWORD PAGE
   ============================================================ */

.change-pass-wrap {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 2rem;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

/* ============================================================
   ALERTS / FLASH MESSAGES
   ============================================================ */

.flash-wrap {
  margin-bottom: 1.25rem;
}

/* ============================================================
   CATEGORY TABLE inline-edit rows
   ============================================================ */

.cat-edit-row input,
.cat-edit-row select {
  font-size: 0.85rem;
  padding: 0.3rem 0.5rem;
}

/* ============================================================
   UTILITY
   ============================================================ */

.text-red   { color: var(--red); }
.text-gold  { color: var(--gold); }
.bg-red     { background-color: var(--red); }

/* Price display in table */
.price-cell {
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #aaa;
}
.empty-state i {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--rose);
}

/* ============================================================
   MOBILE TWEAKS
   ============================================================ */

@media (max-width: 575.98px) {
  .admin-page-header h2 { font-size: 1.35rem; }
  .stat-value           { font-size: 2rem; }
  .login-wrap           { padding: 1.8rem 1.2rem; }
  .admin-table .thumb   { width: 38px; height: 38px; }
}

/* ============================================================
   DARK MODE TOGGLE BUTTON (sidebar + topbar)
   ============================================================ */

.sidebar-dark-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.6rem;
  width: 100%;
  transition: background 0.2s, color 0.2s;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.sidebar-dark-btn:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ============================================================
   DARK MODE — ADMIN PANEL
   Bootstrap 5.3 handles form controls, tables, alerts etc.
   via data-bs-theme="dark". Custom elements are overridden below.
   ============================================================ */

html.dark .admin-body {
  background: #111;
  color: #e0e0e0;
}

html.dark .admin-sidebar {
  background: #1a1a1a;
  border-right: 1px solid rgba(255,255,255,0.07);
}

html.dark .sidebar-header {
  border-bottom-color: rgba(255,255,255,0.08);
}

html.dark .sidebar-brand {
  color: #e0e0e0;
}

html.dark .sidebar-link {
  color: rgba(255,255,255,0.75);
}

html.dark .sidebar-link:hover {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--red);
  color: #fff;
}

html.dark .sidebar-link.active {
  background: rgba(216,30,63,0.18);
  border-left-color: var(--red);
  color: #fff;
}

html.dark .sidebar-divider {
  border-color: rgba(255,255,255,0.1);
}

html.dark .sidebar-footer {
  color: rgba(255,255,255,0.5);
  border-top-color: rgba(255,255,255,0.08);
}

html.dark .sidebar-dark-btn {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
}

html.dark .sidebar-dark-btn:hover {
  background: rgba(255,255,255,0.14);
}

html.dark .admin-topbar {
  background: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

html.dark .admin-main {
  background: #111;
}

html.dark .admin-page-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

html.dark .admin-page-header h2 {
  color: var(--red);
}

html.dark .stat-card {
  background: #1e1e1e;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

html.dark .stat-label {
  color: #777;
}

html.dark .admin-card {
  background: #1e1e1e;
  box-shadow: 0 2px 14px rgba(0,0,0,0.4);
  color: #e0e0e0;
}

html.dark .admin-table th {
  color: #666;
  border-bottom-color: rgba(255,255,255,0.08);
}

html.dark .admin-table td {
  border-color: rgba(255,255,255,0.06);
  color: #d0d0d0;
}

html.dark .admin-table .thumb {
  border-color: rgba(255,255,255,0.1);
}

html.dark .img-preview-box {
  border-color: rgba(255,255,255,0.15);
}

html.dark .form-label {
  color: #ccc;
}

html.dark .form-text {
  color: #888;
}

html.dark .empty-state {
  color: #555;
}

html.dark .empty-state i {
  color: #333;
}

html.dark .login-body {
  background: #0d0d0d;
}

html.dark .login-panel {
  background: #171717;
  color: #e0e0e0;
}

html.dark .login-wrap {
  background: transparent;
  color: #e0e0e0;
  box-shadow: none;
}

html.dark .login-logo h1 {
  color: var(--red);
}

html.dark .login-logo p {
  color: #888;
}

html.dark .login-brand {
  background:
    radial-gradient(circle at 20% 20%, rgba(245,198,206,.15), transparent 55%),
    radial-gradient(circle at 85% 85%, rgba(201,169,97,.15), transparent 55%),
    linear-gradient(135deg, #4a0e1e 0%, #2a0a14 100%);
}

html.dark .change-pass-wrap {
  background: #1e1e1e;
  color: #e0e0e0;
}

/* ============================================================
   CUSTOM CONFIRM MODAL (admin — brand-styled replacement for window.confirm)
   ============================================================ */
.ashti-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 12, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 9998;
    transition: opacity .25s ease, visibility .25s ease;
}

.ashti-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

.ashti-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(.92);
    width: min(92vw, 440px);
    background: #fff;
    color: #1F1F1F;
    border-radius: 18px;
    padding: 2rem 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(216, 30, 63, .08);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity .28s cubic-bezier(.2, .9, .3, 1.1),
                transform .32s cubic-bezier(.2, .9, .3, 1.1),
                visibility .32s ease;
}

.ashti-modal.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.ashti-modal-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 30, 63, .12), rgba(216, 30, 63, .22));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ashtiModalIcon .6s cubic-bezier(.2, .9, .3, 1.3) .1s both;
}

.ashti-modal-icon i {
    font-size: 2rem;
    color: #D81E3F;
    filter: drop-shadow(0 2px 6px rgba(216, 30, 63, .3));
}

.ashti-modal-title {
    font-family: 'Playfair Display', 'Inter', serif;
    font-size: 1.5rem;
    color: #1F1F1F;
    margin: 0 0 .5rem;
    font-weight: 600;
}

.ashti-modal-msg {
    color: #555;
    font-size: .98rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}

.ashti-modal-actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.ashti-btn {
    flex: 1;
    max-width: 160px;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.ashti-btn-cancel {
    background: rgba(31, 31, 31, .06);
    color: #1F1F1F;
}

.ashti-btn-cancel:hover {
    background: rgba(31, 31, 31, .12);
    transform: translateY(-1px);
}

.ashti-btn-confirm {
    background: linear-gradient(135deg, #D81E3F, #b01830);
    color: #fff;
    box-shadow: 0 4px 14px rgba(216, 30, 63, .35);
}

.ashti-btn-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(216, 30, 63, .5);
}

.ashti-btn:focus-visible {
    outline: 2px solid #C9A961;
    outline-offset: 2px;
}

@keyframes ashtiModalIcon {
    0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
    60%  { transform: scale(1.15) rotate(5deg); opacity: 1; }
    100% { transform: scale(1) rotate(0); }
}

/* Dark mode */
html.dark .ashti-modal {
    background: #232227;
    color: #f2f2f2;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
}

html.dark .ashti-modal-title {
    color: #f5f5f5;
}

html.dark .ashti-modal-msg {
    color: #bfbfbf;
}

html.dark .ashti-btn-cancel {
    background: rgba(255, 255, 255, .08);
    color: #f2f2f2;
}

html.dark .ashti-btn-cancel:hover {
    background: rgba(255, 255, 255, .14);
}

@media (prefers-reduced-motion: reduce) {
    .ashti-modal,
    .ashti-modal-backdrop,
    .ashti-modal-icon {
        transition: opacity .15s ease, visibility .15s ease;
        animation: none;
    }
}
