/* ===============================
   General Body & Font
   =============================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ===============================
   Navbar - Modern Sticky & Eye-catching
   =============================== */
.navbar {
    background: linear-gradient(135deg, #004080, #00a6a6); /* gradient tombol */
    border-bottom: 3px solid #00796b; /* garis pemisah lebih tegas */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* lebih terlihat */
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar a {
    color: #ffffff; /* putih agar kontras dengan gradient */
    font-weight: 600;
    padding: 10px 15px;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}
.navbar a:hover {
    color: #ffeb3b; /* warna kuning lembut saat hover */
}

/* ===============================
   Search Bar - Eye-catching
   =============================== */
.search-bar {
    border: 2px solid #004080; /* garis lebih tegas */
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    max-width: 300px;
    margin: 10px auto;
    background: #f0f8ff; /* soft blue sesuai tema */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}
.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    background: transparent;
    color: #004080;
}
.search-bar input::placeholder {
    color: #00796b;
}


/* ===============================
   Floating Menu
   =============================== */
.floating-menu {
    position: fixed;
    top: 50%;
    right: 20px;
    background: #009688;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 1000;
    transform: translateY(-50%);
}
.floating-menu a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}
.floating-menu a:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ===============================
   Sidebar Buttons
   =============================== */
.sidebar-buttons {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 20px;
    top: 40%;
    gap: 15px;
    z-index: 1000;
}
.sidebar-buttons a {
    background: linear-gradient(135deg, #009688, #00796b);
    color: white;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.sidebar-buttons a:hover {
    transform: translateY(-3px);
    background: #00796b;
}

/* ===============================
   Main Content Block
   =============================== */
.pkp_structure_main .pkp_block {
    padding: 30px;
    background-color: #ffffff; /* soft blue selaras tombol */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.pkp_structure_main .pkp_block h1,
.pkp_structure_main .pkp_block h2,
.pkp_structure_main .pkp_block h3 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #004080; /* tombol dark tone */
}

/* ===============================
   Custom Buttons for Static Pages
   =============================== */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto;
    max-width: 900px;
}
.button-grid .custom-button {
    flex: 1 1 calc(50% - 20px);
    text-align: center;
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #004080, #00a6a6);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    margin: 10px 0;
}
.button-grid .custom-button:hover {
    background: linear-gradient(135deg, #00a6a6, #3ddc84);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
}

/* ===============================
   Table Styling - Sesuai Tema Tombol
   =============================== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background: linear-gradient(135deg, #004080, #00a6a6);
    color: white;
    font-weight: 600;
}
tr:nth-child(even) {
    background-color: #f0f8ff;
}
tr:nth-child(odd) {
    background-color: #ffffff;
}
tr:hover {
    background-color: #d0f0f5;
}

/* ===============================
   Footer
   =============================== */
.footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
    border-top: 3px solid #009688;
}

/* ===============================
   Hide PKP/OJS Branding
   =============================== */
.pkp_branding {
    display: none;
}



/* ===============================
   Smooth Scrolling
   =============================== */
html {
    scroll-behavior: smooth;
}

/* ===============================
   Responsive Design
   =============================== */
@media (max-width: 768px) {
    .navbar {
        text-align: center;
        flex-direction: column;
        position: relative;
    }
    .floating-menu, .sidebar-buttons {
        display: none;
    }
    table {
        font-size: 14px;
    }
}
@media (max-width: 600px) {
    .button-grid .custom-button {
        flex: 1 1 100%;
    }
    .pkp_structure_main .pkp_block {
        padding: 20px;
    }
}

