/* ==========================================================
   Basyiri Jukebox - Stylesheet (FULL - versi final)
   Ringan untuk HP lama: XT535 / iPhone 4 / Z2
   ========================================================== */

html {
    background: #7b2ff7;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 10px 8px 24px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #2b0a3d;
    background: #7b2ff7;
    background-image: -webkit-gradient(linear, left top, left bottom,
                        from(#ff6fb5), color-stop(0.55, #a44ae0), to(#5b1e9e));
    background-image: -webkit-linear-gradient(top, #ff6fb5 0%, #a44ae0 55%, #5b1e9e 100%);
    background-image: linear-gradient(to bottom, #ff6fb5 0%, #a44ae0 55%, #5b1e9e 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100%;
    -webkit-overflow-scrolling: touch;
}

.wrap { max-width: 780px; margin: 0 auto; }

.topbar {
    padding: 8px 10px;
    margin-bottom: 10px;
    color: #ffffff;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4);
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.brand {
    font-size: 17px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(40,0,60,0.4);
}

.nav {
    margin-top: 8px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 2px 0 4px;
}

.nav::-webkit-scrollbar { display: none; height: 0; }

.nav a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px 0 0;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.4);
    -webkit-border-radius: 16px;
    border-radius: 16px;
    -webkit-tap-highlight-color: rgba(255,255,255,0.15);
}

.nav a.on {
    color: #8e2de2;
    font-weight: bold;
    background: rgba(255,255,255,0.95);
    border-color: #ffffff;
}

.card {
    padding: 12px;
    margin-bottom: 10px;
    background: #ffffff;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 3px rgba(40,0,60,0.25);
    box-shadow: 0 1px 3px rgba(40,0,60,0.25);
}

.card h2 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #6a1b9a;
    border-bottom: 2px solid #f3e2fb;
    padding-bottom: 6px;
}

.card h2 .count {
    font-size: 11px;
    font-weight: normal;
    color: #a58bb5;
}

.page-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    margin: 0 0 8px;
    text-shadow: 0 1px 2px rgba(40,0,60,0.4);
}

.song {
    padding: 10px 0;
    border-bottom: 1px dashed #eedcf8;
}

.song.last { border-bottom: none; padding-bottom: 2px; }

.song .t {
    font-size: 15px;
    font-weight: bold;
    color: #6a1b9a;
}

.song .m {
    font-size: 12px;
    color: #9a7aab;
    margin: 2px 0 6px;
}

.song .d {
    font-size: 13px;
    color: #4a3a55;
    margin: 0 0 8px;
    white-space: pre-wrap;
}

.song .meta {
    font-size: 11px;
    color: #b09cc0;
    margin-top: 6px;
}

.song audio {
    display: block;
    width: 100%;
    margin: 6px 0;
}

.btn {
    display: inline-block;
    padding: 7px 14px;
    margin: 0 6px 4px 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid #a020c0;
    background: #d63fa0;
    background-image: -webkit-gradient(linear, left top, left bottom,
                        from(#ff5fa2), to(#a020c0));
    background-image: -webkit-linear-gradient(top, #ff5fa2, #a020c0);
    background-image: linear-gradient(to bottom, #ff5fa2, #a020c0);
    -webkit-border-radius: 18px;
    border-radius: 18px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: rgba(255,255,255,0.15);
}

.btn.sec {
    color: #6a1b9a;
    border: 1px solid #d9c2e8;
    background: #f4ecfa;
    background-image: -webkit-gradient(linear, left top, left bottom,
                        from(#ffffff), to(#efe2f9));
    background-image: -webkit-linear-gradient(top, #ffffff, #efe2f9);
    background-image: linear-gradient(to bottom, #ffffff, #efe2f9);
}

.btn.danger {
    border: 1px solid #a30046;
    background: #d81b60;
    background-image: -webkit-gradient(linear, left top, left bottom,
                        from(#ff5c8d), to(#b0004b));
    background-image: -webkit-linear-gradient(top, #ff5c8d, #b0004b);
    background-image: linear-gradient(to bottom, #ff5c8d, #b0004b);
}

.btn.big {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    margin: 0 0 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

label {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #7a5c8c;
    margin: 10px 0 4px;
}

input.txt, input.pwd, input.file, textarea, select {
    width: 100%;
    padding: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #2b0a3d;
    background: #ffffff;
    border: 1px solid #d9c2e8;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-appearance: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

textarea { min-height: 70px; }

input.txt:focus, input.pwd:focus, textarea:focus {
    border-color: #d63fa0;
    outline: none;
}

.hint { font-size: 11px; color: #a58bb5; margin-top: 3px; }

.alert {
    padding: 9px 12px;
    margin-bottom: 10px;
    font-size: 13px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

.alert.err {
    color: #a30046;
    background: #ffe1ec;
    border: 1px solid #ff9dc4;
}

.alert.ok {
    color: #14622f;
    background: #e4ffe9;
    border: 1px solid #9ce0a8;
}

.pager {
    margin: 14px 0 4px;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pager::-webkit-scrollbar { display: none; height: 0; }

.pager .pg {
    display: inline-block;
    min-width: 16px;
    padding: 7px 10px;
    margin: 2px;
    font-size: 13px;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.42);
    -webkit-border-radius: 9px;
    border-radius: 9px;
    -webkit-tap-highlight-color: rgba(255,255,255,0.15);
}

.pager .pg.cur {
    color: #8e2de2;
    font-weight: bold;
    background: rgba(255,255,255,0.95);
    border-color: #ffffff;
}

.pager .dots { color: #ffffff; padding: 0 4px; font-weight: bold; }

.auth {
    max-width: 380px;
    margin: 16px auto 0;
}

.auth .logo {
    text-align: center;
    color: #ffffff;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 12px;
    text-shadow: 0 1px 3px rgba(40,0,60,0.4);
}

.muted { font-size: 12px; color: #a58bb5; }
.center { text-align: center; }
.sep { height: 1px; background: #f0e2f7; margin: 12px 0; }

.footer {
    margin-top: 14px;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.75);
}

.badge {
    display: inline-block;
    padding: 1px 7px;
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    background: #b44ae0;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    vertical-align: middle;
}

@media screen and (max-width: 400px) {
    body { font-size: 13px; padding: 6px 5px 20px; }
    .brand { font-size: 16px; }
    .card { padding: 10px; }
    .nav a { padding: 5px 10px; font-size: 12px; }
    .page-title { font-size: 15px; }
    .btn { padding: 7px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}