
:root {
  --adm-primary: #0e603e;
  --adm-primary-hover: #0a492f;
  --adm-primary-light: #e8f5ee;
  --adm-accent: #c25e00;
  --adm-gold: #d97706;
  --adm-danger: #ef4444;
  --adm-danger-light: #fee2e2;
  --adm-success: #10b981;
  --adm-dark: #0f172a;
  --adm-card-bg: #ffffff;
  --adm-bg: #f8fafc;
  --adm-border: #e2e8f0;
  --adm-text-main: #1e293b;
  --adm-text-muted: #64748b;
  --adm-font-main: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --adm-font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --adm-radius: 14px;
  --adm-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --adm-shadow-md: 0 4px 12px -1px rgba(0,0,0,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  --adm-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 10px -2px rgba(0,0,0,0.05);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.admin-body {
  font-family: var(--adm-font-main);
  background-color: var(--adm-bg);
  color: var(--adm-text-main);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 75px; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}

input, button, select, textarea, optgroup {
  font-family: var(--adm-font-main) !important;
  font-feature-settings: normal;
}

.admin-login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(135deg, #062317 0%, #0e603e 50%, #17382c 100%);
  position: relative;
  z-index: 1000;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  animation: slideUpFade 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-badge-circle {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--adm-primary), #10b981);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(14, 96, 62, 0.35);
}

.login-brand {
  text-align: center;
  margin-bottom: 24px;
}

.login-brand h1 {
  font-family: var(--adm-font-main);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--adm-primary);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.login-brand p {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--adm-accent);
}

.login-form-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.login-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.login-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--adm-text-main);
}

.login-input-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid var(--adm-border);
  border-radius: 14px;
  padding: 0 14px;
  height: 50px;
  transition: all 0.2s ease;
  position: relative;
}

.login-input-wrap:focus-within {
  border-color: var(--adm-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 96, 62, 0.15);
}

.login-input-wrap .input-icon {
  color: var(--adm-text-muted);
  font-size: 1rem;
  width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 10px;
}

.login-input-wrap:focus-within .input-icon {
  color: var(--adm-primary);
}

.login-form-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--adm-font-main);
  font-size: 0.95rem;
  color: var(--adm-text-main);
  outline: none;
  height: 100%;
}

.login-form-input::placeholder {
  color: #94a3b8;
  font-size: 0.88rem;
}

.btn-toggle-eye {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.15s ease;
}

.btn-toggle-eye:hover {
  color: var(--adm-text-main);
}

.login-error-msg {
  font-size: 0.85rem;
  color: var(--adm-danger);
  font-weight: 600;
  min-height: 20px;
  text-align: center;
  background: #fee2e2;
  border-radius: 8px;
  padding: 0;
  transition: all 0.2s ease;
}

.login-error-msg:empty {
  display: none;
}

.login-error-msg:not(:empty) {
  padding: 8px 12px;
  border: 1px solid #fca5a5;
  display: block;
}

.btn-login-submit {
  height: 50px;
  background: linear-gradient(135deg, var(--adm-primary), #0a492f);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: var(--adm-font-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(14, 96, 62, 0.35);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #0a492f, #073321);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(14, 96, 62, 0.45);
}

.btn-login-submit:active {
  transform: translateY(0);
}

.btn-login-submit.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

.login-card-footer {
  text-align: center;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.login-back-link {
  font-size: 0.85rem;
  color: var(--adm-text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.login-back-link:hover {
  color: var(--adm-primary);
}

.admin-topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 58px;
  background: #ffffff;
  border-bottom: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 50;
  box-shadow: var(--adm-shadow-sm);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.admin-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--adm-primary);
  font-weight: 800;
  font-size: 1rem;
  white-space: nowrap;
}

.status-pill {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.status-pill i {
  font-size: 0.45rem;
}

@media (max-width: 480px) {
  .admin-topbar {
    height: 52px;
    padding: 0 12px;
  }
  .admin-logo {
    font-size: 0.95rem;
  }
  .status-pill {
    display: none;
  }
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-top-action {
  height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-top-action:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--adm-primary);
}

.btn-top-action:active {
  transform: scale(0.97);
}

.btn-logout {
  color: #ef4444;
  border-color: #fecaca;
  background: #fff5f5;
  box-shadow: 0 1px 3px rgba(239, 68, 68, 0.06);
}

.btn-logout:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #dc2626;
}

.module-tabs-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--adm-border);
  position: sticky;
  top: 58px;
  z-index: 45;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.module-tabs-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 14px;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
}

