.sticky-bar {
      /* glass effect */
    background: rgb(255 255 255 / 0%); /* transparan */
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(10px) !important;
    height: 80px; 
}

.slider-area .hero__caption .slider-btns a.video-btn {
    background: #001797;
}
.main-header .main-menu ul li>a {
    color: #001163 !important;
}
.main-header .main-menu ul li>a::before {
    background: #001163 !important;
}
.logo img {
    width: 240px;      /* atur sesuai kebutuhan */
    height: auto;      /* biar proporsi gambar nggak gepeng */
    max-height: 80px;  /* cocok buat header / navbar */
}
.hero__img img {
    width: 500px;   /* ubah sesuai kebutuhan */
    height: auto;   /* biar proporsi gambar aman */
}

.white-bg {
    background-color: #ffffff; /* abu terang */
}

.features-icon {
    width: 130px;
    height: 60px;
    border-radius: 50%;
    background: #000c52; /* gradasi biru */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.features-icon i {
    font-size: 26px;
    color: #ffffff;
}
.best-features-area .features-shpae img {
    max-width: 45% !important;
}

.music-benefit-section {
    background: #f8fafc;
}

/* Card */
.music-benefit-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 9999;
}

.music-benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 29, 77, 0.25);
    z-index: 9999;
}

/* Icon */
.music-benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    background: #000c52;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-benefit-icon i {
    font-size: 28px;
    color: #ffffff;
}
.music-benefit-section .text-center h2 {
    font-size: 2.6rem;      /* gede tapi masih elegan */
    font-weight: 700;
    line-height: 1.25;
    margin-top: 80px;
    color:#ffffff;
}

.music-benefit-section .text-center p {
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto;
}

.white-text{
    color: #ffffff !important;
}

.music-benefit-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background-position: center 65%;
}

.music-benefit-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.65),
        rgba(0, 0, 0, 0.45)
    );
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.music-benefit-section .container {
    position: relative;
    z-index: 2; /* teks & card di atas overlay */
    margin-bottom: 90px;
}

/* Wrapper icon */
.service-icon-lain {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: #0b1c3d; /* navy */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(11, 28, 61, 0.35);
    transition: all 0.35s ease;
}

/* Icon Font Awesome */
.service-icon-lain i {
    font-size: 36px;
    color: #ffffff;
    transition: all 0.35s ease;
}

/* Hover effect */
.services-caption:hover .service-icon-lain {
    background: linear-gradient(135deg, #0b1c3d, #1e3a8a);
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(11, 28, 61, 0.45);
}

.services-caption:hover .service-icon-lain i {
    transform: scale(1.15);
}

.best-pricing::before{
    background-color: #000c52 !important;
}

.payment-section {
    padding: 60px 0;
}

.payment-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: left;
}

/* Tabs */
.payment-tabs {
    display: flex;
    gap: 40px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
    margin-top: 45px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    position: relative;
}

.tab-btn.active {
    color: #02006f; /* ungu */
    font-weight: 600;
}

.tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;
    background: #02006f;
    border-radius: 3px 3px 0 0;
}

/* Content */
.payment-content {
    margin-top: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.payment-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    height: 100%;
}

/* Kiri */
.left-box h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 16px;
}

.feature-list li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Kanan */
.right-box {
    text-align: center;
}

.right-box h5 {
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    margin: 20px 0;
}

.price .amount {
    font-size: 28px;
    font-weight: 700;
    color: #000c52;
}

.price .period {
    font-size: 14px;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .right-box {
        margin-top: 10px;
    }
}

.voucher-box {
    text-align: center;
}

.voucher-box h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.voucher-input {
    height: 48px;
    border-radius: 10px;
}

.voucher-note {
    font-size: 13px;
    line-height: 1.6;
    color: #1e3a8a;                 /* biru tua untuk teks */
    background: #e0f2fe;            /* biru muda */
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid #38bdf8; /* aksen biru */
}

.voucher-note strong {
    font-weight: 700;
    color: #1d4ed8;
}

.token-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.token-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 21, 80, 0.479);
}

.token-title {
    font-size: 28px;
    font-weight: 700;
}

.token-info h5 {
    margin: 0;
    font-weight: 700;
}

