/* Studio dashboard layout and interaction polish. */
.admin-dashboard { max-width: 1180px; gap: 1.75rem; }
.admin-topbar { min-height: 9.5rem; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 1.35rem; background: radial-gradient(circle at 88% 15%, rgba(240, 75, 63, 0.18), transparent 28%), linear-gradient(135deg, #1e2d46, #111a2b 64%); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.23); }
.admin-heading h1 { margin: 0.25rem 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.admin-heading > p:last-child { margin-top: 0.55rem; color: #b7c3d4; font-size: 0.88rem; }
.dashboard-actions { display: flex; align-items: center; gap: 0.85rem; }
.admin-topbar .sign-out-button { position: static; transform: none; }
.admin-topbar .sign-out-button:hover { transform: translateY(-1px); }
.live-status { display: inline-flex; align-items: center; gap: 0.42rem; color: #cbd5e1; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.live-status i { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: #86efac; box-shadow: 0 0 0 4px rgba(134, 239, 172, 0.1); }
.admin-grid { grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.45fr); gap: 1.25rem; }
.admin-dashboard .admin-card { position: relative; overflow: hidden; padding: clamp(1.25rem, 2.5vw, 1.8rem); border-radius: 1.2rem; transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s; }
.admin-dashboard .admin-card:hover { border-color: rgba(240, 75, 63, 0.4); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22); transform: translateY(-2px); }
.admin-dashboard .admin-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(#ff6255, transparent 44%); opacity: 0.72; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.8rem; }
.panel-heading h2, .section-heading h2 { margin: 0.2rem 0 0; font-size: 1.18rem; color: #fff; }
.panel-label { margin: 0; color: #ff756a; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.panel-copy { margin: 0.7rem 0 0; color: #b7c3d4; font-size: 0.8rem; line-height: 1.55; }
.panel-icon { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 1px solid rgba(240, 75, 63, 0.32); border-radius: 0.7rem; background: rgba(240, 75, 63, 0.1); color: #ff756a; font-size: 1.25rem; font-weight: 500; }
.upload-card form { margin-top: 1.25rem; }
.admin-dashboard input { border-color: rgba(148, 163, 184, 0.25); border-radius: 0.75rem; }
.admin-dashboard input:focus { border-color: #ff6255; box-shadow: 0 0 0 3px rgba(255, 98, 85, 0.14); }
.admin-dashboard .btn-primary { width: 100%; border-radius: 0.75rem; }
.section-heading { align-items: flex-start; }
.text-button { border-color: rgba(148, 163, 184, 0.28); background: rgba(255, 255, 255, 0.035); }
.text-button:hover { border-color: #ff6255; background: rgba(240, 75, 63, 0.12); }
.text-button:disabled { opacity: 0.6; cursor: wait; }
.messages { padding-right: 0.25rem; }
.messages::-webkit-scrollbar { width: 0.45rem; }
.messages::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(148, 163, 184, 0.35); }
.message { border: 1px solid transparent; transition: border-color 0.2s, transform 0.2s, background 0.2s; }
.message:hover { border-color: rgba(240, 75, 63, 0.28); background: #101b30; transform: translateX(3px); }
.message > strong { font-size: 0.9rem; }
.message p { color: #d8e0ec; font-size: 0.86rem; line-height: 1.55; }
.message-contact a { font-size: 0.78rem; }
.analytics { gap: 1.15rem; }
.analytics-totals { grid-template-columns: repeat(4, 1fr); }
.analytics-totals div { position: relative; overflow: hidden; padding: 1.05rem 0.7rem; }
.analytics-totals div::after { content: ''; position: absolute; right: -1rem; bottom: -1.4rem; width: 4rem; height: 4rem; border-radius: 50%; background: rgba(240, 75, 63, 0.09); }
.analytics-totals strong { position: relative; z-index: 1; font-size: 1.55rem; }
.analytics h3 { margin-top: 0.25rem; color: #eef2f8; font-size: 0.77rem; letter-spacing: 0.08em; text-transform: uppercase; }
.analytics li { transition: background 0.2s, transform 0.2s; }
.analytics li:hover { background: #16243a; transform: translateX(2px); }
.analytics li strong { color: #ff756a; }
@media (max-width: 750px) { .admin-topbar { align-items: flex-start; flex-direction: column; } .dashboard-actions { width: 100%; justify-content: space-between; } .admin-grid { grid-template-columns: 1fr; } .analytics-totals { grid-template-columns: repeat(2, 1fr); } }
