/*
  Modern frontend refresh for PPM Jogja.
  Loaded after the legacy W3Layouts stylesheet so backend behavior stays intact.
*/
:root {
  --ppm-ink: #14213d;
  --ppm-muted: #64748b;
  --ppm-line: #e5edf3;
  --ppm-surface: #ffffff;
  --ppm-soft: #f6faf8;
  --ppm-primary: #0f9f7a;
  --ppm-primary-dark: #08745f;
  --ppm-accent: #f5b84b;
  --ppm-shadow: 0 18px 50px rgba(15, 35, 54, 0.14);
}

html {
  scroll-behavior: smooth;
}

body.modern-site {
  background: #f8fbfa;
  color: var(--ppm-ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.7;
}

body.modern-site a,
body.modern-site button {
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.modern-site img {
  max-width: 100%;
  height: auto;
}

.wrapper {
  padding-top: 76px;
  overflow: hidden;
}

.agileits_w3layouts_banner_nav.modern-navbar {
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 237, 243, 0.9);
  box-shadow: 0 10px 34px rgba(20, 33, 61, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0 32px;
}

.agileits_w3layouts_banner_nav.modern-navbar.is-scrolled {
  box-shadow: 0 14px 38px rgba(20, 33, 61, 0.14);
}

.modern-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 !important;
}

.navbar-header {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-header h1 {
  margin: 0;
}

a.navbar-brand {
  display: flex;
  align-items: center;
  height: 56px;
  line-height: 1;
}

a.navbar-brand img {
  width: auto;
  height: 54px;
  object-fit: contain;
}

.navbar-collapse {
  flex: 1;
  float: none;
  order: 2;
}

.navbar-right {
  margin-right: 0;
}

ul.nav.navbar-nav {
  margin-top: 0;
}

.navbar-default .navbar-nav > li > a {
  color: var(--ppm-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 3px;
  padding: 12px 11px;
  border-radius: 999px;
  text-transform: none;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background: rgba(15, 159, 122, 0.09);
  color: var(--ppm-primary-dark);
}

.hvr-underline-from-center:before {
  display: none;
}

ul.agile_forms {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  float: none;
  margin: 0;
}

ul.agile_forms li {
  display: block;
}

ul.agile_forms li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  background: var(--ppm-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 10px 16px;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(15, 159, 122, 0.24);
}

ul.agile_forms li a:hover,
ul.agile_forms li a:focus {
  background: var(--ppm-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.navbar-default .navbar-toggle {
  border: 1px solid var(--ppm-line);
  background: #fff;
  border-radius: 8px;
  margin: 8px 0 0;
}

.navbar-default .navbar-toggle .icon-bar {
  background: var(--ppm-ink);
}

.banner {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-position: center;
  isolation: isolate;
  padding: 80px 20px 70px;
}

.banner:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(112deg, rgba(8, 36, 33, 0.78), rgba(20, 33, 61, 0.46) 48%, rgba(15, 159, 122, 0.32));
}

.banner:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 140px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248, 251, 250, 0), #f8fbfa);
}

.modern-hero-panel {
  width: min(1040px, 100%);
  margin: 0 auto;
  text-align: left;
}

.banner h3,
.banner h2,
.banner p {
  text-align: left;
}

.banner h3 {
  display: inline-flex;
  align-items: center;
  color: #d9fff2;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 9px 14px;
  text-transform: none;
}

.banner h2 {
  max-width: 820px;
  color: #fff;
  font-size: 64px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 26px 0 18px;
  text-transform: none;
}

.banner h2 span {
  display: block;
  color: #fff;
}

.banner p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1.7;
}

.banner h4 {
  width: auto;
  display: inline-flex;
  margin: 32px 0 0;
  border: 0;
  font-size: 16px;
  line-height: 1;
  text-transform: none;
}

.banner h4 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: var(--ppm-ink);
  background: var(--ppm-accent);
  border-radius: 999px;
  font-weight: 800;
  padding: 0 24px;
  box-shadow: 0 14px 30px rgba(245, 184, 75, 0.28);
}

