/* Account Dashboard Layout */
.account-wrapper{max-width:1200px;margin:0 auto;padding:24px 30px}
.account-layout{display:grid;grid-template-columns:280px 1fr;gap:28px}
.account-sidebar{background:#17181c;border:1px solid rgba(255,255,255,.06);border-radius:16px;overflow:hidden}
.sidebar-header{padding:18px;color:#fff;border-bottom:1px solid rgba(255,255,255,.06);font-weight:700}
.account-menu{list-style:none;margin:0;padding:6px 0}
.account-menu li{margin:0}
.account-menu a{display:flex;align-items:center;gap:12px;color:#cfd3da;text-decoration:none;padding:14px 18px;border-left:3px solid transparent;transition:background .2s,color .2s,border-color .2s}
.account-menu a:hover,.account-menu a.active{background:#1f2126;color:#fff;border-left-color:#e50914}
.account-menu a i{width:18px;text-align:center;color:#e50914}
.sidebar-footer{padding:16px;border-top:1px solid rgba(255,255,255,.06);display:flex;gap:12px;align-items:center}
.sidebar-footer .name{color:#fff;font-weight:600}
.sidebar-footer .email{color:#999;font-size:12px}
.account-content{background:#17181c;border:1px solid rgba(255,255,255,.06);border-radius:16px;padding:24px}
.section-title{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#fff}
.section-title i{color:#e50914}

/* Profile form */
.profile-grid{display:grid;grid-template-columns:1fr 240px;gap:20px}
.form-group{margin-bottom:14px}
.form-group label{display:block;color:#bbb;margin-bottom:6px;font-size:14px}
.form-group input[type="text"],.form-group input[type="email"],.form-group input[type="password"]{width:100%;padding:12px 14px;border:none;border-radius:10px;background:#1f2937;color:#fff}
.radio-group{display:flex;gap:16px;color:#ccc}
.primary-btn{background:#e50914;border:none;color:#fff;padding:12px 18px;border-radius:10px;cursor:pointer;font-weight:700}
.primary-btn:hover{background:#f40612}
.muted{color:#888;font-size:13px}

/* Cards list */
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card{background:#1b1b1b;border:1px solid rgba(255,255,255,.06);border-radius:12px;overflow:hidden}
.card-poster{position:relative;aspect-ratio:16/9;background:#111}
.card-poster img{width:100%;height:100%;object-fit:cover}
.card-body{padding:12px;color:#ddd}
.badge{display:inline-block;background:#e50914;color:#fff;padding:2px 8px;border-radius:10px;font-size:12px}
.progress{height:6px;background:#333;border-radius:6px;overflow:hidden;margin-top:8px}
.progress>span{display:block;height:100%;background:#e50914}

/* Empty state */
.empty{padding:40px;text-align:center;color:#aaa}
.empty i{color:#e50914;font-size:36px;margin-bottom:10px}

/* Favorites header */
.fav-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}
.fav-title{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700}
.pill-tabs{display:flex;gap:8px}
.pill{background:#1f2126;color:#cfd3da;border:1px solid rgba(255,255,255,.06);padding:6px 14px;border-radius:20px;font-size:13px;cursor:pointer;text-decoration:none}
.pill.active{background:#e50914;color:#fff;border-color:#e50914}
.fav-empty{display:flex;align-items:center;justify-content:center;height:180px;color:#9aa0a6;background:#141519;border:1px dashed rgba(255,255,255,.08);border-radius:12px}

@media(max-width:992px){.account-layout{grid-template-columns:1fr}}

/* Mobile-first adjustments to match compact dashboard */
@media(max-width:576px){
  .account-wrapper{padding:16px}
  .account-layout{grid-template-columns:1fr;gap:16px}
  .account-sidebar{display:none}
  .account-content{padding:16px;border-radius:12px}
  .section-title{margin-bottom:14px}
  .profile-grid{grid-template-columns:1fr;gap:12px}
  .form-group input[type="text"],.form-group input[type="email"],.form-group input[type="password"]{padding:12px;border-radius:10px;font-size:15px}
  .radio-group{gap:12px}
  .primary-btn{width:100%;padding:12px 14px;border-radius:10px}
  .fav-header{flex-direction:column;align-items:stretch;gap:10px}
  .pill-tabs{justify-content:space-between}
  .pill{flex:1;text-align:center;padding:8px 10px}
}

/* Light Mode Styles */
body.light-mode .account-sidebar{background:#fff;border:1px solid rgba(0,0,0,.1)}
body.light-mode .sidebar-header{color:#1a1a1a;border-bottom:1px solid rgba(0,0,0,.1)}
body.light-mode .account-menu a{color:#666}
body.light-mode .account-menu a:hover,.light-mode .account-menu a.active{background:#f5f5f5;color:#1a1a1a}
body.light-mode .sidebar-footer .name{color:#1a1a1a}
body.light-mode .sidebar-footer .email{color:#999}
body.light-mode .account-content{background:#fff;border:1px solid rgba(0,0,0,.1)}
body.light-mode .section-title{color:#1a1a1a}
body.light-mode .form-group label{color:#666}
body.light-mode .form-group input[type="text"],body.light-mode .form-group input[type="email"],body.light-mode .form-group input[type="password"]{background:#f5f5f5;color:#1a1a1a}
body.light-mode .radio-group{color:#666}
body.light-mode .muted{color:#999}
body.light-mode .card{background:#fff;border:1px solid rgba(0,0,0,.1)}
body.light-mode .card-body{color:#666}
body.light-mode .progress{background:#e0e0e0}
body.light-mode .empty{color:#999}
body.light-mode .fav-title{color:#1a1a1a}
body.light-mode .pill{background:#f5f5f5;color:#666;border:1px solid rgba(0,0,0,.1)}
body.light-mode .pill.active{background:#e50914;color:#fff}
body.light-mode .fav-empty{color:#999;background:#f5f5f5;border:1px dashed rgba(0,0,0,.2)}
