* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background-color: #FFF8F3; */
    /* background-color: #FFF4EA; */
    /* background-color: #FBDCC4; */
    background-color: #FBFBFB;
    /* background-color: white; */
    /* background-image: url('/img/lbn2.png'); */
    color: black;
}

.greet h6{
    font-weight: bold;
    color: #7D0633;
     font-size: 17px;
    margin-bottom: 0;
    margin-top: 5px;
    /* color: #E5A9BB; */
}

.greet2 {
    background-color: #3C3D37;
}

.bnv {
    background-color: #D32F2F;
    color: white;
    padding: 6px 23px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    border: 1px solid white;
    box-shadow: 0px 2px 0px white;

}

.bnv:hover {
    background-color: #FF3B3B;
    color: white !important;
    border: 1px solid white;
    box-shadow: 0px 2px 0px white;
}

.container-db {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 40px;
    /* margin-bottom: 10px;    */
}

.container-db2 {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 40px;
    /* margin-bottom: 10px;    */
}

.div-strip {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #31112C;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.div-strip2 {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #31112C;
    padding: 20px;
}

i {
    font-family: 'Poppins', sans-serif;
}
/* Progress Container */
.progress-container {
    grid-column: span 2; /* Membuat progress bar melintang penuh */
    /* background: #FBDDC5; */
    /* background: #7D0633; */
    /* background-color: #FDF3E1; */
    /* background-color:  #F7F0FF; */
    background-color: white;
    /* background: linear-gradient(to bottom, #A34763 1%, #FFFFFF); */
    color: black;
    /* color: white; */
    margin-top: 20px;
    padding: 15px;
    border-radius: 20px;
    /* border: 2px solid #31112C; */
    /* border: 2px solid #5C2A52;
    box-shadow: 0px 4px 0px #31112C, 0px 8px 15px rgba(0, 0, 0, 0.1); */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15); */
    border: 2px solid #31112C;
    box-shadow: 0 6px 0 #31112C;
    display: flex;
    align-items: center;
    gap: 20px;
}

.progress-image {
    width: 80px;
    height: 80px;
    margin-right: 10px;
    border: 1px solid #31112C;
}

.progress-image2 {
    width: 60px;
    height: 60px;
    margin-right: 10px;
}

.progress-bar-wrapper {
    flex-grow: 1;
   
}

.progress {
    width: 100%;
    background: #ddd;
    height: 10px;
    border-radius: 8px;
    /* border: 1px solid white; */
    overflow: hidden;
    position: relative;
    
}

.progress-bar-fill {
    height: 100%;
    background: #31112C;
    /* position: relative; */
}


.progress-text {
    white-space: nowrap; /* Supaya angka tetap di satu baris */
    font-weight: bold;
}

.progress-points {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.progress-container h5 {
    /* color: black; */
    color: #31112C;
    font-weight: bold;

}

/* Materi Container */
.main-content {
    /* background: #FAFAFA; */
    /* background-color:  #F7F0FF; */
    /* background-color: #FDF3E1; */
    grid-column: span 2;
    background-color: white;
    /* font-weight: bold; */
     font-size: 17px;
    padding: 25px;
    border-radius: 20px;
    /* border: 2px solid #31112C; */
    border: 2px solid #6D3E2A;
    box-shadow: 0 6px 0 #6D3E2A;
    /* box-shadow:  */
    /* 0 4px 6px rgba(255, 255, 255, 0.6),  Highlight putih di atas
    0 6px 15px rgba(0, 0, 0, 0.3); Bayangan bawah lebih gelap
    border: 2px solid rgba(255, 255, 255, 0.8); Border putih agar lebih menonjol */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15); */

}

.main-content h5 {
    color: #6D3E2A;
    text-align: center;
    font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 2px solid #6D3E2A;
}

.main-content h6 {
    color: #6D3E2A;
    text-align: center;
    font-weight: bold;
    padding-bottom: 12px;
    /* border-bottom: 2px solid #6D3E2A; */
}

.materi {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    border-bottom: 1px solid gray;
    padding: 10px 0;
}

.materi:last-child {
    border-bottom: none;
}

.materi .lock-icon {
    color: #aaa;
    font-size: 18px;
    margin-right: 10px;
}

.btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    line-height: 1;
    background-color: #31112C;
    color: white;
    border: 1px solid #12050F;
    box-shadow: 0px 3px 0px #12050F;
    border-radius: 24px;
    white-space: nowrap;
    /* margin-top: 5px; */
  }