.banner h4 a:hover {
  color: var(--ppm-ink);
  background: #ffd36f;
  transform: translateY(-2px);
}

.banner h4 span {
  display: none;
}

.about,
.w3-edu-main,
.gallery,
.news,
.team,
.w3-services {
  padding: 80px 0;
}

.about {
  background: #f8fbfa;
}

.w3-about-head h3,
.w3ls-heading h3,
.w3-edu-head h3,
.title-w3,
.heading h3,
.gallery-w3-head h4,
.w3-services-head h3 {
  color: var(--ppm-ink);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 22px;
  text-transform: none;
}

.w3-about-head h3:after,
.w3ls-heading h3:after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: var(--ppm-primary);
}

.w3-agileitsline h3 {
  max-width: 920px;
  width: 100%;
  color: var(--ppm-ink);
  font-size: 24px;
  line-height: 1.55;
  font-weight: 700;
}

.w3-agileitsline h3 span {
  color: var(--ppm-primary);
}

.w3-agileitsline p {
  max-width: 760px;
  color: var(--ppm-muted);
  font-size: 16px;
  line-height: 1.9;
  margin: 18px auto 38px;
}

.modern-section-action {
  text-align: center;
  margin-top: 18px;
}

.banner-bottom {
  display: flex;
  gap: 22px;
  margin: 28px 0 22px;
}

.agileits_banner_bottom_left,
.agileits_banner_bottom_left1,
.agileits_banner_bottom_left2 {
  flex: 1;
  min-height: 300px;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ppm-shadow);
}

.agileits_banner_bottom_left {
  background-image: url("../images/potoumum.jpg") !important;
}

.agileits_banner_bottom_left1 {
  background-image: url("../images/wisuda.jpeg") !important;
}

.agileits_banner_bottom_left2 {
  background-image: url("../images/paradise.JPG") !important;
}

.agileinfo_banner_bottom_pos {
  background: linear-gradient(180deg, rgba(8, 36, 33, 0.34), rgba(8, 36, 33, 0.82));
}

.w3_agileits_banner_bottom_pos_grid {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px;
  text-align: left;
}

.wthree_banner_bottom_grid_left {
  float: none;
}

.agile_banner_bottom_grid_left_grid {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.agile_banner_bottom_grid_left_grid i {
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.wthree_banner_bottom_grid_right {
  float: none;
}

.wthree_banner_bottom_grid_right h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin: 18px 0 10px;
  text-transform: none;
}

.wthree_banner_bottom_grid_right p {
  color: rgba(255, 255, 255, 0.84);
  letter-spacing: 0;
  line-height: 1.7;
}

.btn-success,
.tp a,
.login-form input[type="submit"],
input[type="submit"] {
  background: var(--ppm-primary) !important;
  border-color: var(--ppm-primary) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(15, 159, 122, 0.22);
}

.btn-success:hover,
.tp a:hover,
.login-form input[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--ppm-primary-dark) !important;
  border-color: var(--ppm-primary-dark) !important;
  transform: translateY(-1px);
}

.count-agileits {
  background-position: center;
  position: relative;
}

.count-bgcolor-w3ls {
  padding: 54px 0;
  background: linear-gradient(105deg, rgba(15, 159, 122, 0.95), rgba(20, 33, 61, 0.92));
}

.count-grid {
  padding: 20px;
}

.count-grid i {
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding-top: 17px;
}

.numscroller {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.count-grid h5 {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.count-grid span {
  width: 44px;
  background: var(--ppm-accent);
}

#quote-carousel {
  margin-top: 24px;
}

.modern-testimonials {
  padding: 76px 15px 88px;
}

.item blockquote {
  background: var(--ppm-surface);
  border: 1px solid var(--ppm-line);
  border-radius: 8px;
  box-shadow: var(--ppm-shadow);
  padding: 32px;
}

.item blockquote p {
  color: var(--ppm-ink);
  font-size: 17px;
  line-height: 1.8;
}

.item blockquote small {
  color: var(--ppm-primary-dark);
  font-weight: 800;
  margin-top: 10px;
}

#quote-carousel .carousel-control {
  color: var(--ppm-primary);
  opacity: 1;
  width: 34px;
}