.module-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.mod-tab-btn {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #f1f5f9;
  color: var(--adm-text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mod-tab-btn.active {
  background: var(--adm-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(14, 96, 62, 0.25);
}

.admin-main {
  padding: 16px 16px 100px 16px;
}

.admin-container {
  max-width: 900px;
  margin: 0 auto;
}

.admin-module {
  display: none;
}

.admin-module.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.module-intro-box {
  background: #ffffff;
  border: 1px solid var(--adm-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.intro-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--adm-primary-light);
  color: var(--adm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.intro-text h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--adm-text-main);
  margin-bottom: 1px;
}

.intro-text p {
  font-size: 0.74rem;
  color: var(--adm-text-muted);
  line-height: 1.35;
}

.services-mgmt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-mgmt-card {
  background: #ffffff;
  border: 1px solid var(--adm-border);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}

.service-mgmt-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.service-mgmt-card:active {
  transform: scale(0.99);
  background: #f8fafc;
}

.svc-thumb-box {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.svc-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-content-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-kicker-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--adm-accent);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1.2;
}

.svc-title {
  font-family: var(--adm-font-main);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.svc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.svc-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--adm-primary);
  background: var(--adm-primary-light);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.svc-arrow-chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.service-mgmt-card:hover .svc-arrow-chevron {
  background: var(--adm-primary);
  border-color: var(--adm-primary);
  color: #ffffff;
  transform: translateX(2px);
}

.admin-view {
  display: none;
}

.admin-view.active {
  display: block;
  animation: slideViewIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideViewIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.subpage-nav-bar {
  background: #ffffff;
  border: 1px solid var(--adm-border);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.subpage-nav-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.btn-subpage-back {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--adm-border);
  background: #f8fafc;
  color: var(--adm-text-main);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-subpage-back:hover,
.btn-subpage-back:active {
  background: #e2e8f0;
  color: var(--adm-primary);
}

.fab-add-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  background: linear-gradient(135deg, var(--adm-primary), #16a34a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 6px 20px rgba(14, 96, 62, 0.45), 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 120;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, opacity 0.2s ease;
}

.fab-add-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 26px rgba(14, 96, 62, 0.55), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.fab-add-float:active {
  transform: scale(0.92);
  box-shadow: 0 2px 10px rgba(14, 96, 62, 0.35);
}

.fab-add-float.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .fab-add-float {
    bottom: 76px;
    right: 18px;
    width: 56px;
    height: 56px;
    font-size: 1.45rem;
  }
}

.subpage-nav-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
}

.subpage-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f0fdf4;
  color: var(--adm-primary);
  border: 1px solid #bbf7d0;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.subpage-heading {
  font-family: var(--adm-font-main);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--adm-text-main);
  margin: 0;
  line-height: 1.3;
  width: 100%;
  word-break: break-word;
  letter-spacing: -0.2px;
}

.subpage-section-card {
  background: #ffffff;
  border: 1px solid var(--adm-border);
  border-radius: 18px;
  padding: 20px 18px;
  margin-bottom: 20px;
  box-shadow: var(--adm-shadow-sm);
}

.section-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.section-text-group {
  flex: 1;
  min-width: 0;
}

.section-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--adm-primary-light);
  color: var(--adm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.section-icon-circle.accent {
  background: #fff7ed;
  color: var(--adm-accent);
}

.section-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--adm-text-main);
  margin-bottom: 2px;
  line-height: 1.3;
}

.section-card-sub {
  font-size: 0.74rem;
  color: var(--adm-text-muted);
  line-height: 1.35;
}

@media (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}

.btn-primary-add {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  border: none;
  background: var(--adm-primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-primary-add:active {
  background: var(--adm-primary-hover);
  transform: scale(0.97);
}

.fab-add-float {
  position: fixed;
  bottom: 76px;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 24px -2px rgba(5, 150, 105, 0.48), 0 4px 8px -2px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 85;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-add-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 28px -2px rgba(5, 150, 105, 0.58);
}

.fab-add-float:active {
  transform: translateY(0) scale(0.95);
}

@media (min-width: 769px) {
  .fab-add-float {
    bottom: 30px;
    right: 32px;
    width: 62px;
    height: 62px;
    font-size: 1.65rem;
  }
}

.editor-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  padding: 0;
  animation: admModalFadeIn 0.2s ease-out;
  touch-action: none;
}

@keyframes admModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.editor-modal-sheet {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  height: 86vh;
  height: 86dvh;
  max-height: 86vh;
  max-height: 86dvh;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  animation: admSheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  touch-action: pan-y;
}

@keyframes admSheetSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (min-width: 641px) {
  .editor-modal-backdrop {
    justify-content: center;
    padding: 24px;
  }
  .editor-modal-sheet {
    height: auto;
    max-height: 86vh;
    border-radius: 22px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45);
    animation: admModalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes admModalScaleUp {
    from { opacity: 0; transform: scale(0.95) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
  }
}

.sheet-drag-pill {
  width: 44px;
  height: 5px;
  border-radius: 10px;
  background: #cbd5e1;
  margin: 10px auto 4px auto;
  flex-shrink: 0;
}

@media (min-width: 641px) {
  .sheet-drag-pill {
    display: none;
  }
}

.sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  flex-shrink: 0;
}

.sheet-header-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.sheet-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid #a7f3d0;
}

