/* DREAMCARS — app install & push panel (moved out of header) */

header.dc-app-header.dc-header-logo-only .dc-header-actions,
header.dc-app-header.dc-header-logo-only .dc-header-meta{
  display:none!important;
}

header.dc-app-header.dc-header-logo-only{
  justify-content:flex-start!important;
}

header.dc-app-header.dc-header-logo-only .dc-header-brand{
  flex:1 1 auto!important;
  max-width:100%!important;
}

/* Hidden dock — keeps buttons in DOM for pwa-install-push.js on all pages */
.dc-app-actions--hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  pointer-events:none!important;
  opacity:0!important;
}

/* Visible panel — profile (auth) and home (guest) */
.dc-app-actions--visible{
  margin:12px auto 0!important;
  padding:14px!important;
  max-width:760px;
  border-radius:18px!important;
  border:1px solid rgba(255,138,0,.22)!important;
  background:linear-gradient(180deg,rgba(20,20,20,.98),rgba(10,10,10,.96))!important;
}

.dc-app-actions__title{
  margin:0 0 6px!important;
  padding:0!important;
  font-size:16px!important;
  font-weight:850!important;
  color:#fff!important;
}

.dc-app-actions__lead{
  margin:0 0 12px!important;
  font-size:13px!important;
  line-height:1.45!important;
}

.dc-app-actions__buttons{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.dc-app-actions__btn,
.dc-app-actions .pwa-install-btn,
.dc-app-actions .header-push-btn{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 14px!important;
  border-radius:14px!important;
  border:1px solid rgba(255,138,0,.38)!important;
  background:rgba(255,138,0,.12)!important;
  color:#ffd391!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.2!important;
  text-align:center!important;
  white-space:normal!important;
  box-shadow:none!important;
  cursor:pointer!important;
}

.dc-app-actions__btn:active,
.dc-app-actions .pwa-install-btn:active,
.dc-app-actions .header-push-btn:active{
  filter:brightness(1.06)!important;
}

.dc-app-actions .header-push-control{
  display:block!important;
  width:100%!important;
}

.dc-app-actions .header-push-control[hidden]{
  display:none!important;
}

.dc-app-actions .header-push-btn[data-enabled="1"]{
  border-color:rgba(74,222,128,.42)!important;
  background:rgba(34,197,94,.12)!important;
  color:#86efac!important;
}

@media (min-width:560px){
  .dc-app-actions__buttons{
    flex-direction:row;
    flex-wrap:wrap;
  }
  .dc-app-actions__btn,
  .dc-app-actions .pwa-install-btn,
  .dc-app-actions .header-push-btn{
    flex:1 1 calc(50% - 4px)!important;
    width:auto!important;
  }
}