.footer-top {
  background: #101827;
  padding: 70px 0;
}

.footer-top h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 18px;
  text-transform: none;
}

.footer-top p,
.footer-top a {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0;
}

.footer-top a:hover {
  color: #fff;
}

.contact-btm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 10px 0;
}

.contact-btm i,
.contact-btm span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(15, 159, 122, 0.22);
  border-radius: 8px;
}

.w3ls-social-icons i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.w3ls-social-icons i:hover {
  background: var(--ppm-primary);
  border-color: var(--ppm-primary);
}

.copy-right {
  background: #0b1220;
  padding: 18px 10px;
}

.copy-right p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  letter-spacing: 0;
}

.modal-content {
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--ppm-shadow);
}

.modal-header {
  border-bottom-color: var(--ppm-line);
}

.munaqosyah-form-page {
  border: 0;
  background: transparent;
  padding: 42px 18px 70px;
}

.munaqosyah-form-card {
  float: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ppm-line);
  border-radius: 8px;
  box-shadow: var(--ppm-shadow);
  text-align: left;
}

.munaqosyah-form-card h3.agileinfo_sign {
  margin: 0 0 24px;
  color: var(--ppm-primary);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.munaqosyah-input-form {
  margin: 0;
}

.munaqosyah-input-form form {
  display: grid;
  gap: 14px;
}

.munaqosyah-input-label {
  margin: 2px 0 -4px;
  color: var(--ppm-muted);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.munaqosyah-input-form input[type="text"],
.munaqosyah-input-form select,
.munaqosyah-input-form textarea {
  width: 100%;
  margin: 0;
  padding: 13px 15px;
  color: var(--ppm-ink);
  background: #fff;
  border: 1px solid #d8e3ea;
  border-radius: 8px;
  box-shadow: none;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.munaqosyah-input-form input[type="text"]:focus,
.munaqosyah-input-form select:focus,
.munaqosyah-input-form textarea:focus {
  border-color: var(--ppm-primary);
  box-shadow: 0 0 0 3px rgba(15, 159, 122, 0.14);
}

.munaqosyah-input-form input[disabled] {
  color: var(--ppm-muted);
  background: #f6faf8;
}

.munaqosyah-input-form textarea {
  min-height: 140px;
  resize: vertical;
}

.munaqosyah-input-form .tp {
  margin-top: 6px;
}

.munaqosyah-input-form input[type="submit"] {
  min-height: 50px;
  margin: 0;
  border-radius: 999px !important;
  font-size: 14px;
}

@media (max-width: 767px) {
  .munaqosyah-form-page {
    padding: 28px 12px 52px;
  }

  .munaqosyah-form-card {
    padding: 22px 16px;
  }
}

.w3-sidebar {
  width: 280px;
  background: #fff;
  border-left: 1px solid var(--ppm-line);
  box-shadow: -20px 0 45px rgba(20, 33, 61, 0.14);
}

@media (min-width: 992px) {
  .modern-nav-inner .navbar-collapse {
    display: flex !important;
    justify-content: center;
    padding-left: 0px;
    padding-right: 26px;
  }

  .modern-nav-inner ul.nav.navbar-nav {
    float: none;
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .agileits_w3layouts_banner_nav.modern-navbar {
    padding: 0 18px;
  }

  .wrapper {
    padding-top: 76px;
  }

  .modern-nav-inner {
    display: block;
    min-height: 76px;
    padding: 8px 0 !important;
  }

  .navbar-header {
    justify-content: space-between;
    width: 100%;
  }

  .navbar-collapse {
    float: none;
    margin-top: 12px;
  }

  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    position: static;
    width: 100%;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .navbar-default .navbar-nav > li > a {
    margin: 2px 0;
    padding: 11px 12px;
  }

  ul.agile_forms {
    float: right;
    margin-top: 7px;
  }

  .banner {
    min-height: 590px;
  }

  .banner h2 {
    font-size: 48px;
  }

  .banner-bottom {
    display: block;
  }

  .agileits_banner_bottom_left,
  .agileits_banner_bottom_left1,
  .agileits_banner_bottom_left2 {
    margin-bottom: 18px;
  }
}

@media (max-width: 767px) {
  .wrapper {
    padding-top: 70px;
  }

  a.navbar-brand {
    height: 50px;
  }

  a.navbar-brand img {
    height: 48px;
  }

  ul.agile_forms {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 10px 0 0;
  }

  ul.agile_forms li a {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 12px;
  }

  .banner {
    min-height: 540px;
    padding: 56px 18px 58px;
  }

  .banner h3 {
    font-size: 12px;
  }

  .banner h2 {
    font-size: 38px;
    line-height: 1.12;
  }

  .banner p {
    font-size: 16px;
  }

  .about,
  .w3-edu-main,
  .gallery,
  .news,
  .team,
  .w3-services {
    padding: 58px 0;
  }

  .w3-about-head h3,
  .w3ls-heading h3,
  .w3-edu-head h3,
  .title-w3,
  .heading h3,
  .gallery-w3-head h4,
  .w3-services-head h3 {
    font-size: 30px;
  }

  .w3-agileitsline h3 {
    font-size: 20px;
  }

  .item blockquote {
    padding: 24px 20px;
  }

  #quote-carousel .carousel-control.left {
    left: -4px;
  }

  #quote-carousel .carousel-control.right {
    right: -4px !important;
  }
}

/* Keep the home hero image controlled from this modern override file. */
body.modern-site .banner {
  background-image: url("../images/potoumum.jpg") !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN NILAI MUNAQOSYAH (Munaqosyah Datatable Styling) ---
   ========================================================================== */
.munaqosyah-table-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin: 24px 0 22px;
}

.munaqosyah-table-length {
    justify-self: start;
}

.munaqosyah-table-search {
    justify-self: center;
    width: 100%;
    max-width: 350px;
}

.munaqosyah-table-length label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #14213d;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.munaqosyah-table-search label.search-input-wrap {
    position: relative;
    display: block;
    margin: 0;
    font-size: 0;
    color: transparent;
}

.munaqosyah-table-search label.search-input-wrap:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 20px;
    color: #a0a0a0;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.munaqosyah-table-length select,
.munaqosyah-table-search input {
    height: 40px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    color: #14213d;
    box-shadow: none;
}

.munaqosyah-table-search input {
    width: 100%;
    min-width: 250px;
    padding: 10px 40px !important;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fafafa;
    text-align: center;
}

.munaqosyah-table-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    justify-self: end;
    margin: 0;
}