.token-price {
    font-size: 16px;
    font-weight: 600;
    color: #000c52;
}

/* Aksen pojok kanan */
.token-accent {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: #000c52;
    border-radius: 0 0 0 50px;
}
.fa-close-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #374151; /* abu gelap */
    cursor: pointer;
    padding: 6px;
    transition: all 0.2s ease;
}

.fa-close-btn:hover {
    color: #7c3aed; /* ungu */
    transform: rotate(90deg);
}


/* .promo-section {
    padding: 60px 0;
} */

.promo-title {
    margin-top: 50px;
    font-weight: 800;
    font-size: 33px;
    margin-bottom: 10px;
}

.promo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-card img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.25);
}

/* Mobile */
@media (max-width: 576px) {
    .promo-card img {
        height: 180px;
    }
}
.promo-link {
    text-decoration: none;
    display: block;
    color: inherit;
}
/* Blur backdrop */
.modal-backdrop.show {
    backdrop-filter: blur(30px);
    background-color: rgba(0,0,0,.55);
}

/* Modal */
.login-modal .modal-content {
    border-radius: 16px;
    padding: 10px;
}

/* Close button */
.fa-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    transition: .2s;
}

.fa-close-btn:hover {
    color: #7c3aed;
    transform: rotate(90deg);
}

/* Password eye */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    color: #777;
}

/* QR */
.qr-box img {
    width: 180px;
    height: 180px;
}

/* QR Guide */
.qr-guide {
    font-size: 14px;
}

.qr-guide ol {
    padding-left: 18px;
}

/* Forgot */
.forgot-link {
    font-size: 14px;
    text-decoration: none;
}

.music-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.music-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.music-cover {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    flex-shrink: 0;
}

.music-info {
    width: 100%;
}

.music-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.music-artist {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.music-info audio {
    width: 100%;
    height: 32px;
}
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    color: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
}

.global-player audio {
    width: 300px;
}

.player-info {
    flex: 1;
    font-size: 14px;
}

/* Layout */
.app {
  height: 100vh;
  overflow: hidden;
}

.sidebar {
  width: 260px;
  padding: 24px;

  position: fixed;
  top: 24px;
  left: 24px;
  bottom: 24px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  border-radius: 24px;
  box-shadow:
    0 25px 50px rgb(131 131 131 / 58%), inset 0 1px 0 rgb(255 255 255 / 15%);

  z-index: 100;
}


/* Logo */
.logo {
  font-size: 22px;
  font-weight: 800;
}
.logo span {
  color: #ef4444;
}

/* Menu */
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu li {
  padding: 12px 16px;
  margin-bottom: 10px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
  color: #001d56;
  font-size: 18px;
}

.menu li:hover {
  background: rgba(255,255,255,0.15);
}

.menu li.active {
  background: #0b1c3d;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.289);
  color: #fff;
}

.content {
  /* margin-right: 24px; */
  margin-bottom: 24px;

  padding: 18px;
    overflow-y: auto; /* hanya ini yang scroll */
    overflow-x: hidden;
}

.card-glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 30px;
}

.page-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.page-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-sidebar img{
    width: 203px;
    height: auto;
    max-height: 80px;
}
.menu li i {
    margin-right: 8px;
    font-size: 20px;
}
.top-navbar {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
}

.nav-right {
    display: flex;
    gap: 12px;
}

.btn-nav {
    padding: 8px 16px;
    border: 2px solid #0a1a3a;
    background: transparent;
    color: #0a1a3a;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-nav:hover {
    background: rgba(255,255,255,0.15);
}

.btn-login {
    background: #000627;
    border: none;
    color: #fff;
}

.btn-login:hover {
    background: #d6eaff00;
    border: 2px solid #0a1a3a;
    color: #000627;
    
}

.btn-register:hover {
    background: #000627;
    color: #ffffff;
    
}

.back-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #0a1a3a; /* navy blue */
    color: white;

    display: flex;
    justify-content: center;
    align-items: center;

    border: none;
    outline: none;
    cursor: pointer;

    transition: 0.2s ease;
}

.back-btn:hover {
    background: #102a5b; /* sedikit lebih terang */
}

