.page-id-1421 header {
    display: none;
}
#ast-scroll-top {
    display: none !important;
}
body {
    background-color: #0f172a !important;
    color: #f1f5f9;
    margin: 0;
    padding-top: 50px;
    padding-bottom: 20px;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
        sans-serif;
    overflow: hidden; /* Tambahkan ini agar tidak ada scroll global */
}

* {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 dan Edge */
    user-select: none; /* Standar (Chrome, Firefox, Opera) */
}

.container0 {
    position: fixed;
    top: 6.5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: calc(100% - 40px);
    max-width: 400px;
    height: 11vmin;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    align-items: center;
    background-color: #77c9f8 !important;
    color: #0f172a;
    display: flex;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.container0 h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-back {
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.btn-back:hover {
    transform: translateX(-3px);
}

.bookmark-table-wrapper {
    position: fixed;
    top: calc(6.5vh + 11vmin);
    bottom: 10vh; /* Sesuaikan dengan tinggi bottom nav */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    background-color: #1e293b;
    border-radius: 0 0 15px 15px;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    border: 2px solid white;
    border-top: none;
    scrollbar-width: thin;
    scrollbar-color: #65799c transparent;
    z-index: 5;
}

.bookmark-table-wrapper::-webkit-scrollbar {
    width: 4px;
}

.bookmark-table-wrapper::-webkit-scrollbar-thumb {
    background: #65799c;
    border-radius: 10px;
}

.bookmark-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.bookmark-table th,
.bookmark-table td {
    padding: 15px 20px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bookmark-table thead tr {
    background-color: #0f172a;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.bookmark-table tbody tr:nth-child(odd) {
    background-color: #334155;
}

.bookmark-table tbody tr:nth-child(even) {
    background-color: #65799c;
    color: #0f172a;
}

.bookmark-table tbody tr:nth-child(even) .col-phonetic,
.bookmark-table tbody tr:nth-child(even) .col-meaning {
    color: #1e293b;
}

.bookmark-table tbody tr:hover {
    background-color: #475569;
    color: #f1f5f9;
}

.bookmark-table tbody tr:hover .col-phonetic,
.bookmark-table tbody tr:hover .col-meaning {
    color: #e2e8f0;
}

.col-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.col-phonetic {
    color: #94a3b8;
    font-style: italic;
}

.col-meaning {
    color: #cbd5e1;
}

@media (max-width: 600px) {
    .bookmark-table th,
    .bookmark-table td {
        padding: 10px 12px;
    }
}

/* --- BoxP Button for Flashcard Redirect --- */
.boxP {
    width: 8vmin;
    height: 8vmin;
    border: 2px solid white;
    border-radius: 50%;
    background-color: #20263b;
    color: white;
    font-size: 3vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.boxP:hover {
    background-color: #313a56;
}

.boxP:active {
    transform: scale(0.95);
}