.munaqosyah-table-actions .dt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.munaqosyah-table-actions .dt-button {
    border: 0;
    border-radius: 999px;
    background: #0f9f7a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 15px;
    box-shadow: 0 10px 24px rgba(15, 159, 122, 0.22);
}

.munaqosyah-btn-download {
    min-width: 52px;
    padding: 9px 12px !important;
    font-size: 14px !important;
}

.munaqosyah-table-actions .dt-button:hover,
.munaqosyah-table-actions .dt-button:focus {
    background: #08745f;
    color: #fff;
}

.munaqosyah-btn-add,
.munaqosyah-btn-add:hover,
.munaqosyah-btn-add:focus,
.munaqosyah-btn-add:active,
.munaqosyah-btn-add.active,
.munaqosyah-btn-download,
.munaqosyah-btn-download:hover,
.munaqosyah-btn-download:focus,
.munaqosyah-btn-download:active,
.munaqosyah-btn-download.active {
    background: #0f9f7a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(15, 159, 122, 0.22) !important;
    outline: none !important;
}

.munaqosyah-btn-add:hover,
.munaqosyah-btn-add:focus,
.munaqosyah-btn-add:active,
.munaqosyah-btn-download:hover,
.munaqosyah-btn-download:focus,
.munaqosyah-btn-download:active {
    background: #08745f !important;
}

#munaqosyah-download-menu {
    display: none;
    position: fixed;
    background: #fff;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(20, 33, 61, 0.16);
    z-index: 1000;
    min-width: 145px;
}

