*{box-sizing:border-box}
body{margin:0;background:#f6f8fb;color:#0f172a;font-family:Arial,Helvetica,sans-serif}
.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:22px;background:linear-gradient(135deg,#f8fafc,#eef4ff)}
.login-card{width:100%;max-width:460px;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:34px;box-shadow:0 24px 70px rgba(15,23,42,.12)}
.logo,.brand{font-size:28px;font-weight:900;color:#111827}
.logo span,.brand span{color:#e50914}
.logo b,.brand b span{color:#e50914}
.login-card h1{margin:24px 0 10px;font-size:28px}
.login-card p{color:#64748b;line-height:1.5}
label{display:block;margin:16px 0 8px;font-weight:800}
input{width:100%;height:50px;border:1px solid #cfd8e3;border-radius:11px;padding:0 14px;font-size:15px;background:#fff}
button,.login-card button{width:100%;height:52px;border:0;border-radius:11px;background:#e50914;color:#fff;font-size:16px;font-weight:900;cursor:pointer;margin-top:22px}
.topbar{height:76px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 4vw;position:sticky;top:0;z-index:10}
.topbar nav{display:flex;gap:24px}
.topbar nav a{text-decoration:none;color:#111827;font-weight:800}
.container{max-width:1160px;margin:auto;padding:28px}
.status-card,.playlist-card,.history-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:26px;margin-bottom:24px;box-shadow:0 10px 30px rgba(15,23,42,.05)}
h2{margin:0 0 22px;font-size:22px}
.status-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.status-grid div{background:#f8fafc;border:1px solid #e5e7eb;border-radius:13px;padding:16px}
.status-grid label{margin:0 0 8px;color:#64748b}
.badge{display:inline-flex;padding:8px 12px;border-radius:8px;font-weight:900}
.badge.active{background:#dcfce7;color:#166534}.badge.trial{background:#fff7d6;color:#a16207}.badge.expired{background:#fee2e2;color:#991b1b}
.alert{max-width:1160px;margin:0 auto 18px;padding:14px 18px;border-radius:12px;font-weight:900}
.alert.success{background:#dcfce7;color:#166534}.alert.error{background:#fee2e2;color:#991b1b}
.tabs{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dbe3ef;border-radius:12px;overflow:hidden;margin-bottom:20px}
.tab{margin:0;border-radius:0;background:#fff;color:#111827}.tab.active{background:#e50914;color:#fff}
.forms{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.playlist-form{display:none;border:1px solid #e2e8f0;border-radius:14px;padding:22px}
.playlist-form.active{display:block}
.playlist-form h3{color:#e50914;margin-top:0}
.table-wrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{padding:14px;border:1px solid #e5e7eb;text-align:left;white-space:nowrap}
th{background:#f8fafc}
.type{background:#ffe2e4;color:#e50914;border-radius:7px;padding:6px 10px;font-weight:900}
.empty{text-align:center;color:#64748b}
.payments{text-align:center;padding:22px}
.paylogos{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.paylogos span{background:#fff;border:1px solid #dbe3ef;border-radius:10px;padding:14px 22px;font-weight:900;color:#1646b7;box-shadow:0 8px 20px rgba(15,23,42,.06)}
footer{text-align:center;color:#64748b;padding:24px;border-top:1px solid #e5e7eb}
@media(max-width:900px){.status-grid,.forms{grid-template-columns:1fr}.topbar nav{display:none}.container{padding:18px}.topbar{padding:0 18px}.brand{font-size:22px}}
