/* Price Emu branding layout overrides (safe add-on).
   Loaded AFTER /assets/app.css. Uses !important for production overrides.
*/

/* Cards */
.card{
  padding:24px 24px !important;
  border-radius:14px !important;
  box-sizing:border-box !important;
}
.card .card-body{ padding:24px 24px !important; }
.card > :first-child{ margin-top:0 !important; }
.card > :last-child{ margin-bottom:0 !important; }

/* Inputs inside cards */
.card input, .card select, .card textarea{
  box-sizing:border-box !important;
}
.card input[type="text"],
.card input[type="email"],
.card input[type="password"],
.card input[type="number"],
.card select,
.card textarea{
  width:100% !important;
  padding:12px 12px !important;
}

/* Topbar + logo */
.topbar{position:sticky;top:0;z-index:20;background:rgba(10,14,18,0.9);backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,0.06);}
.topbar-inner{max-width:1100px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;}
.brand-logo{height:36px !important;max-height:36px !important;width:auto !important;display:block;object-fit:contain;}
.brand-name{color:rgba(235,245,255,0.95);font-weight:800;letter-spacing:0.2px;}
.topbar-actions{display:flex;align-items:center;gap:14px;}
.topbar-actions a{color:rgba(235,245,255,0.85);text-decoration:none;font-weight:600;}
.topbar-actions a:hover{color:rgba(235,245,255,0.98);}
.topbar-actions a.danger{color:rgba(255,120,120,0.9);}
.topbar-actions a.danger:hover{color:rgba(255,150,150,1);}

/* Auth */
.auth-logo{height:86px !important;max-height:86px !important;width:auto !important;display:block;object-fit:contain;}
.auth-card{padding:24px 24px !important;}

/* Layout helpers */
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.kv{margin-top:12px;display:flex;flex-direction:column;gap:10px;}
.kv .k{min-width:120px;color:rgba(235,245,255,0.65);font-weight:700;}
.kv .v{color:rgba(235,245,255,0.92);font-weight:700;}
.empty{margin-top:10px;padding:12px 14px;border:1px dashed rgba(255,255,255,0.12);border-radius:12px;color:rgba(235,245,255,0.75);}

/* Table */
.table{margin-top:14px;border:1px solid rgba(255,255,255,0.06);border-radius:12px;overflow:hidden;}
.table .tr{display:grid;grid-template-columns:160px 180px 1fr;gap:12px;padding:12px 14px;border-top:1px solid rgba(255,255,255,0.06);}
.table .tr.th{background:rgba(255,255,255,0.03);border-top:none;font-weight:800;}
.table .tr>div{color:rgba(235,245,255,0.90);}

@media (max-width:900px){
  .grid-2{grid-template-columns:1fr;}
}
@media (max-width:560px){
  .card,.card .card-body{padding:18px 18px !important;}
  .auth-logo{height:64px !important;max-height:64px !important;}
}
