/* Instasplash 4.0 Additions */
body.dark-mode{background:#050505;color:#f5f5f5}
body.dark-mode .sidebar,body.dark-mode .card,body.dark-mode .site-footer,body.dark-mode .login-card,body.dark-mode .signup-card{background:#111;color:#f5f5f5;border-color:#262626}
body.dark-mode .nav a{color:#f5f5f5}
body.dark-mode .nav a:hover{background:#1c1c1c}
body.dark-mode .input,body.dark-mode textarea,body.dark-mode select,body.dark-mode input{background:#1a1a1a;color:#f5f5f5;border-color:#333}
body.dark-mode .muted,body.dark-mode .footer-links a,body.dark-mode .footer-copy,body.dark-mode .footer-company{color:#aaa}

.site-footer{text-align:center;padding:30px 20px;margin-top:50px;border-top:1px solid #dbdbdb;background:#fafafa}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:15px;margin-bottom:15px}
.footer-links a{color:#737373;text-decoration:none;font-size:14px}
.footer-company{font-size:14px;color:#555;margin-bottom:8px;font-weight:600}
.footer-copy{font-size:12px;color:#999}
.splash-brand{font-size:12px;color:#999;margin-top:25px;text-align:center}

.cover-photo{height:260px;background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4);border-radius:18px;margin-bottom:20px;background-size:cover;background-position:center}
.profile-post{position:relative}
.profile-post:hover img,.profile-post:hover video{filter:brightness(.7)}
.delete-mini{position:absolute;bottom:8px;left:8px;background:#ef4444;color:white;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:700}
.video-badge{position:absolute;top:10px;right:10px;background:#000a;color:white;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}
.single-post-wrap{max-width:760px;margin:auto}
.single-media{max-height:82vh;object-fit:contain;background:#000}
.danger-link{color:#ef4444!important;font-weight:800}
.comment-row{display:flex;gap:12px;align-items:flex-start}

.reels-feed{max-width:480px;margin:auto}
.reel-card video{width:100%;max-height:82vh;background:#000;border-radius:18px}
.trending-box{display:flex;gap:8px;flex-wrap:wrap}
.hashtag-pill{background:#eef6ff;color:#0095f6;padding:8px 12px;border-radius:999px;font-weight:700}
body.dark-mode .hashtag-pill{background:#102033;color:#4db5ff}

.stay-login{display:flex;align-items:center;gap:8px;justify-content:flex-start;font-size:13px;color:#555;margin:8px 0 10px}
.stay-login input{width:auto;height:auto;margin:0}

.admin-layout{display:grid;grid-template-columns:260px 1fr;min-height:100vh}
.admin-sidebar{background:#111827;color:white;padding:22px;position:sticky;top:0;height:100vh}
.admin-sidebar a{display:block;color:white;padding:12px;border-radius:10px;text-decoration:none;margin:4px 0;font-weight:700}
.admin-sidebar a:hover{background:#2563eb}
.admin-main{padding:28px}
.admin-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin-bottom:22px}
.admin-stat,.admin-card{background:white;border-radius:16px;padding:20px;margin-bottom:20px;box-shadow:0 8px 22px #0001}

@media(max-width:800px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{height:auto;position:static}.cover-photo{height:180px}}
