:root{
  --admin-bg:#0f0a05;
  --admin-panel:rgba(20,12,8,.92);
  --admin-panel-2:rgba(34,19,11,.92);
  --admin-border:rgba(217,164,76,.45);
  --admin-border-2:rgba(255,215,120,.22);
  --admin-text:#f5e8c9;
  --admin-muted:#c8b68e;
  --admin-accent:#d9a44c;
  --admin-accent-2:#ffdd8a;
  --admin-shadow:0 18px 45px rgba(0,0,0,.38);
}
.link-reset{color:inherit;text-decoration:none}
.admin-shell{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.admin-sidebar{position:sticky;top:90px;background:linear-gradient(180deg,var(--admin-panel),var(--admin-panel-2));border:1px solid var(--admin-border);border-radius:22px;box-shadow:var(--admin-shadow);padding:18px;overflow:hidden}
.admin-sidebar:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right, rgba(255,221,138,.12), transparent 35%);pointer-events:none}
.admin-sidebar>*{position:relative}
.admin-brand{display:flex;gap:12px;align-items:center;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--admin-border-2)}
.admin-brand-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg, rgba(217,164,76,.28), rgba(255,215,120,.12));border:1px solid var(--admin-border);font-size:1.35rem;box-shadow:inset 0 0 20px rgba(255,215,120,.05)}
.admin-brand h2{font-size:1.02rem;line-height:1.15;margin:0;color:var(--admin-text)}
.admin-brand small{display:block;color:var(--admin-muted);margin-top:4px}
.admin-search{margin:12px 0 16px}
.admin-search input{width:100%;padding:12px 14px;border-radius:14px;border:1px solid var(--admin-border);background:rgba(0,0,0,.28);color:var(--admin-text)}
.admin-sidebar-section{margin:16px 0}
.admin-sidebar-heading{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--admin-muted);margin:0 0 8px}
.admin-sidebar-links{display:grid;gap:8px}
.admin-sidebar-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;color:var(--admin-text);text-decoration:none;border:1px solid transparent;transition:all .18s ease;background:rgba(255,255,255,.02)}
.admin-sidebar-link:hover,.admin-sidebar-link.is-active{border-color:var(--admin-border);background:rgba(217,164,76,.12);transform:translateX(2px)}
.admin-sidebar-link .ico{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:rgba(255,221,138,.09);font-size:.95rem}
.admin-main{min-width:0}
.admin-v2-topbar{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:18px;background:linear-gradient(180deg, rgba(26,15,9,.9), rgba(15,10,5,.9));border:1px solid var(--admin-border);padding:16px 18px;border-radius:20px;box-shadow:var(--admin-shadow)}
.admin-v2-topbar h1{font-size:1.35rem;margin:0;color:var(--admin-text)}
.admin-v2-topbar p{margin:4px 0 0;color:var(--admin-muted)}
.admin-chip-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.admin-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(217,164,76,.11);border:1px solid var(--admin-border);color:var(--admin-text);font-size:.92rem}
.admin-return{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;border-radius:14px;background:linear-gradient(180deg, rgba(217,164,76,.95), rgba(182,129,45,.95));color:#251208!important;font-weight:700;text-decoration:none!important;border:1px solid rgba(255,221,138,.5);box-shadow:0 10px 24px rgba(0,0,0,.22)}
.admin-return:hover{filter:brightness(1.06);transform:translateY(-1px)}
.admin-hero-grid{display:grid;grid-template-columns:1.3fr .9fr;gap:18px}
.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.admin-stat-card,.admin-card-panel{background:linear-gradient(180deg, rgba(29,16,10,.9), rgba(17,10,6,.92));border:1px solid var(--admin-border);border-radius:18px;padding:16px;box-shadow:var(--admin-shadow)}
.admin-stat-card h3,.admin-card-panel h3{margin:0 0 6px;color:var(--admin-text)}
.admin-stat-value{font-size:1.8rem;font-weight:800;color:var(--admin-accent-2);line-height:1.1}
.admin-stat-meta{color:var(--admin-muted);font-size:.95rem}
.admin-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.admin-card-link{display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-height:130px;padding:16px;border-radius:18px;background:linear-gradient(180deg, rgba(35,20,12,.92), rgba(20,12,8,.96));border:1px solid var(--admin-border);text-decoration:none;color:var(--admin-text)!important;box-shadow:var(--admin-shadow);transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease}
.admin-card-link:hover{transform:translateY(-3px);border-color:rgba(255,221,138,.62);box-shadow:0 20px 32px rgba(0,0,0,.42)}
.admin-card-link .card-emoji{font-size:1.45rem}
.admin-card-link .card-title{font-weight:800;font-size:1rem}
.admin-card-link .card-desc{color:var(--admin-muted);font-size:.92rem;line-height:1.45}
.admin-card-link .card-foot{font-size:.85rem;color:var(--admin-accent-2)}
.page-builder-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:18px;align-items:start}
.page-builder-help{display:grid;gap:18px}
.page-snippet-bar{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border:1px dashed var(--admin-border);border-radius:14px;background:rgba(255,255,255,.02);margin-top:12px}
.page-snippet-title{font-weight:700;color:var(--admin-accent-2);margin-right:4px}
.page-snippet-btn{padding:8px 10px!important;font-size:.86rem}
.page-wireframe{border-radius:18px;border:1px solid var(--admin-border);overflow:hidden;background:rgba(0,0,0,.18)}
.page-wireframe-label{padding:10px 14px;background:rgba(217,164,76,.12);font-size:.85rem;color:var(--admin-muted);text-transform:uppercase;letter-spacing:.08em}
.page-wireframe-hero{min-height:160px;display:grid;place-items:center;background:rgba(255,255,255,.03);border-bottom:1px solid var(--admin-border-2)}
.page-wireframe-body{padding:16px}
.page-wireframe-chip{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(217,164,76,.12);border:1px solid var(--admin-border);margin-bottom:12px}
.page-wireframe-content{padding:14px;border-radius:14px;background:rgba(255,255,255,.03);border:1px dashed var(--admin-border);margin-top:12px;min-height:120px;color:var(--admin-muted)}
.page-wireframe-empty{color:var(--admin-muted)}
.page-block-note{margin-top:8px;color:var(--admin-muted);font-size:.92rem}
.page-action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.upload-box{margin-top:8px;margin-bottom:14px;padding:14px;border:1px solid var(--admin-border);border-radius:14px;background:rgba(0,0,0,.2)}
.upload-box input[type=file]{display:block;width:100%;color:var(--admin-text);background:transparent;border:none;padding:0}
.upload-box input[type=file]::file-selector-button{background:linear-gradient(180deg, rgba(217,164,76,.95), rgba(182,129,45,.95));color:#251208;border:none;border-radius:10px;padding:10px 16px;margin-right:12px;font-weight:700;cursor:pointer}
.upload-help{display:block;margin-top:10px;color:var(--admin-muted)}
.users-list{display:grid;gap:12px}
.user-row-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--admin-border);background:rgba(255,255,255,.03)}
.user-row-meta{color:var(--admin-muted);font-size:.93rem;margin-top:4px}
.user-row-actions{display:flex;gap:8px;align-items:start;flex-wrap:wrap}
.perm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.perm-item{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border-radius:12px;border:1px solid var(--admin-border-2);background:rgba(255,255,255,.02)}
.perm-item input{margin-top:3px}
.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.admin-note{padding:12px 14px;border-radius:14px;background:rgba(255,221,138,.08);border:1px solid var(--admin-border);color:var(--admin-muted)}
.nav-manager-list{display:grid;gap:10px}
.nav-link-row{display:grid;grid-template-columns:1.4fr 1.8fr auto auto;gap:10px;align-items:center;padding:12px;border:1px solid var(--admin-border);border-radius:14px;background:rgba(255,255,255,.03)}
.admin-table{width:100%;border-collapse:separate;border-spacing:0 10px}
.admin-table th{font-size:.85rem;color:var(--admin-muted);text-transform:uppercase;letter-spacing:.08em;padding:0 10px 4px;text-align:left}
.admin-table td{padding:12px 10px;background:rgba(255,255,255,.03);border-top:1px solid var(--admin-border-2);border-bottom:1px solid var(--admin-border-2)}
.admin-table td:first-child{border-left:1px solid var(--admin-border-2);border-radius:12px 0 0 12px}
.admin-table td:last-child{border-right:1px solid var(--admin-border-2);border-radius:0 12px 12px 0}
@media (max-width:1200px){.admin-grid-v2{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.perm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.admin-shell{grid-template-columns:1fr}.admin-sidebar{position:static}.page-builder-grid,.admin-hero-grid,.admin-form-grid{grid-template-columns:1fr}.admin-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.admin-grid-v2,.admin-stat-grid,.perm-grid{grid-template-columns:1fr}.user-row-card{grid-template-columns:1fr}.nav-link-row{grid-template-columns:1fr}.admin-v2-topbar{flex-direction:column;align-items:flex-start}.admin-chip-row{justify-content:flex-start}}


/* Admin V2 readability + footer fixes */
body.page-admin{background:#120a06;color:var(--admin-text);} 
body.page-admin .content-area{padding-bottom:calc(var(--footer-h) + 40px);} 
body.page-admin .content-wrapper{max-width:1280px;overflow:visible;} 
body.page-admin .admin-main{min-width:0;color:var(--admin-text);} 
body.page-admin .admin-main, 
body.page-admin .admin-main p,
body.page-admin .admin-main li,
body.page-admin .admin-main label,
body.page-admin .admin-main strong,
body.page-admin .admin-main span,
body.page-admin .admin-main td,
body.page-admin .admin-main th,
body.page-admin .admin-main code,
body.page-admin .admin-main small,
body.page-admin .admin-main h1,
body.page-admin .admin-main h2,
body.page-admin .admin-main h3,
body.page-admin .admin-main h4,
body.page-admin .admin-main h5,
body.page-admin .admin-main h6{color:var(--admin-text);} 
body.page-admin .admin-main .admin-stat-meta,
body.page-admin .admin-main .card-desc,
body.page-admin .admin-main .page-block-note,
body.page-admin .admin-main .upload-help,
body.page-admin .admin-main .user-row-meta,
body.page-admin .admin-main .admin-note,
body.page-admin .admin-main .page-wireframe-empty,
body.page-admin .admin-main .page-wireframe-label,
body.page-admin .admin-main .content-muted{color:var(--admin-muted)!important;} 
body.page-admin .admin-main .content-card,
body.page-admin .admin-main .admin-card,
body.page-admin .admin-main .schedule-box,
body.page-admin .admin-main .clock-box{color:var(--admin-text);} 
body.page-admin .admin-main a:not(.admin-btn):not(.admin-return):not(.admin-card-link):not(.btn):not(.admin-sidebar-link){color:var(--admin-accent-2);} 
body.page-admin .admin-main input,
body.page-admin .admin-main textarea,
body.page-admin .admin-main select{color:var(--admin-text);} 
body.page-admin .admin-main input::placeholder,
body.page-admin .admin-main textarea::placeholder{color:rgba(245,232,201,.6);} 
body.page-admin .admin-table td{color:var(--admin-text);} 
body.page-admin .site-footer{display:block!important;visibility:visible!important;opacity:1!important;position:fixed;left:0;bottom:0;z-index:9997;width:100%;margin-left:0;} 
@media (max-width:980px){body.page-admin .site-footer{margin-left:0;}}


.builder-toolbar{display:flex;gap:8px;flex-wrap:wrap}
.builder-blocks{display:grid;gap:14px;margin-top:16px}
.builder-block{padding:14px;border:1px solid var(--admin-border);border-radius:16px;background:rgba(255,255,255,.03)}
.builder-block-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}
.builder-block-actions{display:flex;gap:6px;flex-wrap:wrap}
.preview-block-card{padding:12px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--admin-border-2);margin-bottom:10px}
.preview-block-card h4{margin:8px 0 6px}
.preview-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:rgba(217,164,76,.14);border:1px solid var(--admin-border);font-size:.8rem;text-transform:capitalize}
.preview-thumb{margin-top:8px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.03);color:var(--admin-muted);font-size:.9rem}
.builder-hero .builder-copy,.builder-copy{line-height:1.7}
.builder-media{width:100%;height:auto;border-radius:14px;display:block}
.quote-source{opacity:.8;margin-top:8px}