/* NAV LEFT FLEX */
.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* SEARCH BOX */
.search-box {
    position: relative;
}

.search-box input {
    width: 430px;
    padding: 8px 35px 8px 12px;
    border-radius: 50px;
    border: 1px solid #000627;
    background: #000627;
    color: white;
    outline: none;
    font-size: 14px;
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ICON DI DALAM INPUT */
.search-box i {
    position: absolute;
    right: 1px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 17px;
    pointer-events: none;
    border-radius: 50%;
    /* background-color: #000627; */
    padding: 12px;
}

.search-icon-2 {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    color: rgb(255, 255, 255);
    font-size: 17px;
    pointer-events: none;
    border-radius: 50%;
    background-color: #000627;
    padding: 12px;
}



.promo-section {
    margin-top: 20px;
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.promo-nav {
    display: flex;
    gap: 8px;
}

.promo-btn {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    background: #11244f; /* navy blue */
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-top: 13px;
}

.promo-btn:hover {
    background: #1a3470;
}

.see-all {
    color: #000627;
    text-decoration: none;
    font-size: 14px;
}

.see-all:hover {
    text-decoration: underline;
}

.promo-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.promo-track {
    display: flex;
    transition: transform 0.4s ease;
}

.promo-banner {
    min-width: 50%;
    height: 180px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    border-radius: 14px;
    padding: 0 8px; /* jadi jarak antar banner */
}
.promo-banner img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 14px;
}

.album-section {
    margin-top: 25px;
}

.album-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.album-header h3 {
    font-size: 20px;
    color: #000627;
    font-weight: 700;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.album-card {
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    background-color: #000627;
    padding: 10px 10px;
    border-radius: 10px;
}

.album-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
}

.album-card h4 {
    font-size: 15px;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-card p {
    font-size: 13px;
    color: #ffffff;
    margin: 2px 0 0;
}

/* Hover effect */
.album-card:hover img {
    transform: scale(1.05);
    transition: 0.3s;
}

.album-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto; 
    overflow-y: hidden;
    padding-bottom: 10px;

    /* biar scroll bar halus */
    scroll-behavior: smooth;
    white-space: nowrap;
}

.album-grid::-webkit-scrollbar {
    height: 6px;
}

.album-grid::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 4px;
}

.album-card {
    flex: 0 0 auto; /* penting biar tidak mengecil dan bisa discroll */
    width: 140px;
    text-align: start;
}

.album-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
}

.music-extra-section {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2.5fr 2fr;
    gap: 30px;
}

/* --- TOP CHART --- */
/* --- TOP CHART NEW STYLE --- */
/* .top-chart {
    margin-top: 30px;
} */

.chart-item {
    display: flex;
    align-items: center;
    background: #0c1531;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 12px;
    color: white;
    transition: 0.2s;
}

.chart-item:hover {
    background: #111d45;
}

.chart-thumb {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    margin-right: 15px;
    object-fit: cover;
}

.chart-info h4 {
    font-size: 15px;
    margin: 0;
    color: #fff;
}

.chart-info p {
    margin: 3px 0 0;
    font-size: 13px;
    opacity: 0.7;
    color: #fff;
}

.chart-actions {
    margin-left: auto;
    display: flex;
    gap: 14px;
}