.sheet-title-group {
  flex: 1;
  min-width: 0;
}

.sheet-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 2px;
  line-height: 1.2;
}

.sheet-badge.badge-create {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.sheet-badge.badge-edit {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.sheet-title {
  font-family: var(--adm-font-main);
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-sheet-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.sheet-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #f8fafc;
}

.sheet-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overscroll-behavior-y: contain;
  padding: 16px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-section-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #059669;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-section-header i {
  font-size: 0.95rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-label i {
  color: #059669;
  font-size: 0.84rem;
}

.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--adm-font-main) !important;
  font-size: 0.88rem;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s ease;
  line-height: 1.45;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
  font-size: 0.84rem;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.image-uploader-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner-preview-box {
  position: relative;
  width: 100%;
  height: 185px;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  border: 2px dashed #cbd5e1;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
}

.banner-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-camera-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.banner-camera-btn:hover {
  background: #059669;
  border-color: #34d399;
}

.banner-camera-btn:active {
  transform: scale(0.96);
}

.banner-tip-text {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.banner-tip-text i {
  color: #f59e0b;
}

.sheet-footer {
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)) 18px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
}

.btn-sheet-cancel {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #475569;
  font-family: var(--adm-font-main);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-sheet-cancel:hover {
  background: #f1f5f9;
}

.btn-sheet-save {
  flex: 1.4;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-family: var(--adm-font-main);
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transition: all 0.15s ease;
}

.btn-sheet-save:active {
  transform: scale(0.98);
}

.existing-items-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.existing-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: stretch;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
}

.existing-item-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.item-card-media {
  width: 150px;
  height: 115px;
  border-radius: 14px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.item-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.existing-item-card:hover .item-card-media img {
  transform: scale(1.04);
}

.item-media-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  letter-spacing: 0.2px;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-media-badge.gold {
  background: rgba(180, 83, 9, 0.88);
  border-color: rgba(251, 191, 36, 0.35);
}

.item-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.item-card-title {
  font-family: var(--adm-font-main);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.38;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

.item-meta-table {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.item-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.82rem;
}

.item-meta-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.item-meta-row:first-child {
  padding-top: 2px;
}

.meta-label {
  color: #64748b;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
}

.meta-label i {
  color: var(--adm-primary);
  font-size: 0.82rem;
  width: 16px;
  text-align: center;
}

.meta-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
  font-size: 0.84rem;
}

.meta-val.price {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.2px;
}

.meta-val.phone {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
}

.dish-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.dish-number-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  background: #f0fdf4;
  color: var(--adm-primary);
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.item-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.btn-action-edit {
  flex: 1.6;
  height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-family: var(--adm-font-main);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.28);
}

.btn-action-edit i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.btn-action-edit:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-action-edit:hover i {
  transform: rotate(-10deg) scale(1.1);
}

.btn-action-edit:active {
  transform: scale(0.97);
}

.btn-action-delete {
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid #fecaca;
  background: #ffffff;
  color: #ef4444;
  font-family: var(--adm-font-main);
  font-size: 0.86rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.05);
}

.btn-action-delete i {
  font-size: 0.86rem;
  color: #ef4444;
  transition: transform 0.2s ease;
}

