/* =========================================================
   Update Dashboard (Gold/Black) - NO CSS variables, NO Grid
   ========================================================= */

.dbm-upd-dashboard{ margin-top:18px; }

.dbm-upd-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.dbm-upd-h{
  margin:0;
  font-size:22px;
  font-weight:900;
  color:#111;
}

.dbm-upd-subh{
  color:rgba(0,0,0,.65);
  margin-top:4px;
}

.dbm-upd-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,.55);
  background:rgba(212,175,55,.06);
  font-weight:800;
}

/* Layout: left + right using flex (no grid) */
.dbm-upd-layout{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.dbm-upd-left{
  flex:1 1 auto;
  min-width:0;
}

.dbm-upd-right{
  flex:0 0 360px;
  width:360px;
}

@media(max-width: 980px){
  .dbm-upd-layout{ display:block; }
  .dbm-upd-right{ width:auto; margin-top:18px; }
}

/* Cards */
.dbm-card{
  border:1px solid rgba(212,175,55,.28);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
}

.dbm-card__top{
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid rgba(0,0,0,.06);
}

.dbm-card__title{
  font-weight:900;
  color:#111;
}

.dbm-card__tools{
  display:flex;
  align-items:center;
  gap:8px;
}

.dbm-card__saved{
  font-weight:900;
  color:#0b7a2b;
  background:rgba(11,122,43,.10);
  border:1px solid rgba(11,122,43,.20);
  padding:6px 10px;
  border-radius:999px;
}

.dbm-card__body{ padding:14px; }

/* Two-column form layout using flex (no grid) */
.dbm-grid-2{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.dbm-grid-2 > .dbm-field{
  width:calc(50% - 6px);
}

.dbm-grid-2 > .dbm-field.dbm-grid-span-2{
  width:100%;
}

@media(max-width: 720px){
  .dbm-grid-2 > .dbm-field{ width:100%; }
}

/* Buttons sizing */
.dbm-btn-sm{ padding:8px 10px; font-size:13px; }
.dbm-btn-lg{ padding:12px 16px; font-size:15px; }

/* Submit block */
.dbm-upd-submit{
  margin-top:16px;
  padding:16px;
  border:1px dashed rgba(212,175,55,.55);
  background:rgba(212,175,55,.06);
  border-radius:16px;
}

/* Change summary */
.dbm-upd-summary{ font-size:14px; }

.dbm-upd-summary .row{
  padding:8px 0;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.dbm-upd-summary .row:last-child{ border-bottom:0; }

.dbm-upd-summary .k{ font-weight:900; }
.dbm-upd-summary .v{ color:rgba(0,0,0,.72); }
.dbm-upd-summary .arrow{
  padding:0 6px;
  color:rgba(0,0,0,.45);
  font-weight:900;
}

/* =========================================================
   DBM Update – Premium Gold / Black Polish
   ========================================================= */

.dbm-card{
  border:1px solid rgba(212,175,55,.35);
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 26px rgba(0,0,0,.08);
  transition:box-shadow .25s ease, transform .25s ease;
}

.dbm-card:hover{
  box-shadow:0 14px 36px rgba(0,0,0,.14);
}

.dbm-card__top{
  background:#0b0b0b;
  color:#fff;
  border-bottom:1px solid rgba(212,175,55,.25);
}

.dbm-card__title{
  font-weight:900;
  letter-spacing:.3px;
}

.dbm-btn-gold{
  background:#d4af37;
  color:#000;
  font-weight:800;
  border-radius:10px;
}

.dbm-btn-gold:hover{
  background:#c9a634;
}

/* =========================================================
   Smooth Collapse Animation
   ========================================================= */

.dbm-card__body{
  overflow:hidden;
  transition:max-height .35s ease, opacity .25s ease;
}

.dbm-card.is-collapsed .dbm-card__body{
  max-height:0;
  opacity:0;
  padding-top:0;
  padding-bottom:0;
}

.dbm-card:not(.is-collapsed) .dbm-card__body{
  max-height:2000px;
  opacity:1;
}