/* PalcoPass: ajustes de legibilidade, compra e mobile (v1.1) */
/* 1 e 2: texto dos campos e cards sempre legivel */
.producer-shell .event-form input,.producer-shell .event-form select,.producer-shell .event-form textarea{color:#f6f4ff;-webkit-text-fill-color:#f6f4ff;caret-color:#f6f4ff}.auth-panel input,.auth-panel select{color:#f6f4ff;-webkit-text-fill-color:#f6f4ff;caret-color:#f6f4ff}.auth-panel input::placeholder{color:#8f8aa8;-webkit-text-fill-color:#8f8aa8}.auth-panel input:-webkit-autofill{-webkit-text-fill-color:#f6f4ff;transition:background-color 9999s}.producer-shell .event-form option{background:#1b1830;color:#f6f4ff}.producer-shell .event-form input::placeholder,.producer-shell .event-form textarea::placeholder{color:#8f8aa8;-webkit-text-fill-color:#8f8aa8}
.buyer-form input,.buyer-form select,.buyer-form textarea,
.checkout-page input,.checkout-page select,.checkout-page textarea{color:#14121f;-webkit-text-fill-color:#14121f;caret-color:#14121f}
.buyer-form input::placeholder,.checkout-page input::placeholder{color:#7c788a;-webkit-text-fill-color:#7c788a}
.checkout-page .order-pending-card,.checkout-page .order-pending-card h2,.checkout-page .order-pending-card p,.checkout-page .order-pending-card span,.checkout-page .order-pending-card strong,.checkout-page .order-pending-card b{color:#f4f1ff}
.checkout-page .order-pending-card{background:linear-gradient(145deg,#1d1b32,#131322);border:1px solid #3a3654}
.checkout-page .order-pending-card>p{color:#cfc8e6}
.checkout-page .order-pending-card .order-total-line{border-color:#3a3654}
.checkout-page .order-pending-card .button-outline{color:#f4f1ff;border-color:#8a63d9}
.checkout-page .order-status h1,.checkout-page .order-status p,.checkout-page .order-status b{color:#f4f1ff}
.checkout-page .form-alert,.checkout-alert{color:#4a1010;background:#ffe3e3;border:1px solid #f1a5a5;padding:12px 14px;border-radius:9px;margin-bottom:12px;font-size:13px}
/* 3: quantidade no checkout */
.checkout-item{grid-template-columns:auto 1fr auto}
.checkout-item-side{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.qty-stepper{display:inline-flex;align-items:center;gap:2px;margin:0;border:1px solid #4a4467;border-radius:999px;background:#17142a;overflow:hidden}
.qty-stepper button{width:36px;height:34px;border:0;background:transparent;color:#f4f1ff;font-size:18px;cursor:pointer}
.qty-stepper button:hover:not(:disabled){background:#2c2750}
.qty-stepper button:disabled{opacity:.35;cursor:not-allowed}
.qty-stepper span{min-width:28px;text-align:center;font-weight:700;color:#f4f1ff}
.buyer-hint{font-size:12.5px;line-height:1.5;color:#cfc8e6;margin:-4px 0 12px}
.buyer-hint b{color:#fff}
/* 5: video */
.event-video-frame{position:relative;width:100%;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#000}
.event-video-frame iframe,.event-video-frame video{position:absolute;inset:0;width:100%;height:100%;border:0}
.event-video-hint{font-size:12px;color:#9c97b3;margin-top:8px}
/* 6: galeria com popup */
.gallery-thumb{padding:0;border:0;background:none;cursor:zoom-in;border-radius:12px;overflow:hidden}
.gallery-thumb img{display:block;width:100%;height:150px;object-fit:cover;transition:transform .2s}
.gallery-thumb:hover img{transform:scale(1.04)}
.lightbox{position:fixed;inset:0;z-index:1000;background:rgba(5,5,15,.92);display:flex;align-items:center;justify-content:center;padding:24px}
.lightbox[hidden]{display:none}
.lightbox img{max-width:100%;max-height:100%;border-radius:10px;object-fit:contain}
.lightbox-close{position:absolute;top:16px;right:18px;width:44px;height:44px;border-radius:50%;border:1px solid #fff5;background:#0008;color:#fff;font-size:20px;cursor:pointer}
body.lightbox-open{overflow:hidden}
.gallery-manager{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:14px}
.gallery-manager-item{display:block;font-size:12px}
.gallery-manager-item img{width:100%;height:90px;object-fit:cover;border-radius:8px;display:block;margin-bottom:5px}
.gallery-manager-item input{width:auto!important;min-height:0!important;display:inline!important}
.muted-note{font-size:12.5px;color:#8c88a0}
/* 7: logo da produtora */
.organizer-logo{height:28px;width:auto;max-width:90px;object-fit:contain;vertical-align:middle;margin:0 8px;border-radius:5px;background:#fff;padding:2px}
.producer-org-logo{max-height:46px;max-width:100%;object-fit:contain;justify-self:start;border-radius:6px;background:#fff;padding:3px}
/* mobile: login/cadastro visiveis, menu da conta e sair */
.header-logout{margin:0}
.header-logout button{background:none;border:0;cursor:pointer;font:inherit;color:inherit}
@media(max-width:700px){
  .site-header{height:auto;min-height:64px;flex-wrap:wrap;gap:8px;padding:10px 14px}
  .site-header .main-nav{display:none}
  .header-actions{margin-left:auto;gap:6px;flex-wrap:wrap;justify-content:flex-end}
  .header-actions .link-button.header-keep{display:inline-flex!important;align-items:center;padding:8px 10px;font-size:13px}
  .header-actions .header-create{padding:8px 11px;font-size:12px}
  .header-actions .link-button:not(.header-keep){display:inline-flex!important}
  .checkout-item{grid-template-columns:auto 1fr}
  .checkout-item-side{grid-column:1/-1;flex-direction:row;justify-content:space-between;align-items:center}
  .producer-shell{display:block}
  .producer-sidebar{position:static;width:auto;height:auto;padding:14px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
  .producer-sidebar .producer-org{display:none}
  .producer-sidebar nav{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  .producer-sidebar nav a{flex:1 1 auto;text-align:center;padding:10px 14px;border-radius:9px;background:#ffffff14}
  .producer-sidebar-bottom{display:flex;gap:8px;margin-left:auto;margin-top:0}
  .producer-sidebar-bottom button,.producer-sidebar-bottom a{padding:9px 14px;border-radius:9px}
  .producer-main{padding:18px 14px}
}
.ticket-recipients{border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:12px;margin:0 0 14px}
.ticket-recipients legend{padding:0 6px;font-weight:600}
.ticket-recipients label{display:block;margin-top:8px}
/* admin mobile: barra superior + menu que abre/fecha */
.admin-menu-toggle{display:none}
@media(max-width:860px){
  .admin-shell{display:block!important}
  .admin-sidebar{position:sticky!important;top:0;z-index:30;width:100%!important;max-width:100%;flex:none!important;height:auto!important;min-height:0!important;padding:12px 16px!important;flex-direction:row!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:0;box-shadow:0 2px 12px rgba(0,0,0,.25)!important}
  .admin-sidebar .brand{margin:0!important;font-size:19px;min-height:0!important}
  .admin-menu-toggle{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:9px;padding:10px 14px;font:600 14px 'DM Sans',sans-serif;cursor:pointer}
  .admin-sidebar>.sidebar-label,.admin-sidebar>nav,.admin-sidebar>form{display:none!important}
  .admin-sidebar.is-open>nav{display:flex!important;flex-direction:column;width:100%;gap:2px;margin-top:12px;max-height:calc(100vh - 90px);overflow:auto}
  .admin-sidebar.is-open>nav .sidebar-label{display:block;margin:14px 6px 4px}
  .admin-sidebar.is-open>form{display:block!important;width:100%;margin-top:8px;padding:10px 0 0;border-top:1px solid rgba(255,255,255,.2)}
  .admin-sidebar nav a{padding:13px 12px!important;font-size:15px!important;white-space:normal}
  .admin-main{padding:22px 16px!important;overflow:visible}
  .admin-heading{flex-direction:column;align-items:flex-start}
  .admin-metrics{grid-template-columns:repeat(2,1fr)!important}
}
@media(max-width:700px){
  .producer-sidebar{position:sticky!important;top:0;z-index:30;display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:10px 14px!important}
  .producer-sidebar .admin-menu-toggle{background:rgba(255,255,255,.14)}
  .producer-sidebar>nav,.producer-sidebar>.producer-sidebar-bottom{display:none!important}
  .producer-sidebar.is-open>nav{display:flex!important;flex-direction:column;width:100%;gap:6px;margin-top:10px;max-height:calc(100vh - 150px);overflow:auto}
  .producer-sidebar.is-open>nav a{flex:none;text-align:left;display:flex;align-items:center;gap:10px}
  .producer-sidebar.is-open>.producer-sidebar-bottom{display:flex!important;width:100%;margin-top:8px;justify-content:space-between}
}

/* v9: logo da marca nas paginas publicas e hints de formulario */
.site-header .brand-logo,.site-footer .brand-logo{height:38px;width:auto;max-width:200px;max-height:38px;object-fit:contain;background:transparent;padding:0;border-radius:0}
.site-footer .brand-logo{height:30px;max-height:30px}
.field-hint{display:block;font-size:.78rem;opacity:.7;margin-top:4px;font-weight:400}
.showcase-gallery img,.attraction-grid img{max-width:100%}

/* v10: formularios claros (admin e demais) com texto escuro */
.admin-shell input:not([type=checkbox]):not([type=radio]):not([type=color]),.admin-shell select,.admin-shell textarea{color:#16251f;-webkit-text-fill-color:#16251f;caret-color:#16251f}
.admin-shell input::placeholder,.admin-shell textarea::placeholder{color:#7a877f;-webkit-text-fill-color:#7a877f}
.admin-shell option{background:#fff;color:#16251f}
.admin-shell input[type=file]::file-selector-button{color:#16251f}
.admin-shell .event-form label{color:#16251f}