.btn-action-delete:hover {
  background: #fef2f2;
  border-color: #f87171;
  color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.btn-action-delete:hover i {
  transform: scale(1.1);
  color: #dc2626;
}

.btn-action-delete:active {
  transform: scale(0.97);
}

.homepage-row-card-compact {
  background: #ffffff;
  border: 1px solid var(--adm-border);
  border-top: 3px solid var(--adm-primary);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.row-compact-header {
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.row-compact-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.row-compact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f0fdf4;
  color: var(--adm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border: 1px solid #bbf7d0;
}

.row-card-headline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--adm-text-main);
  margin: 0;
  line-height: 1.25;
}

.row-card-sub {
  font-size: 0.72rem;
  color: var(--adm-text-muted);
  margin: 2px 0 0 0;
  line-height: 1.3;
}

.row-compact-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row-compact-body-top {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.compact-thumb-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.compact-thumb-preview {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.06);
}

.compact-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compact-camera-trigger {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.compact-thumb-preview:hover .compact-camera-trigger {
  opacity: 1;
}

.btn-change-photo-mini {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--adm-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  transition: all 0.15s ease;
}

.btn-change-photo-mini:hover {
  background: var(--adm-primary);
  color: #ffffff;
}

.compact-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.compact-input-group.kicker-group {
  flex: 1;
  min-width: 0;
}

.compact-input-group.title-group {
  width: 100%;
}

.compact-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.compact-input {
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  font-size: 0.88rem;
  color: #1e293b;
  font-weight: 600;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.compact-input:focus {
  outline: none;
  border-color: var(--adm-primary);
  box-shadow: 0 0 0 3px rgba(14, 96, 62, 0.12);
}

.row-compact-footer {
  margin-top: 14px;
  width: 100%;
}

.btn-save-row-full {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--adm-primary), #16a34a);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(14, 96, 62, 0.22);
  transition: all 0.15s ease;
}

.btn-save-row-full:hover,
.btn-save-row-full:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 96, 62, 0.3);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .subpage-section-card {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 24px;
  }
  .section-card-top {
    background: #ffffff;
    border: 1px solid var(--adm-border);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  }
  .existing-item-card {
    flex-direction: column;
    padding: 14px;
    gap: 14px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  }
  .item-card-media {
    width: 100% !important;
    height: 180px !important;
    border-radius: 14px;
  }
  .item-card-actions {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-top: 6px;
  }
  .btn-action-edit {
    flex: 1.6;
    height: 42px;
    font-size: 0.86rem;
  }
  .btn-action-delete {
    flex: 1;
    height: 42px;
    font-size: 0.86rem;
  }
}

.form-group {
  margin-bottom: 12px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--adm-text-main);
  margin-bottom: 5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--adm-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--adm-text-main);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--adm-primary);
  box-shadow: 0 0 0 3px rgba(14, 96, 62, 0.12);
}

.thumb-upload-container {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #f8fafc;
  border: 1px dashed var(--adm-border);
  border-radius: 12px;
  padding: 10px 12px;
}

.thumb-preview-box {
  width: 80px;
  height: 65px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
  flex-shrink: 0;
}

.thumb-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-actions-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-camera-upload {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--adm-primary);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 70;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.bnav-item {
  flex: 1;
  height: 100%;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--adm-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.bnav-item i {
  font-size: 1.15rem;
}

.bnav-item.active {
  color: var(--adm-primary);
}

.admin-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #1e293b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.admin-toast.show {
  transform: translateX(-50%) translateY(0);
}

.admin-toast i {
  color: #10b981;
}

.action-banner-mobile {
  background: linear-gradient(135deg, var(--adm-primary), #1b7a53);
  color: #fff;
  border-radius: var(--adm-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.btn-create-post {
  background: #fff;
  color: var(--adm-primary);
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.category-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 12px;
}

.chip-btn {
  padding: 6px 12px;
  border-radius: 16px;
  border: 1px solid var(--adm-border);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.chip-btn.active {
  background: var(--adm-primary);
  color: #fff;
}

.posts-list-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card-item {
  background: #fff;
  border: 1px solid var(--adm-border);
  border-radius: var(--adm-radius);
  padding: 14px;
  display: flex;
  gap: 12px;
  box-shadow: var(--adm-shadow-sm);
}

.post-card-thumb-wrap {
  width: 85px;
  height: 85px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.post-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  flex: 1;
  min-width: 0;
}

.post-card-title {
  font-family: var(--adm-font-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--adm-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-excerpt {
  font-size: 0.76rem;
  color: var(--adm-text-muted);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-card-action {
  height: 30px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid var(--adm-border);
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.delete-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.delete-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.delete-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.delete-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 22px;
  padding: 24px 20px 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  text-align: center;
  animation: deleteModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes deleteModalPop {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.delete-modal-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.delete-modal-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px #fef2f2;
}

.delete-modal-title {
  font-family: var(--adm-font-main);
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.delete-modal-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 14px 0;
}

.delete-modal-item-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  text-align: left;
  margin-bottom: 12px;
}

.delete-preview-thumb {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.delete-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.delete-preview-info {
  flex: 1;
  min-width: 0;
}

.delete-preview-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  color: #059669;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.delete-preview-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.delete-modal-warning {
  font-size: 0.78rem;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 7px 10px;
  border-radius: 9px;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
}

.delete-modal-actions {
  display: flex;
  gap: 10px;
}

.btn-delete-cancel {
  flex: 1;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  font-family: var(--adm-font-main);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-delete-cancel:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-delete-cancel:active {
  transform: scale(0.97);
}

.btn-delete-confirm {
  flex: 1.2;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-family: var(--adm-font-main);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn-delete-confirm:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
  transform: translateY(-1px);
}

.btn-delete-confirm:active {
  transform: scale(0.97);
}

.btn-delete-confirm:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.hidden { display: none !important; }
.hide-sm { display: inline; }
@media (max-width: 480px) {
  .hide-sm { display: none !important; }
}
