/* =======================
   Reset & Base Style
   ======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100%;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #FFFFF; /* very soft green background */
  color: #000; /* krem/off-white text utama */
}

a {
  color: #2F4F4F; /* hijau soft untuk link */
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #A7C4A0;
}

/* =======================
   Header
   ======================= */
.pkp_structure_head {
  background-color: #2F4F4F !important; /* hijau tua klasik */
  padding: 15px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.pkp_site_name, .pkp_site_name a {
  color: #F5F5DC !important;
  font-weight: bold;
  font-size: 1.5rem;
}

/* =======================
   Primary Navigation
   ======================= */
.pkp_navigation_primary_row {
  background: #3C6E47;
  display: flex;
  justify-content: center;
}

.pkp_navigation_primary_row a {
  color: #F5F5DC;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 6px;
  transition: all 0.3s;
}

.pkp_navigation_primary_row a:hover {
  background-color: #1F3B27; /* hijau gelap */
}

/* =======================
   Sidebar Advanced
   ======================= */
.pkp_structure_sidebar {
  width: 250px;
  transition: width 0.3s ease;
}

.pkp_structure_sidebar.collapsed {
  width: 70px;
}

.pkp_structure_sidebar .pkp_block {
  margin-bottom: 15px !important;
  border-radius: 8px;
  overflow: hidden;
  background: #3C6E47; /* hijau medium dark */
  border: 1px solid #2F4F4F;
}

.pkp_structure_sidebar .pkp_block .title {
  background: linear-gradient(135deg, #2F4F4F, #3C6E47);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 15px;
  border-bottom: 1px solid #1F3B27;
}

.pkp_structure_sidebar .pkp_block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pkp_structure_sidebar .pkp_block ul li a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  border-top: 1px solid #2F4F4F;
  background: #A7C4A0;
  transition: 0.3s;
}

.pkp_structure_sidebar .pkp_block ul li a:hover {
  background: #1F3B27;
  color: #F5F5DC;
}

/* =======================
   Sidebar Toggle Button
   ======================= */
.sidebar-toggle-btn {
  background: #2F4F4F;
  color: #F5F5DC;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: bold;
  transition: background 0.3s;
}

.sidebar-toggle-btn:hover {
  background: #1F3B27;
}
/* Styling khusus untuk judul custom sidebar */
.sidemenu-title {
  background: #2F4F4F;        /* hijau tua old money */
  color: #ffffff !important;             /* teks putih */
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 1px;
}

/* Link khusus di dalam custom-sidebar */
.custom-sidebar a {
  color: #ffffff;             /* jadi putih */
  text-decoration: none;      /* hilangkan underline kalau mau */
  transition: 0.3s;
}

.custom-sidebar a:hover {
  color: #A7C4A0;             /* warna hover, opsional hijau pastel */
  text-decoration: underline; /* kasih underline saat hover */
}


.pkp_structure_sidebar .pkp_block .title {
  font-family: Sunflower, helvetica, calibri;
  color: #333;
}

/* =======================
   Submit Button
   ======================= */
.submit-container {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.submit-btn {
  background: #345C2D; /* hijau emerald gelap */
  color: #F5F5DC;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  border-radius: 25px;
  padding: 10px 30px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #1F3B27; /* hijau gelap */
}

/* =======================
   Footer
   ======================= */
.pkp_structure_footer .pkp_footer_content {
  background: #2F4F4F;
  color: #F5F5DC;
  text-align: center;
  padding: 20px 0;
  font-family: "Poppins", sans-serif;
}

.pkp_structure_footer .pkp_footer_content a {
  color: #A7C4A0;
}

.pkp_structure_footer .pkp_footer_content a:hover {
  color: #F5F5DC;
}

/* Hide Powered by OJS */
.pkp_structure_footer .pkp_powered_by {
  display: none !important;
}

/* =======================
   Responsive Layout
   ======================= */
@media (max-width: 1200px) {
  .pkp_structure_page {
    width: 95%;
  }
}

@media (max-width: 992px) {
  .pkp_structure_sidebar {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .pkp_structure_sidebar {
    width: 70px;
  }

  .pkp_navigation_primary_row {
    flex-direction: column;
  }

  .article .obj_article_summary, .card {
    padding: 15px;
  }
}
