/* ==========================================================================
   NGỌC CÁC — ADMIN MOBILE APP STYLESHEET
   Thiết kế chuẩn Mobile App cho Vợ chủ dự án quản lý kho vòng trên điện thoại
   ========================================================================== */

:root {
  --admin-bg: #F4F6F5;
  --admin-card-bg: #FFFFFF;
  --admin-border: #E2E8E5;
  
  --jade-primary: #143D30;
  --jade-hover: #0D2B22;
  --jade-soft: #E7F2ED;
  
  --gold-accent: #C5A059;
  --gold-soft: #FBF6EB;

  --color-green: #059669;
  --color-green-soft: #ECFDF5;
  --color-amber: #D97706;
  --color-amber-soft: #FFFBEB;
  --color-gray: #4B5563;
  --color-gray-soft: #F3F4F6;
  --color-red: #DC2626;

  --text-main: #111827;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;

  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body.admin-app {
  font-family: var(--font-main);
  background-color: var(--admin-bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   MÀN HÌNH ĐĂNG NHẬP PIN
   ========================================================================== */
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 30%, #E7F2ED 0%, #FAF7F2 100%);
}

.auth-card {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.auth-emblem {
  margin-bottom: 12px;
}

.auth-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--jade-primary);
  margin-bottom: 4px;
}

.auth-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pin-display input {
  width: 100%;
  padding: 14px;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--jade-primary);
  background-color: #F8FAF9;
  border: 2px solid var(--admin-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.pin-display input:focus {
  border-color: var(--gold-accent);
  background-color: #FFFFFF;
}

.pin-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.pin-hint strong {
  color: var(--jade-primary);
}

.auth-error {
  color: var(--color-red);
  font-size: 0.8rem;
  margin-top: 8px;
  min-height: 18px;
  font-weight: 500;
}

.btn-login {
  margin-top: 14px;
  padding: 12px;
  font-size: 0.95rem;
}

.auth-footer-link {
  margin-top: 20px;
}

.link-back-shop {
  font-size: 0.8rem;
  color: var(--gold-accent);
  text-decoration: underline;
}

/* ==========================================================================
   APP SHELL & LAYOUT
   ========================================================================== */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 80px; /* Safe space for Bottom Nav */
}

/* Top App Bar */
.app-top-bar {
  background-color: var(--jade-primary);
  color: #FFFFFF;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}

.top-bar-title-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.shop-badge {
  background-color: rgba(197, 160, 89, 0.25);
  color: #DFC286;
  border: 1px solid var(--gold-accent);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  transition: background-color 0.2s ease;
}

.top-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Main Content Area */
.app-main-content {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 16px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeInPane 0.2s ease;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TAB 1: KHO VÒNG (1-Tap Status Switcher & Cards)
   ========================================================================== */
.admin-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-box {
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease;
}

.stat-box:hover {
  background-color: #F8FAF9;
}

.stat-num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.text-green { color: var(--color-green); }
.text-amber { color: var(--color-amber); }
.text-gray { color: var(--color-gray); }

/* Quick Search & Filter (Sticky trượt xuống cùng khi cuộn danh sách sản phẩm) */
.admin-search-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  position: sticky;
  top: var(--admin-top-bar-height, 60px);
  z-index: 90;
  background-color: rgba(244, 246, 245, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  margin-left: -16px;
  margin-right: -16px;
  border-bottom: 1px solid rgba(20, 61, 48, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.admin-search-input-wrap {
  position: relative;
  flex: 1;
}

.admin-search-input-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.admin-search-input-wrap input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.admin-status-dropdown {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Product Cards List */
.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-card-item {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-main-row {
  display: flex;
  gap: 12px;
}

.item-thumb-box {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  background-color: #F0F4F2;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--admin-border);
}

.item-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
  min-width: 0;
}

.item-header-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 2px;
}

.item-code {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--jade-primary);
  background-color: var(--jade-soft);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

.item-price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #8C6212;
}

.item-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.item-specs {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.item-specs strong {
  color: var(--jade-primary);
}

/* 1-Tap Status Switcher */
.status-switcher-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background-color: #F4F6F5;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.btn-status-tab {
  padding: 7px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  background-color: transparent;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.btn-status-tab.active-available {
  background-color: var(--color-green);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(5, 150, 105, 0.3);
}

.btn-status-tab.active-reserved {
  background-color: var(--color-amber);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
}

.btn-status-tab.active-sold {
  background-color: var(--color-gray);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(75, 85, 99, 0.3);
}

/* Action Strip (Zalo Copy / Edit / Delete) */
.item-actions-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--admin-border);
}

.btn-copy-zalo-post {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #0068FF;
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  flex: 1;
  justify-content: center;
}

.btn-copy-zalo-post:hover {
  background-color: #0056D6;
}

.btn-item-edit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-main);
}

.btn-item-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: #FEF2F2;
  color: var(--color-red);
  border: 1px solid #FEE2E2;
}

/* ==========================================================================
   TAB 2: ĐĂNG VÒNG MỚI (FORM)
   ========================================================================== */
.admin-form-card {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.form-header {
  margin-bottom: 16px;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jade-primary);
  margin-bottom: 4px;
}

.form-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.required {
  color: var(--color-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--admin-border);
  background-color: #F8FAF9;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-accent);
  background-color: #FFFFFF;
}