.chart-actions i {
    font-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

.chart-actions i:hover {
    transform: scale(1.15);
    color: #4fa3ff;
}

/* ===== OVERLAY BASE ===== */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* SHOW STATE */
.onboarding-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* CONTAINER ANIMATION */
.onboarding-container {
    background: #111;
    padding: 40px;
    border-radius: 16px;
    width: 700px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;

    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: all 0.4s ease;
}

/* Container active */
.onboarding-overlay.show .onboarding-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.onboarding-container h2 {
    margin-bottom: 10px;
    font-weight: 600;
}

.onboarding-container h2.mt-4 {
    margin-top: 35px !important;
}

.onboarding-message {
    margin-top: 12px;
    font-size: 14px;
    color: #ff4d4f;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.onboarding-message.show {
    opacity: 1;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.onboarding-container.shake {
  animation: shake 0.3s;
}


/* Optional: smooth card hover */
.select-card {
    padding: 8px 18px;
    border-radius: 999px; /* pill style */
    background: rgba(255,255,255,0.06);
    color: #ddd;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;

    border: 1px solid rgba(255,255,255,0.08);

    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInItem 0.4s ease forwards;
}

@keyframes fadeInItem {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
}

.select-card.active {
    background: linear-gradient(90deg, #2563eb, #1d4ed8);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 12px rgba(37,99,235,0.4);
}

.genre-grid-onboarding,
.artis-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px; /* row gap | column gap */
    margin-top: 15px;
}

/* --- GENRE GRID --- */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.genre-grid-search {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.genre-card {
    background: #ffffff;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    weight: 30px;
}

.genre-card:hover {
    background: #101b49;
    color: white;
}

/* responsive */
@media (max-width: 900px) {
    .music-extra-section {
        grid-template-columns: 1fr;
    }
}

/* ===== SECTION WRAPPER ===== */
.chart-carousel-section {
    width: 100%;
    margin-top: 40px;
    text-align: center;
}

/* ===== CAROUSEL ===== */
.chart-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.chart-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* ===== CARD STYLE ===== */
.chart-box {
    width: 320px;
    min-width: 320px;
    background: #000627;
    padding: 20px;
    border-radius: 16px;
    color: white;
    text-align: left;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* Each card title */
.chart-box h3 {
    margin-bottom: 16px;
    color: #fff;
}

/* ===== LIST INSIDE CARD ===== */
.chart-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.chart-list-item img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
}

.chart-list-item .info h4 {
    font-size: 15px;
    margin: 0;
    color: #fff;
}

.chart-list-item .info p {
    font-size: 13px;
    opacity: 0.7;
    margin: 3px 0 0 0;
}

/* ===== BUTTON IN EACH CARD ===== */
.chart-seeall {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
    padding: 10px 0;
    background: #0c1531;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.chart-seeall:hover {
    background: #ffffff;;
    color: #000627;
}

/* ===== DOTS ===== */
.chart-dots {
    margin-top: 20px;
}

.chart-dots .dot {
    width: 10px;
    height: 10px;
    background: #666;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    transition: 0.3s;
    cursor: pointer;
}

.chart-dots .dot.active {
    background: #0c1531;
    transform: scale(1.2);
}
/* SECTION WRAPPER */
.genre-reco-section {
    margin-top: 30px;
}

.genre-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* CAROUSEL WRAPPER */
.genre-reco-carousel {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.genre-reco-carousel::-webkit-scrollbar {
    display: none;
}

/* TRACK */
.genre-reco-track {
    display: flex;
    gap: 18px;
}

/* POLAROID CARD */
.genre-card-polaroid {
    min-width: 180px;
    height: 200px;
    background: white;
    border-radius: 14px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform .2s ease;
}

.genre-card-polaroid:hover {
    transform: translateY(-4px);
}

/* ICON */
.genre-icon {
    width: 100%;
    height: 100%;
    background: #f3f3f3;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.genre-icon i {
    font-size: 40px;
    color: #203a78;
}

/* TEXT */
.genre-card-polaroid p {
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* reccomendation */
.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.recommend-card {
    background: #000627;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 245.8px;
    aspect-ratio: 1 / 1;   /* bikin kotak */
    object-fit: cover;     /* crop biar rapi */
    border-radius: 12px;
}

.recommend-card:hover {
    transform: translateY(-6px);
    background: #000627;
}

.recommend-card img {
    width: 100%;
    height: 161px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.recommend-card h5 {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

.recommend-card p {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}

/* musik player bar */
.music-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.251); /* transparan */
    backdrop-filter: blur(12px); /* efek blur */
    -webkit-backdrop-filter: blur(12px); /* untuk Safari */
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}


.player-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cover {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.song-info h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
}

.song-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.6;
}

.player-center {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 50%;
}

.play-btn {
    background: #203a78;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.progress {
    width: 220%;
}
.player-center {
    display: flex;
    justify-content: center;
}

.player-right {
    display: flex;
    align-items: center;
}
.player-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* tombol prev/next kecil */
.control-btn {
    background: #7e7e7e;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

/* tombol play sedikit lebih besar */
.play-btn {
    background: #203a78;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.time-box {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #555;
}

 .playlist-section {
            margin-top: 20px;
            padding: 0 10px;
        }

        .playlist-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        /* CAROUSEL */
        .playlist-carousel {
            overflow-x: auto;
            scrollbar-width: none;
        }

        .playlist-carousel::-webkit-scrollbar {
            display: none;
        }

        .playlist-track {
            display: flex;
            gap: 16px;
        }

        .playlist-section {
margin-top: 20px;
padding: 0 10px;
}


.playlist-title {
font-size: 18px;
font-weight: 700;
margin-bottom: 12px;
}


/* CAROUSEL */
.playlist-carousel {
overflow-x: auto;
scrollbar-width: none;
}


.playlist-carousel::-webkit-scrollbar {
display: none;
}


.playlist-track {
display: flex;
gap: 16px;
}


/* PLAYLIST CARD */
.playlist-card {
min-width: 155px;
height: 190px;
background: #000627;
border-radius: 14px;
padding: 10px;
box-shadow: 0 3px 10px rgba(0,0,0,0.12);
display: flex;
flex-direction: column;
justify-content: space-between;
cursor: pointer;
text-align: center;
}


.playlist-cover {
width: 100%;
height: 110px;
border-radius: 10px;
overflow: hidden;
}


.playlist-cover img {
width: 130px;
height: 130px;
object-fit: cover;
}


.playlist-name {
margin-top: 6px;
font-size: 14px;
font-weight: 600;
color: white;
}


/* ADD PLAYLIST */
.add-playlist {
background: rgba(32, 58, 120, 0.08);
border: 2px dashed #203a78;
justify-content: center;
align-items: center;
}


.add-icon {
font-size: 36px;
font-weight: bold;
color: #203a78;
}

.recent-section {
    margin-top: 24px;
    padding: 0 10px;
}

.recent-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.song-card {
    background: #ffffff;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    text-align: center;
    position: relative;
}

.song-cover2 {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.song-cover2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.song-title {
    font-size: 15px;
    font-weight: 600;
    margin: 6px 0 2px;
}

.song-artist {
    font-size: 13px;
    opacity: 0.6;
    margin: 0 0 8px;
}

.song-play-btn {
    background: #203a78;
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    position: absolute;
    bottom: 12px;
    right: 12px;
}

/* DETAIL PAGE */

.detail-page {
    padding: 20px;
}

/* HEADER CARD */
.playlist-header-card {
    width: 100%;
    background: #000627;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-cover {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
}

.header-info .playlist-title-detail {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.playlist-meta {
    margin: 3px 0;
    color: #b9b9b9;
    font-size: 14px;
}

/* Add Song Button */
.add-song-btn {
    width: 45px;
    height: 45px;
    font-size: 25px;
    background: #191f48;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
}

/* SONG LIST */
.song-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.song-item {
    display: flex;
    align-items: center;
    background: #000627;
    padding: 12px;
    border-radius: 10px;
    gap: 12px;
}

.song-cover-small {
    width: 55px;
    height: 55px;
    border-radius: 6px;
    object-fit: cover;
}

.song-info {
    flex-grow: 1;
}

.song-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.song-artist {
    margin: 0;
    font-size: 13px;
    color: #b9b9b9;
}

.song-play {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
}

/* Back Button */
.back-btn-playlist {
    padding: 10px 15px;
    background: #000627;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
}

.song-detail {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    height: 100%;
    color: white;
    padding: 20px;
    transition: 0.35s ease;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
}

/* Overlay Blur */
.song-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit; /* ambil foto sama */
    filter: blur(10px) brightness(0.5);
    transform: scale(1.2);
    z-index: -1;
}


.song-detail.active {
    bottom: 0;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-header button,
.more-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
}

.detail-cover {
    width: 20%;
    border-radius: 20px;
    margin: 0 auto;
    display: block;
}

.detail-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-info h2 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 3px;
}

.like-btn {
    background: none;
    border: none;
    font-size: 25px;
    color: white;
}

.detail-controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* atur jarak antar tombol */
}



.control-btn-detail {
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
}

.play-big {
    /* margin: 0 10px; */
    background: white;
    color: black;
    border: none;
    padding: 7px 16px;
    border-radius: 50%;
    font-size: 24px;
}
.time-container {
    display: flex;
    justify-content: space-between;
    margin: -10px 5px 0 5px;
    font-size: 14px;
    color: #b3b3b3;
}

.detail-content {
    max-width: 500px;
    margin: 0 auto; /* Biar center */
    text-align: center; /* Biar isi rata tengah */
}

.detail-info {
    gap: 20px;
    margin-top: 30px;
}

.detail-cover {
    width: 50%; /* biasanya 20% terlalu kecil untuk tampilan detail */
}
.detail-progress {
    width: 500px;
    max-width: 100%; /* biar tetap responsif di layar kecil */
    margin: 0 auto; /* center */
    display: block;
}

/* PANEL SEARCH */
.search-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: #000c522e;
    backdrop-filter: blur(10px);
    transition: bottom 0.35s ease;
    overflow-y: auto;
    z-index: 9999;
}

/* Saat aktif */
.search-panel.active {
    bottom: 0;
}

/* SEARCH INPUT */
.search-header {
    margin-top: 10px;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
}

/* GENRE GRID */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.genre-grid-search {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.genre-box {
    background: rgba(255,255,255,0.7);
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

/* TITLE */
.genre-title {
    margin: 15px 0 10px;
    font-size: 20px;
    font-weight: bold;
}

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-search-btn {
    background: rgba(255,255,255,0.7);
    border: none;
    padding: 14px 12px;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}


/* ========== SIDEBAR DESKTOP ========== */
.sidebar {
    transition: 0.3s ease;
    z-index: 999;
    position: relative;
}

/* collapsed desktop mode */
.sidebar.collapsed {
    width: 0px;
}

.sidebar.collapsed .menu-text,
.sidebar.collapsed .logo-sidebar img {
    display: none;
}

/* ========== MOBILE MODE ========== */
@media (max-width: 768px) {

    /* Sidebar disembunyikan di luar layar */
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        transform: translateX(-100%);
        width: 250px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
    }

    /* ketika active → geser masuk */
    .sidebar.active {
        transform: translateX(0);
    }

    /* disable collapsed mode di mobile */
    .sidebar.collapsed {
        width: 250px !important;
    }

    /* hamburger muncul di mobile */
    .hamburger-mobile {
        display: block !important;
        font-size: 22px;
        cursor: pointer;
        padding: 10px;
        color: #000;
    }

    /* content full width */
    .content {
        margin-left: 0 !important;
    }

    .nav-left {
        gap: 0px
    }

}

/* desktop non-mobile hide hamburger */
.hamburger-mobile {
    display: none;
}
.toggle-sidebar{
    display: none;
}

@media (max-width: 768px) {
    .search-box input {
        display: none !important;
    }

    .search-box {
        display: flex;
        align-items: center;
        position: relative;
    }

    .search-icon {
        display: block !important;
        font-size: 20px;
        margin-left: 10px;
        cursor: pointer;
        z-index: 5;
    }
}
/* Default: hanya icon utama yang muncul */
.search-icon-2 {
    display: none;
}

/* Mobile: hide icon utama, show icon-2 */
@media (max-width: 768px) {
    .search-icon {
        display: none !important;
    }

    /* .search-icon-2 {
        display: block !important;
        font-size: 20px;
        cursor: pointer;
        margin-left: 10px;
    } */

    .search-box input {
        display: none !important;
    }

    .content {
        padding: 10px;
    }
    .chart-box{
        min-width: 370px;
    }
    .btn-nav{
        padding: 5px 12px;
        font-size: 13px;
    }
    .nav-right {
        gap: 4px
    }
}

.premium-pricing {
    margin-top: 20px;
}

.pricing-list {
    display: flex;
    gap: 20px;
}

.pricing-box {
    background: #000627;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
    color: #fff
}

.pricing-box h3{
    font-size: 22px;
    color: #fff
}

.pricing-box p{
    font-size: 20px;
    color: #fff
}

.price {
    font-size: 22px;
    font-weight: bold;
}

.btn-buy {
    background: #eef1ff;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}
.genre-card.active {
    background: #000c52;
    color: white;
    font-weight: 600;
}
.profile-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #14233c;          /* warna card sama dashboard */
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-btn-nav i {
    font-size: 16px;
}

.profile-btn-nav:hover {
    background: #1e3359;
    transform: translateY(-2px);
}

.profile-btn-nav:active {
    transform: scale(0.96);
}


    /* MODAL PLAYLIST */
    .playlist-modal {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(3px);
    }

    .playlist-modal .modal-box {
        background: #000627;
    }
    /* MODAL TAMBAH LAGU */
    .song-modal {
        background: rgba(0,0,0,0.75);
    }

    .song-modal .modal-box {
        background: #000627;
    }

    .playlist-card {
        cursor: pointer;
    }
    /* MODAL OVERLAY */
    .modal-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(3px);
        z-index: 999;
        justify-content: center;
        align-items: center;
    }

    /* MODAL BOX */
    .modal-box {
        background: #000627;
        padding: 20px;
        width: 90%;
        max-width: 500px;
        border-radius: 16px;
        color: white;
    }

    .modal-box h3 {
        margin-top: 0;
        text-align: center;
    }

    .modal-box input {
        width: 100%;
        padding: 10px;
        margin: 8px 0 15px;
        border-radius: 8px;
        border: none;
        background: #0b1b65;
        color: white;
    }

    .btn-submit {
        width: 100%;
        padding: 12px;
        background: #0d1580;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .btn-submit:hover {
        background: #1a2bcc;
    }

    .btn-close {
        width: 100%;
        padding: 12px;
        background: #444;
        border: none;
        border-radius: 10px;
        cursor: pointer;
        color: white;
    }
    .playlist-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 16px;
        padding: 10px 0;
    }

    .playlist-card {
        border-radius: 10px;
        cursor: pointer;
        transition: 0.2s;
        text-align: center;
    }

    .playlist-card:hover {
        background: #121647;
    }

    .playlist-cover img {
        width: 100%;
        height: 140px;
        border-radius: 8px;
        object-fit: cover;
    }

    .add-playlist {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .add-icon {
        font-size: 48px;
        margin-bottom: 8px;
    }

    .modal-box {
        background: #000627;
        width: 420px;
        max-height: 80vh;
        padding: 20px;
        border-radius: 14px;
        overflow-y: auto;
    }

    .modal-title {
        color: white;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .modal-search {
        width: 100%;
        padding: 10px;
        border-radius: 8px;
        border: none;
        margin-bottom: 14px;
        background: #070d46;
        color: white;
    }

    .modal-search::placeholder {
        color: #aaa;
    }

    .modal-song-list {
        max-height: 30vh;
        overflow-y: auto;
    }

    .modal-song-item {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #070d46;
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: 0.2s;
        height: 70px;
    }

    .modal-song-item:hover {
        background: #0d1580;
    }

    .modal-song-cover {
        width: 50px;
        height: 50px;
        border-radius: 8px;
        object-fit: cover;
    }

    .modal-song-info {
        display: flex;
        flex-direction: column;
        color: white;
    }

    .modal-song-title {
        font-weight: bold;
        margin: 0;
        margin-top: 16px;
    }

    .modal-song-artist {
        color: #ccc;
        font-size: 13px;
    }

    .modal-close-btn {
        width: 100%;
        margin-top: 10px;
        padding: 10px;
        background: #0d1580;
        border: none;
        border-radius: 8px;
        color: white;
        font-size: 14px;
        cursor: pointer;
    }

    .modal-close-btn:hover {
        background: #00022c;
    }

    /* TITIK TIGA */
    .playlist-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 4px 0;
        position: relative;
    }

    /* TITIK TIGA */
    .playlist-options {
        position: relative;
    }

    .dots {
        font-size: 18px;
        cursor: pointer;
        padding: 6px;
        border-radius: 6px;
        color: #fff;
    }

    .dots:hover {
        background: rgba(255,255,255,0.15);
    }

    /* MENU POPUP */
    .popup-menu {
        position: absolute;
        right: 0;
        top: 28px; /* muncul di bawah titik tiga */
        width: 140px;
        background: #1e1e1e;
        border: 1px solid #333;
        border-radius: 10px;
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 50;
        box-shadow: 0 3px 12px rgba(0,0,0,0.35);
    }

    .popup-menu .menu-item {
        padding: 10px 12px;
        cursor: pointer;
        color: #eee;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .popup-menu .menu-item:hover {
        background: #2c2c2c;
    }

    .modal-box h3 {
        margin-bottom: 15px;
        color:#fff;
    }

    .modal-box input,
    .modal-box select {
        width: 100%;
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 8px;
        border: 1px solid #333;
        background: #222;
        color: #eee;
    }

    .btn-save {
        width: 100%;
        padding: 10px;
        background: #b3cbff;
        border-radius: 8px;
        color: white;
        cursor: pointer;
        border: none;
        margin-bottom: 8px;
    }

    .btn-cancel {
        width: 100%;
        padding: 10px;
        background: #444;
        color: #fff;
        border-radius: 8px;
        cursor: pointer;
        border: none;
    }

    #toast {
        position: fixed;
        bottom: 80px;
        right: 20px;
        background: #00022c;
        color: white;
        padding: 12px 18px;
        border-radius: 8px;
        display: none;
        font-size: 14px;
        box-shadow: 0 3px 12px rgba(0,0,0,.3);
        z-index: 999999; /* Sangat tinggi agar selalu di atas semua elemen */
    }

    /* Modal styling */
    #editUserModal .modal-content {
        border-radius: 18px;
        overflow: hidden;
        background: #000627;
        color: #fff;
    }

    #editUserModal .modal-header {
        border-bottom: 1px solid #011230;
        padding: 20px;
        background: #011230;
    }

    #editUserModal .modal-title {
        font-weight: 600;
        font-size: 20px;
    }

    #editUserModal .modal-dialog {
        max-width: 1000px;
        margin-bottom: 70px !important; /* tambah jarak bawah */
    }


    /* Profile photo section */
    .profile-box {
        text-align: center;
        margin-bottom: 25px;
    }

    .profile-photo {
        width: 130px;
        height: 130px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #00022c;
        margin-bottom: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }

    .profile-upload-label {
        font-weight: 500;
        margin-bottom: 6px;
    }

    /* Inputs */
    #editUserModal .form-control,
    #editUserModal textarea {
        background: #011230;
        border: 1px solid #333;
        color: #fff;
        border-radius: 10px;
        padding: 4px 14px;
    }

    #editUserModal .form-control:focus {
        border-color: #011230;
        box-shadow: none;
    }

    /* Save button */
    #editUserModal .btn-primary {
        background-color: #162236;
        border: none;
        border-radius: 12px;
        /* padding: 12px; */
        font-size: 16px;
        font-weight: 600;
    }

    #editUserModal .btn-primary:hover {
        background-color: #162236;
    }

    /* ============================
   FRIENDS MODAL
============================ */

