/* ========================
OFFDAY.CSS FINAL (DIPERBAIKI)
======================== */

/* --- Background --- */
body {
  background-image: url('https://mariterbang.io/download/NiTCMQJL.jpg');
  background-size: 100vw 100vh;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

/* --- Schedule Container --- */
.schedule-container {
  background: rgba(255, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

/* --- Header Title --- */
.header-title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  padding: 15px;
  margin: 90px auto 20px;
  color: rgb(255, 255, 255);
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  border-radius: 10px 10px 0 0;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 8px rgb(0, 0, 0);
  width: fit-content;
}

/* --- Menu --- */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(34, 34, 34, 0.7);
  padding: 15px 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 0 0 10px 10px;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu ul li {
  margin: 0 20px;
}

.menu ul li.nav-items {
  margin-left: auto;
}

.nav-link.shadow-box {
  text-decoration: none;
  color: rgb(209, 0, 0);
  font-size: 18px;
  padding: 12px 20px;
  transition: 0.3s;
  border-radius: 5px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  box-shadow: 3px 3px 10px rgba(255, 255, 255, 0.3);
}

.nav-link.shadow-box:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-shadow: 3px 3px 7px rgba(255, 255, 255, 0.6);
  box-shadow: 4px 4px 12px rgb(224, 0, 0);
}

/* --- Table --- */
table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  color: rgb(255, 255, 255);
}

th {
  background-color: rgba(255, 215, 0, 0.8);
  color: black;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  border-bottom: 3px solid #000000;
}

td {
  padding: 5px;
  text-align: center;
  border-bottom: 2px solid rgb(255, 153, 0);
}

/* Hover effect */
tr:hover {
  background-color: rgba(255, 255, 255, 0.411);
  transition: 0.3s;
}

/* Jobdesk Styles */
.jobdesk {
  font-weight: bold;
  color: rgb(255, 255, 255);
  padding: 10px;
  border-radius: 5px;
}

.jobdesk.livechat { background-color: rgba(50, 205, 50, 0.8); }
.jobdesk.withdraw { background-color: rgba(255, 69, 0, 0.8); }
.jobdesk.deposit { background-color: rgba(30, 144, 255, 0.8); }

/* --- Responsive --- */
@media screen and (max-width: 600px) {
  th, td { font-size: 14px; }
  .menu ul { flex-direction: column; text-align: center; }
}

/* --- Sidebar Rincian --- */
#sidebar-rincian { position: fixed; top: 50%; left: 0; transform: translateY(-50%); z-index: 999; }

#toggleSidebar {
  writing-mode: unset;
  transform: rotate(180deg);
  background-color: #ff9800;
  color: white;
  padding: 20px 15px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
  border: none;
}

#sidebarContent {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

/* --- Animasi Anime --- */
.anime-dancer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 400px;
  height: auto;
  z-index: 1000;
  pointer-events: none;
  animation: goyang 2.5s infinite alternate ease-in-out;
}

@keyframes goyang {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  50% { transform: translateY(-20px) rotate(3deg) scale(1.05); }
  100% { transform: translateY(0px) rotate(-3deg) scale(1); }
}
