/* Reset dasar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
    list-style-position: inside;
    margin-bottom: 5px;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 5pt;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1d1d1f;
  background-image: url('bg1.jpg');
  background-size: cover;
  background-repeat: no-repeat; 
  background-position: center; 
}

.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px); /* kurangi tinggi navbar jika perlu */
  padding: 2rem;
  border: 1px solid #ddd;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);      
  -webkit-backdrop-filter: blur(10px);
}

.container {
  min-height: 88vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: transparent;
}

.container h2 {
    margin-bottom: 20px;
    font-weight: 400;
    text-align: center;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 10px;
    width: 100%;
}

footer {
  text-align: center;
  font-size: 13px;
  color: #6e6e73;
}

.kaki {
    background-color: #dddddd;
    color: #6e6e73;
    min-height: 7vh;
    display: flex;
    align-items: center;
    padding-left: 3vh;
}

.bantuan {
    display: flex;
    align-items: center;
    padding-top: 3vh;
    margin-top: 50px;
    margin-bottom: -3rem;
    font-size: 10pt;
}

.petunjuk {
    margin-bottom: 20px;
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 5px;
    background-color: #f9f5de;
    font-size: 10pt;
    width: -webkit-fill-available;
}

.perintah-title {
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
}

.perintah {
    border: 1px solid #bbb;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
    background-color: #ffffff70;
}

.perintah a {
    text-decoration: none;
    color: #000;
}

.perintah a:hover {
    color: #3787ff;
}

/* NAVBAR */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffffcc;
  backdrop-filter: blur(10px);
  padding: 0.75rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-left, .nav-center, .nav-right {
  display: flex;
  align-items: center;
}

.nav-left img {
  height: 28px;
  margin-right: 1rem;
}

.nav-left h1 {
    font-size: 0.95rem;
    color: #0071e3;
    border-right: 1px solid #bbb;
    padding-right: 20px;
}

.nav-left a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-center {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
}

.nav-right a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #1d1d1f;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-right a:hover {
  color: #0071e3;
}

/* Konten utama dashboard */
main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  .nav-center {
    font-size: 0.9rem;
  }

  .nav-right a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
}

/* Tombol Bawah */

.btn-container {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #bbb;
    width: 100%;
    display: flex;
    justify-content: center;
}

button {
    width: auto;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
  }

.btnPrev {
  display: flex;
  align-items: center;
  background-color: #ffd3d3;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnPrev:hover {
  display: flex;
  align-items: center;
  background-color: #ff7575;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnHome {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnHome:hover {
  display: flex;
  align-items: center;
  background-color: #000000;
  color: #fff;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnCall {
  display: flex;
  align-items: center;
  background-color: #9de794;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnCall:hover {
  display: flex;
  align-items: center;
  background-color: #209e2e;
  color: #000000;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnNext {
  display: flex;
  align-items: center;
  background-color: #e5ffe6;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

.btnNext:hover {
  display: flex;
  align-items: center;
  background-color: #9effa1;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12pt;
}

/* VIDEO */

video {
  -webkit-user-drag: none;
  user-select: none;
}

/* SELIMUT */
#selimut {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 1.2rem;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* Berapa orang online? */
.online-counter {
  margin-left: 20px;
  margin-right: 5px;
  border-right: 1px solid #b7b7b7;
  border-left: 1px solid #b7b7b7;
  font-size: 0.9rem;
  color: #30700c;
  font-weight: 500;
  padding-right: 10px;
  padding-left: 10px;
}