.btn-more:hover {
    background: #75356A;
    box-shadow: 0px 4px 0px #45203F;
    color: white;
} 

/* Leaderboard Container */
.leaderboard {
    /* border: 2px solid #31112C; */
    /* background: #F6F0E4; */
    /* background: #FAFAFA; */
    /* background-color: #FBE3E6; */
    background-color: white;
    color: #31112C;
    /* padding: 25px; */
    border-radius: 20px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15); */
    border: 2px solid #7D0633;
    box-shadow: 0 6px 0 #7D0633;

    /* background: white;
    border-radius: 20px; */
    padding: 30px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
    margin-top: 50px;
    /* margin-bottom: 50px; */
    /* border: 2px solid #31112C; */
    /* border: 2px solid #7D0633;
    box-shadow: 0 6px 0 #7D0633; */
}

.leaderboard ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.leaderboard ul li {
    margin: 10px 0;
}

.leaderboard h5 {
    color:#7D0633;
    text-align: center;
    font-weight: bold;
    padding-bottom: 12px;
    border-bottom: 2px solid #7D0633;
}


/* Halaman Kontak */

.contact-box {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 10px;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); */
    margin-top: 84px;
    margin-bottom: 70px;
    border: 2px solid #31112C;
    box-shadow: 0 6px 0 #31112C;
}

.contact-box h2 {
    margin-bottom: 30px;
}

.form-control {
    background-color: #FFFFFF;
    border: 1px solid #31112C;
    color: black;
}

.form-control::placeholder {
    color: #bbb;
}

.btn-dark {
    background-color: #31112C;
    border: none;
}

.btn-dark:hover {
    background-color: black;
}

.contact-info {
    color: black;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    margin-bottom: 3px;
}

.info-box {
    text-align: center;
    /* border: 1px dashed gray; */
    border-radius: 5px;
    padding-top: 25px;
}

.info-box a {
    color: white;
    text-decoration: none;
}

.social-icons img {
    width: 30px;
    margin: 10px;
    /* filter: invert(100%); */
}

.team-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    transition: transform 0.3s;
}
.team-photo img:hover {
    transform: scale(1.1);
}

.bt {
    border-radius: 15px;
}

.borderbottom {
    border-bottom: 1px solid black;
}

@media screen and (max-width: 768px) {
    .container-db {
        grid-template-columns: 1fr !important;
    }
}

.leaderboard-section {
    /* margin-top: 90px; */
    text-align: left;
  }
  
  .leaderboard-section h5 {
    color: white;
    /* font-size: 3.5rem; */
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .leaderboard-section p {
    color: white;
  }
  
  .leaderboard-section .btn {
    background-color: white;
    color: #7D0633;
    border: 1px solid #BFBFBF;
    padding: 9px 30px;
    /* font-size: 17px; */
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 3px 0px #BFBFBF;
  }
  
  .leaderboard-section .btn:hover {
    background-color: #FBDCC4;
    color: black;
    border: 1px solid #F2A07B;
    box-shadow: 0px 3px 0px #F2A07B;
  }
  
  /* Card style for leaderboard */
  .leaderboard-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
    margin-top: 50px;
    margin-bottom: 50px;
    /* border: 2px solid #31112C; */
    border: 2px solid #31112C;
    box-shadow: 0 6px 0 #31112C;
  }
  
  .leaderboard-card .title {
    /* font-size: 1.5rem; */
    font-weight: bold;
    color: #31112C;
    margin-bottom: 20px;
    border-bottom: 2px solid #31112C;
    padding-bottom: 10px;
  }
  
  .leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .leaderboard-list li {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 15px;
    font-weight: 500;
    color: #31112C;
    border-bottom: 1px solid #eee;
    /* transition: none !important; */
}


.leaderboard-list li span.points {
    margin-left: auto; /* Dorong ke kanan */
    white-space: nowrap; /* Biar tidak turun ke bawah */
}

.kekanan {
  margin-left: auto ;
  white-space: nowrap;
}
.username {
  max-width: 200px; /* Atur sesuai kebutuhan */
  overflow: hidden;
  text-overflow: ellipsis;
}

  
  /* Styling poin agar tetap mencolok di dalam tabel */
.leaderboard-card .table td .points {
  font-weight: bold;
  color: #7D0633;
}