#munaqosyah-download-menu a {
    display: block;
    padding: 10px 14px;
    color: #14213d;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #eef3f7;
}

#munaqosyah-download-menu a:last-child {
    border-bottom: none;
}

#munaqosyah-download-menu a:hover {
    background: #f6faf8;
    color: #08745f;
}

#munaqosyah-download-menu a i {
    margin-right: 6px;
    color: #0f9f7a;
}

.dt-button-hidden {
    display: none !important;
}

@media (max-width: 991px) {
    .munaqosyah-table-toolbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .munaqosyah-table-length,
    .munaqosyah-table-actions {
        justify-self: stretch;
    }
    .munaqosyah-table-search {
        justify-self: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 350px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .munaqosyah-table-search div.dataTables_filter {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        text-align: center !important;
        float: none !important;
    }

    .munaqosyah-table-search label.search-input-wrap {
        width: 100% !important;
        display: block !important;
    }

    .munaqosyah-table-length label,
    .munaqosyah-table-actions .dt-buttons {
        justify-content: center;
    }

    .munaqosyah-table-search input {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        display: block !important;
        font-size: 13px !important;
        text-align: center !important;
        padding: 10px 40px !important;
    }
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN MANAJEMEN POSTING (Post Datatable Styling) ---
   ========================================================================== */
.post-table-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin: 24px 0 22px;
}

.post-table-length {
    justify-self: start;
}

.post-table-search {
    justify-self: center;
    width: 100%;
    max-width: 350px;
}

.post-table-length label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #14213d;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.post-table-search label.search-input-wrap {
    position: relative;
    display: block;
    margin: 0;
    font-size: 0;
    color: transparent;
}

.post-table-search label.search-input-wrap:before {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 20px;
    color: #a0a0a0;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.post-table-length select,
.post-table-search input {
    height: 40px;
    border: 1px solid #d8e3ea;
    border-radius: 8px;
    color: #14213d;
    box-shadow: none;
}

.post-table-search input {
    width: 100%;
    min-width: 250px;
    padding: 10px 40px !important;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fafafa;
    text-align: center;
}

.post-table-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    justify-self: end;
    margin: 0;
}

.post-table-actions .dt-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-table-actions .dt-button {
    border: 0;
    border-radius: 999px;
    background: #0f9f7a;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 15px;
    box-shadow: 0 10px 24px rgba(15, 159, 122, 0.22);
}

.post-btn-add,
.post-btn-add:hover,
.post-btn-add:focus,
.post-btn-add:active,
.post-btn-add.active {
    background: #0f9f7a !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(15, 159, 122, 0.22) !important;
    outline: none !important;
}

.post-btn-add:hover,
.post-btn-add:focus,
.post-btn-add:active {
    background: #08745f !important;
}

@media (max-width: 991px) {
    .post-table-toolbar {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .post-table-length,
    .post-table-actions {
        justify-self: stretch;
    }
    .post-table-search {
        justify-self: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 350px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .post-table-search div.dataTables_filter {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        text-align: center !important;
        float: none !important;
    }

    .post-table-search label.search-input-wrap {
        width: 100% !important;
        display: block !important;
    }

    .post-table-length label,
    .post-table-actions .dt-buttons {
        justify-content: center;
    }

    .post-table-search input {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        display: block !important;
        font-size: 13px !important;
        text-align: center !important;
        padding: 10px 40px !important;
    }
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN PEMBARUAN TARGET MATERI ---
   ========================================================================== */
.target-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
}

.target-page-header {
    margin-bottom: 30px;
    text-align: center;
}

.target-page-title {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.target-page-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.panel-group#accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-group#accordion .panel.panel-default {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
    margin-top: 0 !important;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-group#accordion .panel.panel-default:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e1;
}

.panel-group#accordion .panel-heading {
    background: #ffffff !important;
    border-bottom: none;
    padding: 20px 24px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.panel-group#accordion .panel-heading:hover {
    background: #f8fafc !important;
}

.panel-group#accordion .panel-title {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
}

.panel-group#accordion .panel-title::after {
    font-family: 'FontAwesome';
    content: '\f107';
    color: #64748b;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.panel-group#accordion a[aria-expanded="true"] .panel-title::after,
