
/* TEDY CELLULAR V10 - GLOBAL MODULE BACKGROUND */
html{min-height:100%!important;background:#111!important}
body{
 min-height:100vh!important;
 background-color:#050505!important;
 font-family:Inter,Poppins,"Segoe UI",Arial,sans-serif!important;
 color:#111827!important;
 background-image:
   linear-gradient(rgba(0,0,0,.72),rgba(0,0,0,.78)),
   url("../img/logo.jpg")!important;
 background-position:center center!important;
 background-size:auto, min(520px,70vw) auto!important;
 background-repeat:no-repeat!important;
 background-attachment:fixed!important;
}
body:before{content:none!important}
body>main,body>.wrap,body>.container,body>.container-fluid{position:relative!important}

/* Common module panels */
.card,.cardx,.panel,.box,.section,.content-card,.form-card,.table-card,
.checkout,.cart,.payment,.history,.toolbar,.filter-box{
 background:rgba(255,255,255,.93)!important;
 border:1px solid rgba(255,255,255,.72)!important;
 box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
 backdrop-filter:blur(10px)!important;
 -webkit-backdrop-filter:blur(10px)!important;
}

/* Many older modules use direct children as cards */
main>div,.wrap>div:not(.top):not(.header):not(.topbar),
.container>div:not(.top):not(.header):not(.topbar){
 backdrop-filter:blur(9px);
 -webkit-backdrop-filter:blur(9px);
}
input,select,textarea{
 background:rgba(255,255,255,.97)!important;
 color:#111827!important;
}
table{background:rgba(255,255,255,.94)!important}
thead,th{background:rgba(245,247,250,.97)!important}
td{background:rgba(255,255,255,.88)}
h1,h2,h3,h4,h5,h6{letter-spacing:-.02em}

/* Top navigation/header if present */
.header,.topbar,header.module-header{
 background:rgba(8,10,13,.92)!important;
 color:#fff!important;
 backdrop-filter:blur(12px)!important;
 border-color:rgba(255,255,255,.15)!important;
}

/* Prevent old page wrappers from painting a solid gray canvas */
.page,.app,.content,.main-content,.module-page{
 background:transparent!important;
}

/* Mobile */
@media(max-width:800px){
 body{
  background-image:linear-gradient(rgba(0,0,0,.74),rgba(0,0,0,.80)),url("../img/logo.jpg")!important;
  background-position:center center!important;
  background-size:auto, min(420px,76vw) auto!important;
  background-attachment:scroll!important;
 }
}
/* Printing must remain clean */
@media print{
 html,body{background:#fff!important;background-image:none!important;color:#000!important}
 .card,.cardx,.panel,.box,.section,.content-card,.form-card,.table-card{background:#fff!important;box-shadow:none!important;backdrop-filter:none!important}
}

/* FINAL BLACK + LOGO / CONTRAST */
.card,.cardx,.panel,.box,.section,.content-card,.form-card,.table-card,.checkout,.cart,.payment,.history,.filter-box,.p{color:#111827!important}
.card h1,.card h2,.card h3,.card h4,.cardx h1,.cardx h2,.cardx h3,.panel h1,.panel h2,.panel h3,.p h1,.p h2,.p h3,label{color:#111827!important}
.card .sub,.cardx .sub,.panel .sub,.p .sub{color:#4b5563!important}
@media print{html,body{background:#fff!important;background-image:none!important;color:#000!important}}

/* TEDY CELLULAR FINAL FULL THEME - light surface readability */
.card,.cardx,.panel,.box,.section,.content-card,.form-card,.table-card,
.checkout,.cart,.payment,.history,.toolbar,.filter-box,.p,.item,.top,
.wrap>.card,.wrap>.box,.wrap>.p{
  color:#111827!important;
}
.card h1,.card h2,.card h3,.card h4,.card h5,.card h6,
.cardx h1,.cardx h2,.cardx h3,.panel h1,.panel h2,.panel h3,
.box h1,.box h2,.box h3,.section h1,.section h2,.section h3,
.p h1,.p h2,.p h3,.item b,.top h1,.top h2,
.form-card h1,.form-card h2,.table-card h1,.table-card h2{
  color:#111827!important;
}
.card label,.cardx label,.panel label,.box label,.section label,.p label,
.form-card label,.filter-box label,.payment label,.checkout label{
  color:#1f2937!important;
}
.item p,.note,.muted,.sub{color:#4b5563!important}
/* Keep intentionally dark statistic/summary cards readable */
.c,.metric-card,.dark-card,.bg-dark{color:#fff!important}
.c h1,.c h2,.c h3,.metric-card h1,.metric-card h2,.metric-card h3,
.dark-card h1,.dark-card h2,.dark-card h3,.bg-dark h1,.bg-dark h2,.bg-dark h3{color:#fff!important}
@media print{
  html,body{background:#fff!important;background-image:none!important;color:#000!important}
  body:before{display:none!important}
}

/* FINAL WHITE THEME SAFETY OVERRIDE */
html,body{background:#f4f6f8 !important;background-image:none !important;color:#171717 !important;}
