
/* Lesbarkeit und Premium-Theme */
:root{
  --brand:#ff7a18!important;
  --brand2:#ff2d55!important;
  --accent:#f97316!important;
  --gold:#fbbf24!important;
  --text:#f8fafc!important;
  --muted:#cbd5e1!important;
  --line:rgba(255,255,255,.16)!important;
  --panel:rgba(15,23,42,.92)!important;
}
html,body{background:#070a12!important;color:var(--text)!important;}
a{color:#fed7aa!important;}
/* remove remaining blue accents */
[style*="#ff2d55"],[style*="#ff7a18"],[style*="rgb(14, 165, 233)"],[style*="rgb(56, 189, 248)"]{color:#fed7aa!important;}
.badge,.infoBadge,.newBadge,.filterLink,.btn,.button,button[type="submit"],button[type="button"],.tab,.tabs button,.accordion.active,.adjust-btn,.save-category-btn,.save-all-btn,#voucherTab button,#discountMessage,.level,.pill,.chip{
  border-color:rgba(255,122,24,.38)!important;
}
button:not(.removeItem):not(.deleteBtn),.btn,.filterLink,.save-category-btn,.save-all-btn,.adjust-btn,.dailyDealBtn,#finalBtn,.addBtn{
  background:linear-gradient(135deg,var(--brand),var(--brand2))!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(255,45,85,.18)!important;
}
.sidebar h2,h1,h2,h3,.card h3,.main h1,.main h2,.panel h2,.box h2,.value,.badgeTitle,.collectionPercent{color:#fff!important;}
th{background:linear-gradient(135deg,rgba(255,122,24,.9),rgba(255,45,85,.86))!important;color:#fff!important;}
.card,.box,.panel,.stat,.reward,.ticket,.ticketCard,.collection-card,.collectionBox,.badgeBox,.feature-card,.feature-hero,.summaryBox,.progressBox,.infoBox,.voucherBox,.dailyDealBox,.welcome-panel,.hero-copy,.hero-card,#cart,#voucherTab>div,details,summary,.badgeCard,.collectionCard,.collectionReward,.collectionListBox,.ref,.vip-card,.content-card,.admin-card,.main table,table,.formBox,form:not(.plain-form){
  background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045))!important;
  color:var(--text)!important;
  border:1px solid var(--line)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.28)!important;
}
.card *,.box *,.panel *,.stat *,.reward *,.ticket *,.ticketCard *,.collection-card *,.collectionBox *,.badgeBox *,.feature-card *,.feature-hero *,.summaryBox *,.progressBox *,.infoBox *,.voucherBox *,.badgeCard *,.collectionCard *,.collectionReward *,.collectionListBox *,.ref *,.vip-card *{color:inherit;}
.label,.small,small,.muted,.progressText,.badgeSub,p,td,li,span{color:inherit;}
input,textarea,select{
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  border:1px solid var(--line)!important;
  border-radius:12px!important;
}
input::placeholder,textarea::placeholder{color:#94a3b8!important;}
/* Account/readability */
.ref,.ref input,.copyBox,.linkBox{word-break:break-all!important;overflow-wrap:anywhere!important;color:#fff!important;background:rgba(0,0,0,.24)!important;}
.badgeCard.unlocked{background:linear-gradient(180deg,rgba(34,197,94,.22),rgba(255,255,255,.05))!important;border-color:rgba(34,197,94,.45)!important;}
.badgeCard.locked{background:linear-gradient(180deg,rgba(148,163,184,.14),rgba(255,255,255,.04))!important;border-color:rgba(148,163,184,.28)!important;opacity:1!important;}
.collectionBadge,.badgeLocked{background:rgba(255,255,255,.10)!important;border:1px solid var(--line)!important;color:#e5e7eb!important;}
.collectionBadge.unlocked,.badgeCollected{background:rgba(34,197,94,.24)!important;border-color:rgba(34,197,94,.45)!important;color:#dcfce7!important;}
.progressBar,.collectionFill{background:linear-gradient(90deg,var(--brand),var(--brand2))!important;}
.progressWrap,.collectionBar{background:rgba(255,255,255,.12)!important;border:1px solid var(--line)!important;}
/* Categories must wrap, never horizontal scroll */
.tab-container{overflow:visible!important;position:relative!important;top:auto!important;}
.tabs,.category-tabs,.tabs-scroll,.category-scroll{display:flex!important;flex-wrap:wrap!important;overflow-x:visible!important;overflow-y:visible!important;max-height:none!important;white-space:normal!important;gap:10px!important;}
.tabs button,.tab,.category-tabs button{white-space:normal!important;flex:0 1 auto!important;}
/* Admin tables: show all rows, scroll only horizontally if table is too wide */
body.admin-modern .main{overflow:visible!important;max-width:none!important;}
body.admin-modern .tableWrap,body.admin-modern .ordersTableWrap,.orders-scroll{overflow-x:auto!important;overflow-y:visible!important;max-height:none!important;width:100%!important;}
body.admin-modern table{width:100%!important;min-width:1180px!important;border-collapse:separate!important;border-spacing:0!important;}
body.admin-modern tr,body.admin-modern tbody,body.admin-modern details,body.admin-modern .monthBox{display:revert!important;visibility:visible!important;opacity:1!important;max-height:none!important;overflow:visible!important;}
body.admin-modern details.monthBox{display:block!important;}
body.admin-modern summary{cursor:pointer!important;}
body.admin-modern .infoBadge,body.admin-modern .badge,body.admin-modern .newBadge{
  background:rgba(255,122,24,.16)!important;
  color:#fed7aa!important;
  border:1px solid rgba(255,122,24,.35)!important;
}
body.admin-modern .badgeVip,body.admin-modern .badgeBalance,body.admin-modern .badgeDiscount{background:rgba(251,191,36,.14)!important;color:#fde68a!important;border-color:rgba(251,191,36,.38)!important;}
@media(max-width:980px){.tabs{display:flex!important}.tab-container{grid-template-columns:1fr!important}.search-box{width:100%!important}}

.adminTableWrap{overflow-x:auto!important;overflow-y:visible!important;max-height:none!important;width:100%!important;}