.panel-group#accordion a:not(.collapsed) .panel-title::after {
    transform: rotate(180deg);
    color: #0f9f7a;
}

.panel-group#accordion a[aria-expanded="true"] .panel.panel-default,
.panel-group#accordion a:not(.collapsed) .panel.panel-default {
    border-color: #0f9f7a;
}

.materi-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.materi-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 13px;
    padding: 14px 24px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.materi-table td {
    padding: 14px 24px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
    font-size: 15px;
}

.materi-table tr:last-child td {
    border-bottom: none;
}

.materi-table tr:hover td {
    background-color: #f8fafc;
}

.custom-page-group-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.custom-page-group {
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease-in-out;
    width: 120px;
    height: 38px;
}

.custom-page-group:focus-within {
    border-color: #0f9f7a !important;
    box-shadow: 0 0 0 3px rgba(15, 159, 122, 0.15) !important;
}

.target-page-input {
    border: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    padding: 0 8px !important;
    width: 60px !important;
    height: 100% !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.target-page-input::-webkit-outer-spin-button,
.target-page-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.target-page-input[type=number] {
    -moz-appearance: textfield;
}

.target-max-badge {
    background: #f8fafc;
    border: none;
    padding: 0 10px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border-left: 1px solid #e2e8f0;
    height: 100%;
    user-select: none;
    width: 60px;
    justify-content: center;
}

.btn-premium-submit {
    background: linear-gradient(135deg, #0f9f7a 0%, #0c8566 100%);
    color: #ffffff !important;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(15, 159, 122, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
    margin-top: 25px;
    width: 100%;
}

.btn-premium-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 159, 122, 0.35);
    opacity: 0.95;
    text-decoration: none;
}

.btn-premium-submit:active {
    transform: translateY(0);
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN TENTANG / ABOUT ---
   ========================================================================== */
.about-hero-card {
    background: linear-gradient(135deg, #006640 0%, #0f9f7a 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 102, 64, 0.15);
}

.about-jargon {
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.about-subjargon {
    font-size: 14px;
    color: #d9fff2;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 35px;
}

.about-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.about-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #006640;
    margin-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-card-text {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.8;
}

.about-card-text p {
    margin-bottom: 15px;
}

.trisukses-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 40px 0 25px 0;
    position: relative;
}

.trisukses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.trisukses-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trisukses-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 159, 122, 0.08);
    border-color: #0f9f7a;
}

.trisukses-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(15, 159, 122, 0.08);
    color: #0f9f7a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.trisukses-card-title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 8px;
}

.trisukses-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
}

.tabiat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.tabiat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #0f9f7a;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.tabiat-item i {
    color: #0f9f7a;
}

@media (max-width: 991px) {
    .about-grid-2 {
        grid-template-columns: 1fr;
    }
    .trisukses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tabiat-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN PROGRAM PEMBINAAN SANTRI ---
   ========================================================================== */
.program-section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 50px 0 25px 0;
    position: relative;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.program-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 159, 122, 0.06);
    border-color: #0f9f7a;
}

.program-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 20px;
}

.program-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(15, 159, 122, 0.08);
    color: #0f9f7a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.program-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #006640;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.program-item {
    list-style: none !important;
    list-style-type: none !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    font-size: 14.5px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.program-item i {
    color: #0f9f7a !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    .program-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN DOKUMENTASI FOTO (Gallery Grid & Lightbox Popup) ---
   ========================================================================== */
.modern-gallery-section {
    padding: 40px 15px;
    background: #ffffff;
    border-radius: 16px;
    margin: 30px auto;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    max-width: 1200px;
}

.modern-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.modern-gallery-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #0f9f7a;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.modern-gallery-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: #0f9f7a;
    margin: 12px auto 0 auto;
    border-radius: 10px;
}

.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-gap: 30px;
    padding: 10px;
}

.modern-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    height: 220px;
    cursor: pointer;
    background: #f7fafc;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.modern-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.modern-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-gallery-item:hover .modern-gallery-img {
    transform: scale(1.06);
}

