
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --red:#b32424;--red-soft:rgba(179,36,36,.09);--red-border:rgba(179,36,36,.22);
  --green:#27ae60;--orange:#e67e22;
  --bg:var(--color-background-primary,#fff);
  --bg2:var(--color-background-secondary,#f5f5f7);
  --border:var(--color-border-tertiary,#ebebeb);
  --border-md:var(--color-border-secondary,#d9d9d9);
  --txt:var(--color-text-primary,#1a1a1a);
  --txt2:var(--color-text-secondary,#555);
  --txt3:var(--color-text-tertiary,#999);
  --r-card:18px;--r-btn:11px;--r-input:10px;
}
.adm{
  width:100%;
  margin:0 auto;
  padding:0 8px 80px;
  color:var(--txt);
}

.adm-tabs{display:flex;gap:5px;background:var(--bg);border-radius:16px;padding:45px 0 0;margin-bottom:18px;position:sticky;top:0;z-index:10;backdrop-filter:blur(10px)}
.adm-tab{flex:1;padding:9px 0;border:none;border-radius:12px;font-size:11.5px;font-weight:500;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;transition:background .18s,color .18s,transform .1s;background:transparent;color:var(--txt3);white-space:nowrap}
.adm-tab:active{transform:scale(.96)}
.adm-tab.active{background:var(--red);color:#fff}
.adm-tab .ti{font-size:15px}

.adm-section{display:none}
.adm-section.active{display:block}
.adm-subpage{display:none}
.adm-subpage.active{display:block}
.adm-back{display:flex;align-items:center;gap:8px;background:var(--bg2);border:0.5px solid var(--border-md);border-radius:12px;padding:9px 14px;font-size:12px;font-weight:600;color:var(--txt2);cursor:pointer;margin-bottom:14px;width:fit-content;transition:background .15s}
.adm-back:hover{background:var(--border)}
.adm-back .ti{font-size:15px}
.adm-card{background:var(--bg);border:0.5px solid var(--border);border-radius:var(--r-card);padding:10px;margin-bottom:12px;transition:border-color .2s}
.adm-card:hover{border-color:var(--border-md)}
.adm-card-title{font-size:12.5px;font-weight:600;color:var(--txt);display:flex;align-items:center;gap:9px;margin-bottom:14px;padding-bottom:12px;border-bottom:0.5px solid var(--border)}
.adm-card-title .spacer{flex:1}
.adm-icon{width:30px;height:30px;border-radius:9px;background:var(--red-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.adm-icon .ti{font-size:16px;color:var(--red)}
.adm-menu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:14px}
.adm-menu-item{background:var(--bg);border:0.5px solid var(--border);border-radius:16px;padding:16px 14px;cursor:pointer;display:flex;flex-direction:column;gap:10px;align-items:flex-start;transition:border-color .18s,background .18s;position:relative;overflow:hidden}
.adm-menu-item:hover{border-color:var(--red-border);background:var(--red-soft)}
.adm-menu-item:active{transform:scale(.98)}
.adm-menu-icon{width:38px;height:38px;border-radius:11px;background:var(--red-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.adm-menu-icon .ti{font-size:19px;color:var(--red)}
.adm-menu-label{font-size:12.5px;font-weight:600;color:var(--txt);line-height:1.35}
.adm-menu-sub{font-size:10.5px;color:var(--txt3);margin-top:2px}
.adm-menu-arrow{position:absolute;top:13px;right:13px;color:var(--border-md);font-size:14px}
.adm-stack{display:flex;flex-direction:column;gap:15px;margin-bottom:20px}
.adm-row{display:flex;gap:7px}
.adm-row>*{flex:1;min-width:0}
label{font-size:10.5px;color:var(--txt3, #999);display:block;margin-bottom:3px;font-weight:500;text-transform:uppercase;letter-spacing:.4px}
input[type=text],input[type=number],input[type=url],input[type=datetime-local],select,textarea{width:100%;padding:9px 11px;border:0.5px solid var(--border-md, #d9d9d9);border-radius:var(--r-input, 10px);font-size:12px;background:var(--bg2, #f5f5f7);color:var(--txt, #1a1a1a);outline:none;font-family:inherit;transition:border-color .16s,box-shadow .16s,background .16s;appearance:none}
input:focus,select:focus,textarea:focus{border-color:var(--red, #b32424);background:var(--bg, #fff);box-shadow:0 0 0 3px var(--red-soft, rgba(179,36,36,.09))}
textarea{resize:none;line-height:1.6}
select{cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:28px}

.adm-divider{font-size:10px;font-weight:600;color:var(--txt3);text-transform:uppercase;letter-spacing:.7px;margin:14px 0 9px;display:flex;align-items:center;gap:8px}
.adm-divider::after{content:'';flex:1;height:0.5px;background:var(--border)}

.adm-btn{width:100%;padding:10px;border:none;border-radius:var(--r-btn);font-size:12.5px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;transition:opacity .15s,transform .1s}
.adm-btn:active{transform:scale(.98);opacity:.88}
.adm-btn.primary{background:var(--red);color:#fff}
.adm-btn.ghost{background:transparent;color:var(--red);border:0.5px solid var(--red-border);margin-top:7px;display:none}
.adm-btn.ghost:hover{background:var(--red-soft)}
.adm-btn.outline{background:var(--bg2);color:var(--txt2);border:0.5px solid var(--border-md);font-size:11px;padding:7px 12px;width:auto;flex:none}
.adm-btn .ti{font-size:14px}

.adm-list{overflow-y:auto;margin-top:12px;display:flex;flex-direction:column;gap:0}
.adm-list-empty{font-size:11px;color:var(--txt3);text-align:center;padding:18px 0}
.adm-row-item{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:0.5px solid var(--border);font-size:12px;color:var(--txt2)}
.adm-row-item:last-child{border-bottom:none}
.adm-row-item .info{flex:1;min-width:0}
.adm-row-item .info b{display:block;font-weight:600;color:var(--txt);font-size:12.5px;margin-bottom:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adm-row-item .info span{font-size:10.5px;color:var(--txt3)}

.adm-ic-btn{border:none;border-radius:8px;padding:5px 8px;font-size:12px;cursor:pointer;display:flex;align-items:center;transition:opacity .15s}
.adm-ic-btn:active{opacity:.7}
.adm-ic-btn.edit{background:rgba(41,128,185,.1);color:#2980b9}
.adm-ic-btn.del{background:rgba(231,76,60,.1);color:#e74c3c}

.adm-check{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.adm-check label{font-size:12px;color:var(--txt, #1a1a1a);cursor:pointer;text-transform:none;letter-spacing:normal}
input[type=checkbox]{accent-color:var(--red, #b32424);width:15px;height:15px;cursor:pointer}

/* VOUCHER */
.adm-stat-row{display:flex;gap:8px;margin-bottom:14px}
.adm-stat{flex:1;background:var(--bg2);border-radius:12px;padding:10px 8px;text-align:center}
.adm-stat-num{font-size:22px;font-weight:700}
.adm-stat-lbl{font-size:10px;color:var(--txt3);margin-top:2px}
.v-badge{padding:3px 9px;border-radius:20px;font-size:10px;font-weight:700;flex-shrink:0}
.v-badge.on{background:rgba(39,174,96,.12);color:var(--green)}
.v-badge.off{background:rgba(230,126,34,.12);color:var(--orange)}
.adm-table-wrap{overflow-x:auto;margin-top:4px}
.adm-table{width:100%;border-collapse:collapse;font-size:11.5px}
.adm-table th{text-align:left;padding:8px;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--txt3);border-bottom:0.5px solid var(--border-md);white-space:nowrap}
.adm-table td{padding:9px 8px;border-bottom:0.5px solid var(--border);color:var(--txt2);vertical-align:middle}
.adm-table tr:last-child td{border-bottom:none}
.adm-table .mono{font-family:'Menlo','Courier New',monospace;font-weight:700;color:var(--txt);letter-spacing:.5px}
.adm-table .right{text-align:right}

.adm-shortcut{display:flex;align-items:center;gap:12px;padding:13px 15px;background:var(--bg);border:0.5px solid var(--border);border-radius:12px;margin-bottom:10px;cursor:pointer;transition:border-color .18s,background .18s;text-decoration:none}
.adm-shortcut:hover{border-color:var(--red-border);background:var(--red-soft)}
.adm-shortcut .sc-icon{width:36px;height:36px;border-radius:10px;background:var(--red-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.adm-shortcut .sc-icon .ti{font-size:18px;color:var(--red)}
.adm-shortcut .sc-info{flex:1}
.adm-shortcut .sc-info b{display:block;font-size:13px;font-weight:600;color:var(--txt)}
.adm-shortcut .sc-info span{font-size:11px;color:var(--txt3)}

.tx-badge{padding:3px 8px;border-radius:20px;font-size:10px;font-weight:700}
.tx-badge.wait{background:rgba(230,126,34,.12);color:var(--orange)}
.tx-badge.done{background:rgba(39,174,96,.12);color:var(--green)}
.tx-badge.reject{background:rgba(231,76,60,.1);color:#e74c3c}

@keyframes spin{to{transform:rotate(360deg)}}
.upload-imgbb-box {
  background: #f8f9fa;
  border: 1px dashed #c0c4cc;
  padding: 12px;
  border-radius: 6px;
  position: relative;
}
.upload-imgbb-box input[type="file"] {
  font-size: 13px;
  width: 100%;
}
.imgbb-dropzone {
  display: flex!important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed var(--adm-border, #ddd);
  border-radius: 10px;
  padding: 32px 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--adm-bg-soft, #fafafa);
  text-align: center;
}
.imgbb-dropzone:hover,
.imgbb-dropzone.dragover {
  border-color: var(--adm-primary, #b32424);
  background: var(--adm-primary-light, #e4f1fc);
}
.imgbb-upload-icon {
  font-size: 27px;
  color: var(--adm-primary, #b32424);
}
.imgbb-upload-text {
  font-weight: 500;
  font-size: 13px;
  color: var(--adm-text, #333);
  text-transform: none;
}
.imgbb-upload-sub {
  font-size: 11px;
  color: var(--adm-text-muted, #888);
}
.imgbb-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  border: 2px dashed var(--adm-border, #ddd);
  border-radius: 10px;
  color: var(--adm-text-muted, #888);
  font-size: 14px;
}
.imgbb-spin {
  font-size: 22px;
  animation: spin 1s linear infinite;
}
.preview-upload-container {
  position: relative;
  margin-top: 10px;
  display: inline-block;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.preview-upload-container img {
  max-height: 100px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.btn-delete-img {
  position: absolute;
  top: -8px; right: -8px;
  background: #ff4d4f; color: #fff;
  border: none; border-radius: 50%;
  width: 22px; height: 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.upload-imgbb-box.mini-box { width: 90px; height: 90px; }
.imgbb-dropzone.mini-dropzone { width: 100%; height: 100%; min-height: unset; padding: 0; border-radius: 12px; }
.imgbb-upload-icon-mini { font-size: 26px; color: #64748b; transition: transform 0.2s ease, color 0.2s ease; }
.imgbb-dropzone.mini-dropzone:hover .imgbb-upload-icon-mini { transform: scale(1.1); color: var(--primary-color, #3b82f6); }
.imgbb-loading.mini-loading { width: 100%; height: 100%; padding: 0; margin-top:-67px; }
.preview-upload-container.mini-preview { width: 100%; height: 100%; margin-top:-67px; }
.preview-upload-container.mini-preview img { width: 100%; height: 100%; position: relative; max-height: unset; object-fit: contain; background: #ffffff; }
.btn-delete-img.mini-delete { top: -6px; right: -6px; width: 22px; height: 22px; font-size: 13px; box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.custom-select-wrapper select { display: none !important; }
.custom-select-wrapper { position: relative; user-select: none; width: 100%; }
.custom-select-trigger {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px; background: var(--bg2); border: 0.5px solid var(--border-md);
  border-radius: 10px; cursor: pointer; font-size: 12px; color: var(--txt);
  transition: all 0.2s ease;
}
.custom-select-trigger:hover { border-color: #c0c4cc; }
.custom-select-wrapper.open .custom-select-trigger { border-color: #409eff; box-shadow: 0 0 0 2px rgba(64, 158, 255, 0.2); }
.custom-select-trigger iconify-icon { transition: transform 0.2s ease; font-size: 16px; color: #909399; }
.custom-select-wrapper.open .custom-select-trigger iconify-icon { transform: rotate(180deg); }
.custom-options {
  position: absolute; display: block; top: 100%; left: 0; right: 0;
  background: #ffffff; border: 1px solid #e4e7ed; border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); z-index: 99; margin-top: 4px;
  max-height: 200px; overflow-y: auto; opacity: 0; visibility: hidden;
  transform: translateY(-10px); transition: all 0.2s ease;
}
.custom-select-wrapper.open .custom-options { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-option { display: block; padding: 10px 14px; font-size: 14px; color: #606266; cursor: pointer; transition: background 0.2s ease; }
.custom-option:hover { background-color: #f5f7fa; }
.custom-option.selected { color: #409eff; background-color: #ecf5ff; font-weight: bold; }

.adm-stack textarea {
  width: 100%; padding: 10px 14px; border: 1px solid #dcdfe6; border-radius: 6px;
  font-family: inherit; font-size: 14px; resize: vertical; box-sizing: border-box;
}
.adm-stack textarea:focus { border-color: #409eff; outline: none; }

.tag-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.sponsor-form-block { background: #f4f6f9; padding: 12px; border-radius: 8px; border: 1px solid #e4e7ed; }
.sponsor-badges-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sponsor-item-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #dcdfe6; padding: 6px 12px; border-radius: 20px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.sponsor-item-card img { height: 24px; width: 24px; object-fit: contain; border-radius: 4px; }
.sponsor-item-card span { font-size: 13px; font-weight: 500; color: #4a4a4a; }
.sponsor-item-card .btn-remove-sponsor { background: transparent; border: none; color: #909399; cursor: pointer; display: flex; align-items: center; padding: 0; }
.sponsor-item-card .btn-remove-sponsor:hover { color: #ff4d4f; }
.adm {
  min-height: 100%;
}
.adm-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #eee;
  height: 100vh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.adm-sidebar-brand {
  padding: 24px 20px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.adm-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.adm-sidebar-dot {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #b32424;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}

.adm-sidebar-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

.adm-sidebar-sub {
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}

.adm-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 10px;
}

.adm-sidebar-section {
  font-size: 10px;
  font-weight: 700;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 10px 10px 4px;
}

.adm-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  margin-bottom: 2px;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.adm-sidebar-link:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}

.adm-sidebar-link.active {
  background: #fff0f0;
  color: #b32424;
  font-weight: 700;
}

.adm-sidebar-link iconify-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.adm-sidebar-footer {
  padding: 16px;
  border-top: 1px solid #f0f0f0;
}

.adm-sidebar-back {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff5f5;
  color: #b32424;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ffd0d0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.adm-sidebar-back:hover {
  background: #ffe8e8;
}
.adm-topbar {
  display: flex;
  flex-direction: column;
  padding: 10px 5px 16px;
  gap: 5px;
}
.adm-topbar-greet {
  font-size: 12px;
  color: #999;
}
.adm-topbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.adm-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.adm-topbar-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
}
.adm-topbar-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.adm-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b32424;
  text-decoration: none;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
}
.adm-topbar-btn iconify-icon {
  font-size: 15px;
}
.adm-info-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff5f5;
  border: 1px solid #ffd0d0;
  border-radius: 30px;
  padding: 8px 12px;
  text-decoration: none;
  color: #b32424;
  font-size: 12px;
  font-weight: 600;
}
.adm-info-chip span { flex: 1; }
.adm-info-chip iconify-icon:first-child {
  font-size: 20px;
  flex-shrink: 0;
}
.adm-info-chip iconify-icon:last-child {
  font-size: 16px;
  color: #e0a0a0;
}
.adm-info-chip:active {
  background: #ffe0e0;
}
.adm-banner-info {
  margin: 0 7px 7px;
}
.adm-desktop-topbar {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 40;
  flex-shrink: 0;
}

.adm-desktop-topbar-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.adm-desktop-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.adm-desktop-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #b32424;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adm-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(0,0,0,0.05);
  color: #555;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .2s;
}
.adm-theme-toggle:hover {
  background: rgba(0,0,0,0.1);
}
.adm-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70px;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5e5e5;
  z-index: 1000;
}

.adm-tab {
  flex: 1;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #777;
  cursor: pointer;
}
.adm-tab iconify-icon { font-size: 20px; }
.adm-tab span { font-size: 11px; }
.adm-tab.active {
  background: none;
  color: #ff6e00;
}
.adm-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  height: 60px;
  border-radius: 20px 20px 0 0;
  background: rgba(248, 246, 242, 0.97);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.adm-bottom-nav.nav-hidden {
  transform: translateX(-50%) translateY(100%);
}
.adm-banner {
  margin: 0 16px 16px;
  border-radius: 16px;
  overflow: hidden;
}
.adm-banner img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.adm-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.adm-content {
  flex: 1;
  overflow-y: visible !important;
  height: auto !important;
  padding-bottom: 24px !important;
}
@media (min-width: 992px) {
  .adm-topbar,
  .adm-bottom-nav,
  .adm-banner {
    display: none !important;
  }

  body { justify-content: flex-start; }
  .app-container { max-width: 100%; box-shadow: none; }

  .adm {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background: #f4f6f9;
    padding: 0;
  }

  .adm-desktop-topbar { display: flex !important; }

  .adm-menu-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .adm-section.active {
    max-width: 860px;
  }
}
@media (max-width: 991px) {
  .adm-sidebar,
  .adm-desktop-topbar {
    display: none !important;
  }
  .adm-main { display: contents; }

  .adm-content {
    padding-bottom: 90px; 
  }
  .mf-grid { grid-template-columns: 1fr; }
}
.adm[data-theme="dark"] {
  background: #14161a;
  color: #e5e7eb;
}
.adm[data-theme="dark"] .adm-sidebar,
.adm[data-theme="dark"] .adm-desktop-topbar,
.adm[data-theme="dark"] .adm-topbar,
.adm[data-theme="dark"] .adm-card,
.adm[data-theme="dark"] .adm-bottom-nav,
.adm[data-theme="dark"] .um-modal-box {
  background: #1e2126;
  border-color: #2b2f36;
}
.adm[data-theme="dark"] .adm-card-title,
.adm[data-theme="dark"] .adm-menu-label,
.adm[data-theme="dark"] .um-nama,
.adm[data-theme="dark"] .um-modal-header,
.adm[data-theme="dark"] label,
.adm[data-theme="dark"] .adm-sidebar-name {
  color: #f1f5f9;
}
.adm[data-theme="dark"] .adm-menu-sub,
.adm[data-theme="dark"] .adm-sidebar-sub,
.adm[data-theme="dark"] .um-telepon,
.adm[data-theme="dark"] .um-stat-lbl,
.adm[data-theme="dark"] .adm-list-empty {
  color: #94a3b8;
}
.adm[data-theme="dark"] input,
.adm[data-theme="dark"] select,
.adm[data-theme="dark"] textarea {
  background: #262a31;
  border-color: #363b44;
  color: #e5e7eb;
}
.adm[data-theme="dark"] .um-stat-box,
.adm[data-theme="dark"] .adm-menu-item,
.adm[data-theme="dark"] .adm-shortcut {
  background: #262a31;
}
.adm[data-theme="dark"] .adm-theme-toggle {
  background: rgba(255,255,255,0.08);
  color: #f1c40f;
}
.adm[data-theme="dark"] .adm-theme-toggle:hover {
  background: rgba(255,255,255,0.14);
}
.adm[data-theme="dark"] .adm-sidebar-link {
  color: #cbd5e1;
}
.adm[data-theme="dark"] .adm-sidebar-link.active {
  background: rgba(179,36,36,0.18);
  color: #ff6b6b;
}
.adm[data-theme="dark"] .adm-list-showmore-btn {
  background: #262a31;
  border-color: #363b44;
  color: #ff6b6b;
}
.adm[data-theme="dark"] .dash-stat-box {
  background: #262a31;
}
.adm[data-theme="dark"] .dash-stat-num {
  color: #f1f5f9;
}
.adm[data-theme="dark"] .adm-list-collapse-wrap.collapsed::after {
  background: linear-gradient(to bottom, rgba(30,33,38,0), rgba(30,33,38,1));
}
.dash-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dash-stat-box {
  flex: 1;
  min-width: 110px;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 8px;
}
.dash-stat-num {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
}
.dash-stat-lbl {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
}

.adm-list-collapse-wrap { position: relative; }
.adm-list-collapse-wrap.collapsed {
  max-height: 380px;
  overflow: hidden;
}
.adm-list-collapse-wrap.collapsed::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
  pointer-events: none;
}
.adm-list-showmore-btn {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #b32424;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.um-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}
.um-modal-box {
  background: #fff;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: umSlideUp .25s ease;
}
@keyframes umSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (max-width: 768px) {
  .um-modal-overlay {
    align-items: stretch;
    justify-content: stretch;
  }
  .um-modal-box {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 0;
    animation: umSlideUpMobile .2s ease;
  }
  @keyframes umSlideUpMobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
}

.um-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f1f1f1;
  font-weight: 700;
  font-size: 14px;
  color: #2d3748;
}
.um-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #718096;
  cursor: pointer;
}
.um-modal-body {
  padding: 16px;
  overflow-y: auto;
}

#um-list-donasi .um-list-item b { font-size: 12px; font-weight: 600; color: #2d3748; }
#um-list-donasi .um-list-item .meta { font-size: 11px; font-weight: 400; }
#um-list-donasi .um-list-item .amount { font-size: 12px; font-weight: 600; }
#um-list-donasi .um-list-item { padding: 8px 0; }

.um-profile-block { text-align: center; margin-bottom: 14px; }
.um-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #94a3b8;
  overflow: hidden;
}
.um-avatar img { width: 100%; height: 100%; object-fit: cover; }
.um-nama { font-size: 16px; font-weight: 700; color: #2d3748; }
.um-telepon { font-size: 12px; color: #94a3b8; margin-top: 2px; }

.um-badge-suspended {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff5f5;
  color: #b32424;
  border: 1px solid #fecaca;
}

.um-stat-grid { display: flex; gap: 8px; margin: 14px 0; }
.um-stat-box {
  flex: 1;
  text-align: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 4px;
}
.um-stat-val { font-size: 15px; font-weight: 700; color: #2d3748; }
.um-stat-lbl { font-size: 11px; color: #94a3b8; margin-top: 2px; }

.um-tabs {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  border-bottom: 1px solid #f1f1f1;
}
.um-tab-btn {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.um-tab-btn.active { color: #b32424; border-bottom-color: #b32424; }

.um-panel { display: none; padding-top: 12px; }
.um-panel.active { display: block; }

.um-list-item { padding: 10px 0; border-bottom: 1px solid #f8fafc; }
.um-belanja-row { display: flex; gap: 10px; align-items: center; }
.um-belanja-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f1f5f9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #94a3b8;
  font-size: 18px;
}
.um-belanja-thumb img { width: 100%; height: 100%; object-fit: cover; }
.um-belanja-info { flex: 1; min-width: 0; }
.um-belanja-info b {
  font-size: 11px;
  font-weight: 600;
  color: #2d3748;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.um-belanja-info .meta { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.um-list-item .amount { font-size: 12.5px; font-weight: 700; }
.um-list-item .top-row { display: flex; justify-content: space-between; align-items: flex-start; }

.um-suspend-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f1f1;
}

.um-skeleton,
.um-skeleton-line,
.um-skeleton-box {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: umShimmer 1.4s infinite;
  border-radius: 6px;
  color: transparent !important;
}
.um-skeleton-line { height: 11px; margin-bottom: 6px; }
.um-skeleton-box { width: 44px; height: 44px; border-radius: 10px; }
@keyframes umShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.sk-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sk-modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sk-modal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}
.sk-modal-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.sk-modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}
.sk-warning {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  align-items: flex-start;
  background: #fff5f5;
  border: 1px solid #ffd0d0;
  color: #b32424;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 12px;
  border-radius: 10px;
  margin: 0 0 14px;
}
.sk-warning iconify-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sk-warning-text {
  flex: 1;
  min-width: 0;
}
.sk-terms-text {
  font-size: 12.5px;
  color: #4a5568;
  line-height: 1.6;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.sk-terms-text p { margin: 0 0 8px; font-weight: 600; color: #2d3748; }
.sk-terms-text ol { margin: 0; padding-left: 18px; }
.sk-terms-text li { margin-bottom: 6px; }
.sk-checkbox-row {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #2d3748;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 2px;
  text-transform: lowercase !important;
}
.sk-checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}
.sk-modal-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #eee;
}
.sk-modal-footer .adm-btn { flex: 1; margin: 0; }
.sk-modal-footer .adm-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.fitur-toko-locked {
  background: #94a3b8 !important;
  cursor: default !important;
}
#adm-sec-misi { padding-bottom: 32px; }
.mf-wrap { max-width: 1100px; margin: auto; padding: 4px 0; }
.mf-hero {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 0 0 16px;
}
.mf-hero h2 { margin: 0; color: #3d2a35; font-size: 21px; }
.mf-hero p { margin: 4px 0 0; font-size: 12px; color: #a98fa0; }
.mf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mf-card {
  background: #fff;
  border: 1px solid #f3e3ea;
  border-radius: 18px;
  padding: 17px;
  box-shadow: 0 6px 20px rgba(172,70,111,.06);
}
.mf-card h3 { font-size: 15px; color: #4b3140; margin: 0 0 4px; }
.mf-muted { font-size: 12px; color: #a98fa0; }
.mf-form { display: grid; gap: 10px; margin-top: 14px; }
.mf-form label { display: grid; gap: 5px; color: #624151; font-size: 12px; font-weight: 700; }
.mf-form input,
.mf-form textarea {
  border: 1px solid #efdee7;
  border-radius: 11px;
  padding: 10px 11px;
  font: inherit;
  font-size: 13px;
  outline: 0;
  background: #fff;
}
.mf-form input:focus,
.mf-form textarea:focus {
  border-color: #ec6b9e;
  box-shadow: 0 0 0 3px #fde9f1;
}
.mf-form textarea { min-height: 72px; resize: vertical; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mf-primary,
.mf-secondary {
  border: 0;
  border-radius: 12px;
  padding: 11px 13px;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.mf-primary { background: #ec6b9e; color: #fff; }
.mf-secondary { background: #fff0f6; color: #d14d82; }
.mf-list { display: grid; gap: 9px; margin-top: 13px; }
.mf-item { border: 1px solid #f5e7ee; border-radius: 13px; padding: 12px; }
.mf-item-top { display: flex; gap: 8px; justify-content: space-between; }
.mf-item b { font-size: 13px; color: #4a3040; }
.mf-meta { font-size: 11px; color: #a98fa0; margin-top: 4px; }
.mf-badge { padding: 4px 8px; border-radius: 14px; font-size: 10px; font-weight: 800; height: max-content; }
.mf-on { background: #e2f8ea; color: #268050; }
.mf-off { background: #fde7e7; color: #c44646; }
.mf-review { margin-top: 14px; }
.mf-photo { height: 70px; width: 70px; border-radius: 11px; object-fit: cover; background: #f4edf0; }
.mf-review-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f6ebef; }
.mf-review-item:last-child { border-bottom: 0; }
.mf-review-info { flex: 1; min-width: 0; }
.mf-actions { display: flex; gap: 7px; margin-top: 8px; }
.mf-ok,
.mf-no {
  border: 0;
  border-radius: 9px;
  padding: 7px 9px;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}
.mf-ok { background: #e2f8ea; color: #268050; }
.mf-no { background: #fde7e7; color: #c44646; }
.mf-empty { text-align: center; padding: 22px 4px; color: #a98fa0; font-size: 12px; }

@media (max-width: 760px) {
  .mf-grid { grid-template-columns: 1fr; }
  .mf-hero { align-items: flex-start; flex-direction: column; }
  .mf-card { border-radius: 14px; padding: 14px; }
}