/* Overlay */
.friends-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal box */
.friends-box {
    background: #000627;
    width: 400px;
    padding: 22px;
    border-radius: 14px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Title */
.friends-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

/* Search input */
.friends-input {
    width: 100%;
    padding: 10px 14px;
    background: #181818;
    border: 1px solid #333;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
}

.friends-input:focus {
    border-color: #001797;
    outline: none;
}

/* Results container */
.friends-results {
    margin-top: 15px;
}

/* Placeholder */
.friends-placeholder {
    color: #999;
    margin: 0;
}

#closeFriendsModal {
    background: linear-gradient(135deg, #3b5cff, #6f8bff);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: 0.2s ease;
}

#closeFriendsModal:hover {
    background: linear-gradient(135deg, #314dce, #5f78e0);
}

.friends-box {
    max-height: 80vh; 
    overflow: hidden; 
}

.friends-results {
    max-height: 300px;  /* tinggi area scroll */
    overflow-y: auto;   /* scroll hanya bagian ini */
    margin-top: 15px;
    padding-right: 5px;
}

.friends-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-my-friends {
    margin-bottom: 10px;
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-my-friends:hover {
    background: #5a6268;
}

.forgot-modal .modal-content {
    border-radius: 15px;
    padding: 5px;
}

.fa-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
}

.fa-close-btn:hover {
    color: #000;
}
