/* MiPlayer Pro dashboard, scoped: does not modify site-wide PHP or styles */
.mp-dashboard{display:grid;grid-template-columns:265px minmax(0,1fr);min-height:660px;background:#fff;color:#1b1b1f;font:16px/1.5 system-ui,Segoe UI,sans-serif;border-top:1px solid #efebef}
.mp-dashboard *{box-sizing:border-box}.mp-dashboard [hidden],.mp-add-card[hidden]{display:none!important}
.mp-sidebar{background:#fff;border-right:1px solid #e8e8eb;padding:24px 10px 28px;min-width:0}
.mp-side-brand{display:flex;align-items:center;gap:10px;padding:0 15px 20px;font-size:19px;color:#121216;font-weight:850}.mp-side-brand img{width:38px;height:38px;object-fit:contain}.mp-side-brand b{color:#cf132c}
.mp-side-subtitle{font-size:10px!important;letter-spacing:2px;color:#a4a4ad!important;font-weight:800;margin:0 15px 20px!important}
.mp-side-nav{display:flex;flex-direction:column;gap:7px}.mp-side-link{font:650 14px/1.3 system-ui,sans-serif;display:flex;gap:13px;align-items:center;width:100%;min-height:54px;padding:12px 14px;border:0;border-radius:10px;color:#77757b;background:transparent;text-decoration:none;text-align:left;cursor:pointer}.mp-side-link:hover{background:#f6f3f4;color:#131216}.mp-side-link.is-active{background:#111014;color:#fff}.mp-side-symbol{font-size:21px;width:24px;display:inline-flex;justify-content:center;flex:none;font-weight:400}
.mp-dash-main{padding:36px clamp(18px,3vw,46px) 55px;min-width:0;background:#faf9fa}.mp-panel{max-width:1400px;margin:auto}.mp-panel-title{min-height:74px;display:flex;gap:15px;align-items:center;justify-content:space-between;margin:0 0 24px;padding:15px 26px;background:#fff;border:1px solid #eae7e9;border-radius:13px;box-shadow:0 4px 16px #1310150d}.mp-panel-title h1{font-size:clamp(21px,2.4vw,28px);line-height:1.25;color:#161418;margin:0;font-weight:800}.mp-device-chip{color:#fff;background:#111014;border-radius:7px;padding:9px 13px;font-size:13px;white-space:nowrap}
.mp-toolbar{display:flex;gap:18px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-bottom:24px}.mp-search-label{flex:1 1 250px;max-width:430px}.mp-dashboard .mp-toolbar input{width:100%;height:47px;border:1px solid #e6e4e7;background:#f1f0f2;color:#222;padding:10px 17px;border-radius:8px;font-size:14px;margin:0}.mp-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap}.mp-action-button,.mp-dashboard .mp-action-button{background:#c41730;color:#fff;text-decoration:none;border:0;border-radius:8px;padding:12px 19px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font:750 14px/1.35 system-ui,sans-serif;min-height:45px}.mp-action-button:hover{background:#e01b37;color:#fff}.mp-outline-button{border:1px solid #c41730;color:#ba1730;background:transparent;text-decoration:none;border-radius:8px;padding:11px 17px;display:inline-block;font-weight:700}
.mp-empty{min-height:350px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#242027}.mp-empty-symbol{font-size:48px;color:#cb1c35;opacity:.7}.mp-empty h2{font-size:20px;margin:14px 0 5px;color:#1d1a1f}.mp-empty p{font-size:14px;color:#858089;margin:0}
.mp-playlist-row{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e7e4e7;padding:18px;border-radius:12px;margin-bottom:10px}.mp-pl-icon{display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff0f2;color:#d11a38;width:45px;height:45px}.mp-pl-info{flex:1;display:flex;flex-direction:column;min-width:0}.mp-pl-info strong{color:#1b1a1f;overflow-wrap:anywhere}.mp-pl-info small{color:#868088}.mp-delete-button{border:1px solid #eed0d4;background:white;color:#b61c2d;padding:9px 15px;border-radius:8px;cursor:pointer;font-weight:700}
.mp-add-card,.mp-info-surface{background:#fff;border:1px solid #e7e5e8;border-radius:14px;padding:clamp(20px,3vw,36px);box-shadow:0 4px 18px #120d1209}.mp-add-card{margin-top:22px}.mp-add-card h2,.mp-info-surface h2{font-size:22px;margin:0 0 12px;color:#17141a}.mp-add-card p,.mp-info-surface p{color:#69646d}.mp-add-top{display:flex;justify-content:space-between;align-items:center}.mp-add-top button{background:none;border:0;color:#393138;cursor:pointer;font-size:20px}.mp-dashboard label{display:block;color:#39343a;margin:12px 0;font-weight:600}.mp-dashboard .mp-add-card input,.mp-dashboard .mp-add-card select{display:block;width:100%;background:#f9f8f9!important;border:1px solid #ded9dd!important;color:#241c23!important;border-radius:9px!important;padding:12px!important;margin:6px 0 0!important;min-height:45px}.mp-two{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.mp-amount{font-size:24px!important;color:#c41730!important;font-weight:800}.mp-info-surface strong{color:#19151a}.mp-hint{color:#77727a!important;font-size:14px}.mp-button-row{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.mp-details{margin:0}.mp-details>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,1fr);padding:17px 0;border-bottom:1px solid #eee9eb;gap:12px}.mp-details dt{font-weight:800;color:#1b171b}.mp-details dd{margin:0;text-align:right;overflow-wrap:anywhere;color:#28222a}.mp-status{color:white;padding:8px 15px;display:inline-block;border-radius:8px;font-weight:750;background:#bb1632}.mp-status.mp-active{background:#167b49}.mp-toast{max-width:1400px;margin:0 auto 18px;border-radius:8px;padding:12px 16px;font-weight:650}.mp-error{background:#ffe5e9;color:#8b0820}.mp-success{background:#def8e7;color:#126039}.mp-sr-only{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.mp-login-alert{max-width:680px;margin:12px auto!important}
@media(max-width:860px){.mp-dashboard{grid-template-columns:1fr}.mp-sidebar{border-right:0;border-bottom:1px solid #e9e5e8;padding:10px 12px}.mp-side-brand,.mp-side-subtitle{display:none}.mp-side-nav{flex-direction:row;overflow-x:auto;padding:4px;gap:5px}.mp-side-link{width:auto;min-height:43px;flex:0 0 auto;font-size:12px;white-space:nowrap;padding:10px 12px}.mp-dash-main{padding:22px 15px 35px}.mp-panel-title{padding:14px 17px;min-height:63px}}
@media(max-width:540px){.mp-device-chip{font-size:11px}.mp-panel-title{flex-wrap:wrap}.mp-toolbar-actions{width:100%}.mp-toolbar-actions button{flex:1}.mp-search-label{max-width:100%}.mp-two{grid-template-columns:1fr}.mp-details>div{grid-template-columns:1fr;gap:2px}.mp-details dd{text-align:left}.mp-playlist-row{flex-wrap:wrap}.mp-playlist-row form{margin-left:auto}}
/* Edit playlist action and password controls */
.mp-playlist-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.mp-playlist-actions form{margin:0}
.mp-edit-button{border:1px solid #c41730;background:#fff5f6;color:#ae1229;padding:9px 15px;border-radius:8px;font-weight:750;cursor:pointer}
.mp-edit-button:hover{background:#ffe4e8}
.mp-dashboard .mp-checkbox-label{display:flex;align-items:center;gap:9px}
.mp-dashboard .mp-checkbox-label input{width:18px!important;min-height:18px!important;height:18px!important;margin:0!important}
@media(max-width:540px){.mp-playlist-actions{width:100%;justify-content:flex-end}}