/* Highlighting top 3 rows */
.leaderboard-card .table .top1 {
  background: #fff8e1 !important;
  font-weight: bold;
}
.leaderboard-card .table .top2 {
  background: #f1f8ff !important;
  font-weight: bold;
}
.leaderboard-card .table .top3 {
  background: #f3e5f5 !important;
  font-weight: bold;
}

.table-borderless th,
.table-borderless td,
.table-borderless tr {
  border: none !important;
}


  .nilaisaya-section {
    /* margin-top: 20px; */
    text-align: left;
  }
  
  .nilaisaya-section h5 {
    color: white;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .nilaisaya-section p {
    color: black;
    font-weight: bold;
  }
  
  .nilaisaya-section .btn {
    background-color: white;
    color: #7D0633;
    border: 1px solid #BFBFBF;
    padding: 9px 30px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0px 3px 0px #BFBFBF;
  }
  
  .nilaisaya-section .btn:hover {
    background-color: #FBDCC4;
    color: black;
    border: 1px solid #F2A07B;
    box-shadow: 0px 3px 0px #F2A07B;
  }
  
  .nilaisaya-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
    margin-top: 50px;
    /* margin-bottom: 50px; */
    /* border: 2px solid #31112C; */
    border: 2px solid #7D0633;
    box-shadow: 0 6px 0 #7D0633;
  }
  
  .nilaisaya-card .title {
    font-weight: bold;
    color: #31112C;
    margin-bottom: 20px;
    border-bottom: 2px solid #31112C;
    padding-bottom: 10px;
  }

  .nilaisaya-card ol li::marker {
    font-weight: bold;
  }

  .informasihal-card {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 30px;
    /* box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); */
    margin-top: 50px;
    margin-bottom: 50px;
    /* border: 2px solid #31112C; */
    border: 2px solid #7D0633;
    box-shadow: 0 6px 0 #4D0F2C;
  }
  
  .informasihal-card .title {
    font-weight: bold;
    color: #31112C;
    margin-bottom: 20px;
    border-bottom: 2px solid #31112C;
    padding-bottom: 10px;
  }

  .exp-point {
    display: flex; 
    align-items: center; 
    gap: 6px; 
    color: #31112C; 
    font-size: 16px
  }

  .table-pengembang td, th {
      text-align: left;
    }

  .switch-button {
    margin: 4px;
    padding: 8px 16px;
    border: 2px solid #31112C;
    background-color: white;
    color: #31112C;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0px 3px 0px #12050F;
    border-radius: 24px;
  }

  .switch-button:hover {
    background-color: #31112C;
    color: white;
  }

  .active-switch-button {
    display: block;
  }

  .switch-button.active {
    background-color: #31112C;
    color: white;
    font-weight: bold;
    border: 2px solid #31112C;

  }

  .main-content .d-flex.flex-wrap {
      gap: 40px;
    }

  
/* Responsive Styles */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    table {
        font-size: 14px;
    }
    .container-db {
        display: flex;
        flex-direction: column; /* Satu kolom */
        gap: 15px;
        font-size: 14px;
    }

    .container-db2 {
        display: flex;
        flex-direction: column; /* Satu kolom */
        gap: 15px;
        font-size: 14px;
    }
    
    .div-strip, .div-strip2, .progress-container, .main-content, .leaderboard {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .progress-container{
        padding: 10px;
    }

    .main-content {
        padding: 20px;
        font-size: 14px;
    }

    .nilaisaya-card {
      margin-top: 15px;
    }
    
    .progress-image {
        width: 50px;
        height: 50px;
        margin-right:0 ;
    }

    .btn-more {
        padding: 8px 16px;
        font-size: 14px;
    }

    .exp-point {
        font-size: 14px;
    }

    .main-content .d-flex.flex-wrap {
      gap: 2px;
    }

    .leaderboard {
      margin-top: 15px;
    }
    
    .leaderboard-card {
        padding: 20px;
        margin-top: 15px;
        margin-bottom: 30px;
      }
    
      .leaderboard-section h5 {
        /* font-size: 1.5rem; */
        text-align: left;
      }
    
      .leaderboard-section .btn {
        padding: 8px 20px;
        font-size: 14px;
        display: block;
        margin: 0 auto;
      }
    
      .leaderboard-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        /* font-size: 0.95rem; */
      }
    
      .leaderboard-list li:hover {
        padding: 12px;
      }
    
      .leaderboard-list .points {
        align-self: flex-end;
      }
}