.form-row-2 {
  display: flex;
  gap: 10px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.flex-1 {
  flex: 1;
}

/* Quick price tags */
.price-quick-tags {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-top: 4px;
}

.btn-price-tag {
  background-color: #F0F4F2;
  color: var(--jade-primary);
  border: 1px solid var(--admin-border);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Media Uploader Box */
.media-uploader-box {
  background-color: #F8FAF9;
  border: 2px dashed var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
}

.btn-choose-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  color: var(--jade-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.upload-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.photo-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.photo-preview-item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--admin-border);
}

.photo-preview-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-remove-photo {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background-color: rgba(220, 38, 38, 0.85);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}

/* Video Box */
.video-actions-strip {
  display: flex;
  gap: 8px;
}

.btn-video-pick {
  background-color: var(--jade-soft);
  color: var(--jade-primary);
  border: 1px solid var(--admin-border);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.video-preview-wrap {
  margin-top: 8px;
  position: relative;
  max-width: 200px;
}

.video-preview-wrap video {
  width: 100%;
  border-radius: var(--radius-sm);
}

.btn-remove-video {
  font-size: 0.75rem;
  color: var(--color-red);
  margin-top: 4px;
}

/* Cert Checkbox */
.cert-checkbox-group {
  margin: 12px 0 16px;
  padding: 10px;
  background-color: #FEFCE8;
  border: 1px solid #FEF08A;
  border-radius: var(--radius-sm);
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: #854D0E;
}

.custom-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--jade-primary);
}

.cert-code-input-wrap {
  margin-top: 8px;
}

.cert-code-input-wrap input {
  padding: 6px 10px;
  font-size: 0.82rem;
  background-color: #FFFFFF;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

/* ==========================================================================
   TAB 3: KHÁCH GIỮ VÒNG TRÊN WEB
   ========================================================================== */
.reservations-header {
  margin-bottom: 14px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--jade-primary);
  margin-bottom: 4px;
}

.section-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.res-card {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 8px;
}

.res-customer-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jade-primary);
}

.res-time {
  font-size: 0.75rem;
  color: var(--text-light);
}

.res-body {
  display: flex;
  gap: 12px;
}

.res-product-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--admin-border);
}

.res-details {
  flex: 1;
  min-width: 0;
  font-size: 0.85rem;
}

.res-product-code {
  font-weight: 700;
  color: var(--jade-primary);
}

.res-phone {
  font-weight: 700;
  color: #0068FF;
  margin-top: 2px;
}

.res-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 4px;
  background-color: #F8FAF9;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.res-status-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.res-status-pending {
  background-color: #FEF3C7;
  color: #92400E;
}

.res-status-completed {
  background-color: #D1FAE5;
  color: #065F46;
}

.res-status-cancelled {
  background-color: #F3F4F6;
  color: #4B5563;
}

/* Thao tác 1 chạm cho đơn giữ vòng */
.res-actions-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.btn-res-zalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: #0068FF;
  color: #FFFFFF;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-res-complete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #059669;
  color: #FFFFFF;
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

.btn-res-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F3F4F6;
  color: var(--text-main);
  border: 1px solid var(--admin-border);
  padding: 9px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 500;
}

/* ==========================================================================
   TAB 4: CÀI ĐẶT TIỆM & DANH MỤC
   ========================================================================== */
.admin-card {
  background-color: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--jade-primary);
  margin-bottom: 14px;
  border-bottom: 1px solid var(--admin-border);
  padding-bottom: 8px;
}

.subcard-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #8C6212;
  margin: 16px 0 8px;
}

.cat-section {
  margin-bottom: 18px;
}

.cat-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.tag-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--jade-soft);
  color: var(--jade-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
}

.tag-chip .remove-cat-btn {
  cursor: pointer;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

.add-tag-box {
  display: flex;
  gap: 8px;
}

.add-tag-box input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

.btn-add-tag {
  background-color: var(--jade-primary);
  color: #fff;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   BOTTOM NAVIGATION BAR (Cố định chuẩn Mobile App)
   ========================================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-top: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
  z-index: 200;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.06);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  position: relative;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-item.active {
  color: var(--jade-primary);
  font-weight: 700;
}

.nav-item.active svg {
  stroke: var(--jade-primary);
}

.nav-badge {
  position: absolute;
  top: 0;
  right: 10px;
  background-color: var(--jade-primary);
  color: #FFFFFF;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.nav-badge.badge-red {
  background-color: var(--color-red);
}

/* Nút thêm tròn nổi bật ở giữa */
.nav-item-add {
  top: -12px;
}

.add-circle-btn {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #143D30 0%, #1D5E4A 100%);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(20, 61, 48, 0.35);
  transition: transform 0.15s ease;
}

.nav-item-add:active .add-circle-btn {
  transform: scale(0.92);
}

.nav-item-add.active .add-circle-btn {
  border-color: var(--gold-accent);
}

/* Buttons General */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--jade-primary);
  color: #FFFFFF;
}

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

.btn-outline {
  border: 1px solid var(--admin-border);
  color: var(--text-main);
}

.btn-block {
  width: 100%;
}

/* Toast Notification in Admin */
.toast-container {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.admin-toast {
  background-color: #111A16;
  color: #FFFFFF;
  border: 1px solid var(--gold-accent);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: slideToast 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

@keyframes slideToast {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .app-main-content {
    padding: 24px;
  }
}