/* Users page layout fix */
.admin-users-layout{
  display:grid;
  grid-template-columns:minmax(360px, 430px) minmax(0, 1fr);
  gap:18px;
  align-items:start;
}
.admin-users-layout > .content-card{min-width:0;}
.admin-users-layout .perm-grid{
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}
.admin-users-layout .perm-item{
  min-width:0;
  align-items:center;
}
.admin-users-layout .perm-item span{
  display:block;
  line-height:1.35;
  word-break:break-word;
}
@media (max-width: 980px){
  .admin-users-layout{grid-template-columns:1fr;}
  .admin-users-layout .perm-grid{grid-template-columns:1fr;}
}


/* Keep admin content behaving like the front site shell */
body.page-admin .footer-inner{padding-left:24px;padding-right:24px;}
body.page-admin .content-area{min-height:100vh;}


/* Home Time admin shell + card styles */
body.page-admin {
  background:
    radial-gradient(circle at top, rgba(0, 204, 136, 0.14), transparent 28%),
    url('/assets/images/bg-1.png') no-repeat center top fixed,
    #060403;
  background-size: cover;
}
body.page-admin .navbar {
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
body.page-admin .content-area {
  padding: 26px 0 140px;
}
body.page-admin .content-wrapper {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
}
body.page-admin .admin-main {
  display: block;
}
body.page-admin .admin-topbar-links {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:flex-start;
  margin-bottom: 18px;
}
body.page-admin .content-card {
  background: linear-gradient(180deg, rgba(35,20,12,.94), rgba(16,8,4,.96));
  border: 1px solid rgba(217,164,76,.42);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  padding: 20px;
}
body.page-admin .admin-title {
  color: var(--admin-text);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  margin: 0 0 16px;
}
body.page-admin .content-card + .content-card,
body.page-admin .content-card + section,
body.page-admin section + .content-card {
  margin-top: 16px;
}
body.page-admin form input[type="text"],
body.page-admin form input[type="email"],
body.page-admin form input[type="password"],
body.page-admin form input[type="url"],
body.page-admin form input[type="number"],
body.page-admin form input[type="datetime-local"],
body.page-admin form input[type="date"],
body.page-admin form textarea,
body.page-admin form select {
  width: 100%;
  background: rgba(0,0,0,.28);
  color: var(--admin-text);
  border: 1px solid rgba(217,164,76,.38);
  border-radius: 14px;
  padding: 13px 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
body.page-admin form input[type="checkbox"],
body.page-admin form input[type="radio"] {
  accent-color: #d9a44c;
}
body.page-admin .btn,
body.page-admin button,
body.page-admin input[type="submit"],
body.page-admin input[type="button"] {
  border-radius: 14px;
}
body.page-admin .admin-table td,
body.page-admin .admin-table th {
  vertical-align: middle;
}
body.page-admin .site-footer {
  position: static !important;
  margin-top: 36px;
}
@media (max-width: 980px) {
  body.page-admin .content-wrapper { width: min(100% - 20px, 1380px); }
}


/* Admin content centering + public-style media cards */
body.page-admin .admin-wrap{
  width:100%;
  max-width:1320px;
  margin:0 auto;
}
body.page-admin .admin-wrap.stack{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  align-items:start;
}
body.page-admin .admin-wrap.stack > .content-card{
  margin-top:0;
  min-width:0;
}
body.page-admin .admin-entry-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
}
body.page-admin .admin-media-card{
  background:rgba(59,43,32,.95);
  border:2px solid var(--accent-color);
  border-radius:20px;
  padding:18px;
  box-shadow:0 10px 24px rgba(0,0,0,.26);
  display:flex;
  flex-direction:column;
  gap:14px;
  height:100%;
}
body.page-admin .admin-media-thumb{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:14px;
  border:2px solid var(--accent-color);
  background:rgba(0,0,0,.35);
  display:block;
}
body.page-admin .admin-media-thumb.contain{object-fit:contain;padding:.35rem;}
body.page-admin .admin-media-placeholder{
  width:100%;
  height:240px;
  border-radius:14px;
  border:2px dashed rgba(0,204,136,.55);
  background:rgba(0,0,0,.24);
  display:grid;
  place-items:center;
  color:#d7fff2;
  text-align:center;
  padding:16px;
}
body.page-admin .admin-media-meta h3,
body.page-admin .admin-media-meta h4{
  margin:0;
  color:var(--accent-color);
}
body.page-admin .admin-media-subtitle{
  color:var(--admin-accent-2);
  font-weight:700;
  margin-top:4px;
}
body.page-admin .admin-media-body{
  white-space:pre-wrap;
  color:#fff;
  line-height:1.6;
}
body.page-admin .admin-media-url{
  word-break:break-all;
  color:#fff;
  opacity:.92;
}
body.page-admin .admin-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:.3rem .75rem;
  border-radius:999px;
  background:rgba(0,204,136,.16);
  border:1px solid rgba(0,204,136,.45);
  color:var(--accent-color);
  font-weight:700;
  width:max-content;
}
body.page-admin .admin-card-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:auto;
}
body.page-admin .admin-form-stack{
  display:grid;
  gap:12px;
}
body.page-admin .admin-form-grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body.page-admin .admin-form-grid-3{
  display:grid;
  grid-template-columns:1fr 1fr 1.6fr;
  gap:14px;
}
body.page-admin .admin-form-stack label{
  display:block;
  font-weight:700;
  color:var(--admin-accent-2);
  margin-bottom:6px;
}
body.page-admin .admin-chat-shell{
  display:grid;
  gap:18px;
}
body.page-admin .chat-box{
  min-height:320px;
  max-height:460px;
  overflow:auto;
  padding:16px;
  border-radius:18px;
  border:2px solid var(--accent-color);
  background:rgba(0,0,0,.3);
}
body.page-admin .chat-msg{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 14px;
  margin-bottom:12px;
  border-radius:16px;
  background:rgba(59,43,32,.92);
  border:1px solid rgba(0,204,136,.38);
}
body.page-admin .chat-msg .who{font-weight:800;color:var(--accent-color)}
body.page-admin .chat-msg .when{opacity:.7;font-size:.9rem}
body.page-admin .chat-msg .copy{color:#fff;white-space:pre-wrap;word-break:break-word}
body.page-admin .chat-mod-list{display:grid;gap:12px}
body.page-admin .chat-mod-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:start;
  padding:14px;
  border-radius:16px;
  background:rgba(59,43,32,.92);
  border:1px solid rgba(0,204,136,.38);
}
body.page-admin .emoji-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(44px,1fr));gap:6px;margin-top:10px;max-height:200px;overflow:auto}
body.page-admin .emoji-pick{padding:8px 0;font-size:1.25rem;background:rgba(255,255,255,.05);border:1px solid rgba(0,204,136,.35);border-radius:10px}
body.page-admin .emoji-panel{display:none;margin-top:10px;padding:12px;border:1px solid rgba(0,204,136,.35);border-radius:14px;background:rgba(0,0,0,.25)}
body.page-admin .emoji-panel.open{display:block}
body.page-admin .emoji-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
@media (max-width:1100px){body.page-admin .admin-wrap.stack{grid-template-columns:1fr;} body.page-admin .admin-form-grid-3{grid-template-columns:1fr;}}
@media (max-width:720px){body.page-admin .admin-form-grid-2, body.page-admin .chat-mod-row{grid-template-columns:1fr;}}

