/* Menggunakan gambar sebagai background dengan URL */
body {
    background-image: url('https://i.pinimg.com/1200x/2f/a4/ce/2fa4ce4176e1ebbc25f052475c0c5534.jpg');
    background-size: 100vw 100vh; /* Gambar selalu pas dengan layar */
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-y: auto; 
    min-height: 100vh;
}


.schedule-container {
    background: rgba(255, 0, 0, 0.6); /* Efek transparan agar teks tetap terbaca */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px); /* Efek blur untuk tampilan modern */
}

/* Membuat teks lebih terlihat dengan shadow */
.header-title {
    text-shadow: 3px 3px 8px rgb(245, 245, 245);
}

/* Header dalam section schedule */
.header-title {
    text-align: center; /* Pastikan teks berada di tengah */
    font-size: 26px;
    font-weight: bold;
    padding: 15px;
    margin: 90px auto 20px; /* Menambahkan margin-top 50px untuk menurunkan judul */
    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; /* Memastikan lebar sesuai dengan konten */
}


/* Perbaikan Struktur dan Efek Transparansi pada Menu */
.menu {
    background: rgba(255, 2, 2, 0.7); /* Transparansi menu */
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px); /* Efek blur untuk tampilan lebih modern */
    border-radius: 10px; /* Membuat menu lebih lembut */
}

/* Agar teks menu tetap terbaca */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Pusatkan menu */
}

.menu ul li {
    margin: 0 20px;
}

.menu ul li.nav-items {
    margin-left: auto;
}

/* Shadow box pada menu */
.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); /* Shadow box untuk efek 3D */
}

.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); /* Efek shadow lebih terang saat hover */
}

/* Header lebih kecil */
header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Bayangan teks untuk judul header */
.header-title {
    text-shadow: 3px 3px 8px rgba(255, 255, 255, 0.6);
}

/* Gaya section jadwal */
.schedule-container {
    padding: 20px;
    background: rgba(0, 0, 0, 0.144);
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    color: rgb(255, 255, 255);
}

/* Warna header tabel */
th {
    background-color: rgba(255, 215, 0, 0.8);
    color: black;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #000000;
}

/* Warna cell tabel */
td {
    padding: 5px;
    text-align: center;
    border-bottom: 2px solid rgb(255, 153, 0);
}

/* Efek Hover */
tr:hover {
    background-color: rgba(255, 255, 255, 0.411);
    transition: 0.3s;
}

/* Efek transparansi pada jobdesk */
.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);
}

/* Responsif */
@media screen and (max-width: 600px) {
    th, td {
        font-size: 14px;
    }

    .menu ul {
        flex-direction: column;
        text-align: center;
    }
}

.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;
}	

/* Animasi Karakter Anime Seksi */
.anime-dancer {
    position: fixed;
    bottom: 0px; /* Menempel ke bawah */
    left: 0px; /* Menempel ke kiri */
    width: 400px; /* Lebih besar */
    height: auto;
    z-index: 1000; /* Tetap di atas elemen lain */
    pointer-events: none; /* Agar tidak mengganggu interaksi pengguna */
    animation: goyang 2.5s infinite alternate ease-in-out;
}

/* Efek Goyang Lebih Dramatis */
@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);
    }
}


/* Form Input */
.form-container {
    text-align: center;
    margin-bottom: 20px;
}

.form-container input {
    padding: 10px;
    margin: 5px;
    width: 200px;
    border: none;
    border-radius: 5px;
}

.form-container button {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.form-container button:hover {
    background: #218838;
}

/* Tombol Aksi */
button {
    padding: 8px 12px;
    margin: 3px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    opacity: 0.8;
}

button[onclick^="editData"] {
    background: #ffc107;
    color: black;
}

button[onclick^="hapusData"] {
    background: #dc3545;
    color: white;
}

/* Styling untuk Judul Halaman Admin Offday */
.title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    padding: 10px 15px;
    margin: 120px auto 20px; /* Memastikan judul berada di tengah */
    width: fit-content;
    background: linear-gradient(90deg, #ffcc00, #ff6666);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.3s ease-in-out;
    animation: fadeIn 1s ease-in-out;
}

/* Efek hover agar lebih interaktif */
.title:hover {
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(255, 255, 255, 0.5);
}

/* Animasi masuk */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styling khusus untuk DASHBOARD ADMIN */
.dashboard-link {
    background: linear-gradient(45deg, #ff0000, #ff8000);
    color: white !important;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(255, 69, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.dashboard-link:hover {
    background: linear-gradient(45deg, #a200ff, #ff0000);
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(255, 69, 0, 0.7);
}

/* Styling khusus untuk LOGOUT */
.logout-link {
    background: linear-gradient(45deg, #ff4141, #c40000);
    color: white !important;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 10px;
    text-transform: uppercase;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s;
}

.logout-link:hover {
    background: linear-gradient(45deg, #c40000, #ff4141);
    transform: scale(1.05);
    box-shadow: 0 7px 20px rgba(255, 0, 0, 0.7);
}


#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);
}

#sidebarContent table {
    border-collapse: collapse;
    width: 100%;
    color: black;
    background-color: white;
    font-weight: bold;
}

#sidebarContent th, #sidebarContent td {
    border: 1px solid #999;
    padding: 8px;
    text-align: center;
}

#sidebarContent td {
    color: black;
}

#sidebarContent {
    box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.vertikal-rincian {
    writing-mode: unset !important;
    transform: unset !important;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    font-size: 16px;
    background-color: #ff9800;
    color: white;
    padding: 15px 10px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.4);
    border: none;
}

/* ANIMASI BORDER CAHAYA HIDUP */
.vertikal-rincian {
    position: relative;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    background-color: #ff9800;
    color: white;
    padding: 15px 10px;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.7);
    border: 2px solid transparent;
    overflow: hidden;
    z-index: 1;
}

.vertikal-rincian::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #0004ff, #ff0000, #000000, #ff8800);
    background-size: 400%;
    z-index: -1;
    filter: blur(4px);
    animation: glowBorder 4s linear infinite;
    border-radius: 12px;
}

@keyframes glowBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