.modern-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-gallery-item:hover .modern-gallery-overlay {
    opacity: 1;
}

.modern-gallery-caption {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modern-gallery-item:hover .modern-gallery-caption {
    transform: translateY(0);
}

.modern-gallery-date {
    color: #e2e8f0;
    font-size: 0.8rem;
    margin-top: 6px;
    font-weight: 400;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) 0.04s;
}

.modern-gallery-item:hover .modern-gallery-date {
    transform: translateY(0);
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    inset: 0;
    background: rgba(10, 17, 27, 0.96);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-caption {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
    max-width: 700px;
    line-height: 1.5;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 44px;
    font-weight: 200;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    user-select: none;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.modern-gallery-empty {
    text-align: center;
    padding: 80px 20px;
    color: #a0aec0;
}

.modern-gallery-empty i {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
    display: block;
}

.modern-gallery-empty p {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   --- CODE CSS UNTUK TAMPILAN EDIT PROFIL & FORM BIODATA (Vertical Sidebar Tab) ---
   ========================================================================== */
.profile-edit-section {
    max-width: 1100px;
    margin: 40px auto 60px auto;
    padding: 0 15px;
    font-family: 'Poppins', sans-serif;
}

.profile-edit-title-container {
    text-align: center;
    margin-bottom: 40px;
}

.profile-edit-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: inline-block;
}

.profile-edit-title-underline {
    width: 60px;
    height: 4px;
    background: #006640;
    margin: 0 auto;
    border-radius: 2px;
}

.profile-form-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 33, 61, 0.04);
    border: 1px solid #e2e8f0;
    padding: 35px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

.profile-form-card fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

.profile-form-card legend {
    font-size: 22px;
    font-weight: 800;
    color: #006640;
    border: none;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 28px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-form-card legend i {
    font-size: 20px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    margin-bottom: 24px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group.grid-3-full {
    grid-column: span 3;
}

.form-section-divider {
    grid-column: span 2;
    font-size: 16px;
    font-weight: 800;
    color: #475569;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 8px;
    margin: 25px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-grid-3 .form-section-divider {
    grid-column: span 3;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-group label .required-star {
    color: #ef4444;
}

.form-group label .input-format-hint {
    color: #ef4444;
    font-size: 10.5px;
    font-weight: 600;
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    height: 46px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-group textarea {
    height: 110px;
    resize: vertical;
    padding-top: 12px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #006640;
    box-shadow: 0 0 0 3px rgba(0, 102, 64, 0.12);
}

.form-group input[disabled],
.form-group select[disabled] {
    background-color: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
}

.profile-action-link-container {
    grid-column: span 2;
    display: flex;
    gap: 15px;
    margin: 10px 0 20px 0;
}

.profile-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #cbd5e1;
    transition: all 0.2s;
}

.profile-action-btn:hover {
    background: rgba(0, 102, 64, 0.05);
    color: #006640;
    border-color: #006640;
    text-decoration: none;
}

.char-count-info {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    font-weight: 500;
}

.char-count-info span {
    font-weight: 800;
    color: #006640;
}

.profile-form-submit-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.profile-submit-btn {
    min-height: 48px;
    min-width: 140px;
    background: #006640 !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(0, 102, 64, 0.2) !important;
    cursor: pointer;
    transition: all 0.2s !important;
}

.profile-submit-btn:hover {
    background: #004d30 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 102, 64, 0.28) !important;
}

.profile-edit-section .alert {
    border-radius: 8px;
    font-weight: 600;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
}

.profile-edit-section .alert-danger {
    background-color: #fef2f2;
    color: #991b1b;
}

.profile-edit-section .alert-success {
    background-color: #f0fdf4;
    color: #166534;
}

@media (max-width: 768px) {
    .form-grid-2, .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .form-group.full-width, .form-group.grid-3-full, .form-section-divider, .profile-action-link-container {
        grid-column: span 1;
    }
    .profile-action-link-container {
        flex-direction: column;
        gap: 10px;
    }
    .profile-form-card {
        padding: 20px;
    }
    .profile-submit-btn {
        width: 100%;
    }
}