body.page-admin .chat-msg.admin{border-color:rgba(217,164,76,.45);background:rgba(46,30,18,.96)}
body.page-admin .chat-msg .meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:6px}
body.page-admin .chat-msg .time{opacity:.7;font-size:.9rem}
body.page-admin .chat-msg .text{color:#fff;white-space:pre-wrap;word-break:break-word}


body.page-admin .admin-list-panel{
  width:100%;
}
body.page-admin .admin-list-panel .admin-entry-grid{
  justify-content:center;
  align-items:stretch;
}
body.page-admin .admin-list-panel .admin-media-card{
  max-width:360px;
  margin:0 auto;
}
@media (min-width:1200px){
  body.page-admin .admin-wrap.stack{
    grid-template-columns:minmax(360px,460px) minmax(0,1fr);
  }
}


/* Admin cleanup fixes */
body.page-admin .admin-page-shell{
  margin:0 auto;
}
body.page-admin .admin-wrap.stack > .content-card{
  background:linear-gradient(180deg, rgba(28,14,8,.96), rgba(14,7,4,.98));
}
body.page-admin .admin-wrap.stack{
  margin-top:14px!important;
}
body.page-admin form input[type="text"],
body.page-admin form input[type="email"],
body.page-admin form input[type="password"],
body.page-admin form input[type="url"],
body.page-admin form input[type="number"],
body.page-admin form input[type="datetime-local"],
body.page-admin form input[type="date"],
body.page-admin form textarea,
body.page-admin form select,
body.page-admin form .input-field,
body.page-admin form .admin-input,
body.page-admin form .request-input{
  background:rgba(12,7,4,.92)!important;
  color:#f5e8c9!important;
  -webkit-text-fill-color:#f5e8c9!important;
  caret-color:#ffdd8a;
  border:1px solid rgba(217,164,76,.42)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 0 0 1px rgba(0,0,0,.08);
}
body.page-admin form textarea{
  min-height:140px;
}
body.page-admin form input:focus,
body.page-admin form textarea:focus,
body.page-admin form select:focus,
body.page-admin form .input-field:focus,
body.page-admin form .admin-input:focus,
body.page-admin form .request-input:focus{
  background:rgba(16,9,5,.98)!important;
  color:#fff4d5!important;
  -webkit-text-fill-color:#fff4d5!important;
  outline:none;
  border-color:rgba(255,221,138,.72)!important;
  box-shadow:0 0 0 3px rgba(0,204,136,.16), inset 0 1px 0 rgba(255,255,255,.04);
}
body.page-admin form input::placeholder,
body.page-admin form textarea::placeholder,
body.page-admin form .input-field::placeholder,
body.page-admin form .admin-input::placeholder,
body.page-admin form .request-input::placeholder{
  color:rgba(245,232,201,.48)!important;
  text-shadow:none!important;
}
body.page-admin input:-webkit-autofill,
body.page-admin textarea:-webkit-autofill,
body.page-admin select:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px rgba(12,7,4,.92) inset!important;
  -webkit-text-fill-color:#f5e8c9!important;
  caret-color:#ffdd8a;
}
body.page-admin .upload-box{
  background:rgba(0,0,0,.18);
}
body.page-admin .admin-media-card{
  max-width:none;
}
body.page-admin .admin-list-panel .admin-entry-grid{
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  justify-content:stretch;
}
body.page-admin .admin-list-panel .admin-media-card{
  margin:0;
}
body.page-admin .admin-list-panel p,
body.page-admin .admin-page-shell > p{
  color:var(--admin-muted);
}


/* Form grid fix for DJs / Friends / Fans admin pages */
body.page-admin .admin-form-grid-3{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
body.page-admin .admin-form-grid-3 > :nth-child(3){
  grid-column:1 / -1;
}
@media (max-width:720px){
  body.page-admin .admin-form-grid-3{
    grid-template-columns:1fr;
  }
  body.page-admin .admin-form-grid-3 > :nth-child(3){
    grid-column:auto;
  }
}
