/* ==========================
   GLOBAL STYLES
========================== */

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  background: #f4f6fa;
  line-height: 1.6;
  color: #333;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

section {
  padding: 60px 40px;
}

/* COLOR VARIABLES (AMBA BRAND) */
:root {
  --green-dark: #0b3e2e;
  --green-mid: #0e6655;
  --green-light: #0c4a37;
  --gold: #d4a629;
  --gold-light: #f0e6c8;
  --orange: #f39c12;
  --orange-dark: #d68910;
  --white: #ffffff;
}
.main-wrapper {
  flex: 1;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  background: var(--white);
  color: var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 35px;
  border-bottom: 2px solid var(--green-mid);
  position: relative;
  z-index: 1100;
  padding-left: 2%;
  padding-right: 2%;
  padding-top: 5px;
  padding-bottom: 5px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 3.5rem;
  width: auto;
  border: none;
  border-radius: 60%;
}

#nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-menu li a {
  color: var(--green-mid);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

#nav-menu li a:hover {
  color: var(--orange);
  transform: translateX(6px);
}

.brand {
  text-decoration: none;
  color: var(--green-mid);
  font-weight: 800;
  font-size: 1.4em;
}

.brand:hover {
  color: var(--orange);
  transform: translateX(6px);
  transition: 0.3s ease;
}

.menu-toggle span {
  background: var(--green-mid);
}

/* ===============================
   DESKTOP NAV MENU
================================ */
#nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
}

#nav-menu li a {
  text-decoration: none;
  color: var(--green-mid);
  font-weight: 600;
  transition: 0.3s ease;
}

#nav-menu li a:hover {
  color: var(--orange);
  transform: translateX(6px);
}

/* ===============================
   MOBILE MENU
================================ */
@media (max-width: 1124px) {
  /* Hide desktop nav to prevent spacing issues */
  .navbar ul {
    display: none;
  }

  /* MOBILE SLIDE MENU */
  #nav-menu {
    position: fixed;
    top: 0;
    right: -280px; /* hidden by default */
    width: 200px;
    height: 25vh;
    padding: 50px 30px 30px;
    gap: 25px;
    flex-direction: column;
    background: var(--white);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
    transition: right 0.35s ease-in-out;
    z-index: 1100;
    overflow-y: auto;
  }

  #nav-menu.active {
    right: 0;
  }

  /* Stagger animation */
  #nav-menu li {
    opacity: 0;
    transform: translateX(20px);
    transition: 0.35s ease;
    transition-delay: calc(var(--i) * 0.12s);
  }

  #nav-menu.active li {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===============================
   TEAM SECTION – Modern Pyramid Layout
================================== */

.team-section .message {
  font-size: 1rem;
  text-align: justify;
}
.team-container {
  max-width: 1150px;
  margin: 0 auto;
}

/* ===============================
   CARD STYLES
================================== */

.team-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

/* image */
.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

/* text */
.team-card .name {
  font-size: 1rem;
  color: var(--green-mid);
  font-weight: 600;
  margin: 0.1rem;
  padding: 0;
}

.team-card .role {
  font-size: 1rem;
  color: var(--green-mid);
  font-weight: 600;
  margin: 0.1rem;
  padding: 0;
}

.team-card .meta {
  color: #6b7280;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

/* long message */
.team-card .message {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  margin-top: auto;
  border-left: 4px solid rgba(16, 185, 129, 0.25);
  padding-left: 12px;
  margin-left: 4px;
}

/* ===============================
   PYRAMID LAYOUT ROWS
================================== */

.team-row {
  display: grid;
  gap: 26px;
  margin-bottom: 40px;
}

/* Row 1: one centered card */
.team-row.row-1 {
  grid-template-columns: 1fr;
  justify-items: center;
}

.team-row.row-1 .manager {
  width: 75%;
  max-width: 100%;
}

/* Row 2: two equal cards */
.team-row.row-2 {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .team-row.row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   RESPONSIVE
================================== */

@media (max-width: 500px) {
  .team-card img {
    height: 190px;
  }

  .team-card .name {
    font-size: 1.1rem;
    color: var(--green-mid);
  }

  .team-card .role {
    font-size: 0.95rem;
    color: var(--green-mid);
  }

  .team-card .message {
    font-size: 0.95rem;
  }
}

/* ==========================
   BUTTONS
========================== */
.btn {
  background: var(--orange);
  padding: 12px 32px;
  margin-right: 16px;
  border-radius: 8px;
  color: var(--white);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: var(--orange-dark);
}

.btn a {
  text-decoration: none;
  color: black;
}

.logo button {
  margin-left: 10px;
  background: var(--green-light);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.logo button:hover {
  background: var(--green-mid);
}

.logo button a {
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  padding: 12px 32px;
  border: 2px solid var(--white);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}

.about-section p {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}
.about-section h2 {
  margin: 0;
  padding: 0;
  color: var(--green-mid);
}
.mission-vision p {
  font-size: 1rem;
}

.values .value-card {
  font-size: 1rem;
}

.about-section p {
  font-size: 1rem;
}
/* ==========================
   SHOWCASE SLIDER (NEW)
========================== */

/* ==========================
   SHOWCASE SLIDER (STANDARDIZED)
========================== */

.showcase-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  border-radius: 14px;
  background: #f4f6fa;
}

/* Slide Wrapper */
.slider-container {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Slides */
.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 50px;
  gap: 60px;
  color: var(--green-dark);
}

.slide h1,
.slide h2 {
  margin: 0 0 15px;
  color: var(--green-mid);
}

/* Image */
.slide img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================
   SLIDER BUTTONS
========================== */

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px 15px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

/* ==========================
   MOBILE VIEW
========================== */

@media (max-width: 900px) {
  .slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 25px;
  }

  .slide img {
    max-width: 280px;
    margin: 0 auto;
  }

  .slide-btn {
    padding: 8px 12px;
    font-size: 18px;
  }
}

/* ==========================
   NEWS SECTION
========================== */
.news-section {
  padding: 20px 30px;
  text-decoration: none;
}

.news-section img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.news-section .card {
  padding: 20px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  color: black;
  text-decoration: none;
  text-align: justify;
}
.news-section .card .seemore {
  text-align: center;
  text-decoration: underline;
  color: var(--green-mid);
  font-style: italic;
  font-weight: bolder;
}

.news-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* ==========================
   News Detail Modern Styles
========================== */

.news-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  animation: fadeIn 0.6s ease-out;
}

/* Hero Title Section */
.news-detail h1 {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.news-detail .date {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* Centered Image */
.news-detail .news-detail-image {
  width: 90%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  margin: 0 auto 30px;
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.news-detail .news-detail-image:hover {
  transform: scale(1.02);
  box-shadow: 0px 12px 26px rgba(0, 0, 0, 0.15);
}

/* Body content */
.news-detail .detail-body {
  text-align: justify;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 35px;
}

/* Back link styling */
.news-detail a {
  color: var(--green-mid);
  font-style: italic;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  margin-top: 10px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.news-detail a:hover {
  color: var(--green-dark);
  transform: translateX(-3px);
}

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-detail h1 {
    font-size: 2rem;
  }

  .news-detail .news-detail-image {
    width: 100%;
  }

  .news-detail .detail-body {
    font-size: 1rem;
  }
}

/* ==========================
   SERVICES SECTION
========================== */
.services {
  text-align: center;
  padding-top: 40px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ==========================
   ABOUT SECTION
========================== */
.grid-2,
.grid-3 {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.value-card,
.mv-card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================
   CONTACT SECTION
========================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.contact-card,
.contact-form {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background: var(--green-dark);
}

.contact-form button:hover {
  background: var(--green-light);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   MOBILE MENU
========================== */
.menu-toggle {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1110;
}

.menu-toggle span {
  height: 4px;
  background: var(--green-mid);
  border-radius: 2px;
  transition: 0.4s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1123px) {
  .menu-toggle {
    display: none;
  }
}

/* ==========================
   OVERLAY
========================== */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1090;
}

#overlay.active {
  opacity: 1;
  visibility: visible;
}
/* ==========================
   MODERN FOOTER
========================== */
.footer {
  background: #111; /* cleaner dark tone */
  color: #eaeaea;
  padding-left: 70px;
  margin-top: auto; /* push footer to bottom */

  /* margin-top: 50px; */
  /* border-top: 4px solid var(--gold); */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* Titles */
.footer-section h3,
.footer-section h4 {
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Paragraphs */
.footer-section p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Lists */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #eaeaea;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: var(--gold);
  padding-left: 5px;
}

/* Social icons */
.footer-social {
  margin-top: 20px;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-dark);
  color: white;
  font-size: 16px;
  margin-right: 10px;
  text-decoration: none;
  transition: 0.3s;
}

.social-circle:hover {
  background: var(--gold);
  color: #111;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 25px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  opacity: 0.8;
}

.footer-bottom p {
  margin: 4px 0;
}

/* Responsive */
@media (max-width: 1000px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   DASHBOARD HEADER
=============================== */
.dashboard-header {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dashboard-header h2 {
  font-size: 26px;
  color: var(--green-mid);
  color: #222;
}

.dashboard-header p {
  color: #666;
}

.btn-logout {
  padding: 10px 18px;
  background: crimson;
  /* color: #fff; */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.25s;
}

.btn-logout:hover {
  background: #a50020;
}

/* ============================
   SECTION TITLES
=============================== */
.section-title {
  font-size: 22px;
  margin: 30px 0 15px;
  font-weight: 700;
  color: #444;
  text-decoration: none;
}
/* ============================
   CARD GRID
=============================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

/* ============================
   CARD STYLING
=============================== */
.card {
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: 0.25s ease;

  overflow: hidden; /* hide ove rflow text if too long */
  display: flex;
  flex-direction: column;
  justify-content: center; /* center content vertically */
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* ============================
   CARD TEXT
=============================== */
.card h4 {
  margin: 0 0 6px 0; /* smaller bottom margin */
  font-size: 1.1rem; /* slightly smaller */
}

.card p {
  margin: 0;
  font-size: 0.9rem; /* compact paragraph */
}

/* ============================
   CARD COLORS
=============================== */
.card-blue {
  background: #0077ff;
  color: #fff;
}

.card-yellow {
  background: #f8c21a;
  color: #fff;
}

.card-green {
  background: #00b36b;
  color: #fff;
}

.card-purple {
  background: rgb(214, 31, 34);
  color: #fff;
}

.card-orange {
  background: orange;
  color: #fff;
}

/* ============================
   RESET LINKS
=============================== */
.card a {
  margin: 0;
  color: inherit;
  text-decoration: none;
}

/* ============================
   TABLE STYLE
=============================== */

/* ============================
   STATUS STYLES
=============================== */
.status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.status.approved {
  background: #00b36b;
  color: white;
}

.status.pending {
  background: #ffe28a;
  color: #554400;
}

.status.rejected {
  background: #ff5e5e;
  color: white;
}

/* ============================
   TAG STYLE (Departments badges)
=============================== */
.tag {
  background: #e5e5e5;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 4px;
  display: inline-block;
}

/* ============================
   RESPONSIVE
=============================== */
@media (max-width: 600px) {
  .dashboard-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .btn-logout {
    width: 100%;
    text-align: center;
  }
}

/* ==========================
   LOGIN PAGE (MODERN UI)
========================== */

.login-wrapper {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  min-height: calc(100vh - 30vh); /* adjust for navbar + footer */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- LOGIN CARD ---- */
.login-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: 100%;
  animation: fadeIn 0.4s ease;
  align-items: center;
}

/* Fade animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header h2 {
  text-align: center;
  color: var(--green-mid);
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* ---- ALERT MESSAGE ---- */
.login-alert {
  background: #ffe5e5;
  color: #b30000;
  padding: 12px;
  border-left: 4px solid #b30000;
  border-radius: 8px;
  margin-bottom: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* ---- FORM ---- */
.login-form p {
  margin-bottom: 18px;
}

.login-form label {
  font-weight: 600;
  font-size: 14px;
  color: #334155;
}

/* Inputs */
.login-form input {
  width: 100%;
  padding: 12px;
  border: 1.4px solid #cbd5e1;
  border-radius: 8px;
  font-size: 15px;
  margin-top: 6px;
  transition: 0.25s ease;
}

/* Input focus glow */
.login-form input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  outline: none;
}

/* ---- LOGIN BUTTON ---- */
.login-btn {
  width: 100%;
  padding: 14px;
  font-size: 17px;
  font-weight: 600;
  background: var(--green-mid);
  color: white;
  border-radius: 10px;
  border: none;
  transition: 0.25s ease;
  margin-top: 5px;
}

.login-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* ---- FOOTER LINK ---- */
.login-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.login-footer a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .login-card {
    padding: 25px;
  }

  .login-header h2 {
    font-size: 20px;
    color: var(--green-mid);
  }

  .login-btn {
    font-size: 15px;
    padding: 12px;
  }
}

/* ==========================
   CREATE USER PAGE
========================== */

.create-user-wrapper {
  max-width: 600px;
  margin: auto;
}

.page-title {
  text-align: center;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 600;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--green-mid);
  margin: 10px auto 30px auto;
  border-radius: 4px;
}

.custom-alert {
  background: #ddffdd;
  color: #006600;
  padding: 12px;
  border-left: 4px solid #009900;
  border-radius: 6px;
  margin-bottom: 15px;
}

.custom-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.create-user-form p {
  margin-bottom: 18px;
}

.create-user-form input,
.create-user-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  margin-top: 5px;
}

/* Buttons */
.primary-btn {
  width: 100%;
  padding: 14px;
  background: var(--green-mid);
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

.approve-btn {
  width: 100%;
  padding: 5px;
  background: var(--green-mid);
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.approve-btn:hover {
  background: var(--green-dark);
}

.primary-btn:hover {
  background: var(--green-dark);
}

.secondary-btn {
  display: inline-block;
  padding: 12px 18px;
  background: #555;
  color: white;
  border-radius: 8px;
  margin-top: 20px;
}

.secondary-btn:hover {
  background: #222;
}

.go-back-btn {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
/* ==========================
   CREATE USER PAGE
========================== */
.form-page {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

/* Header */
.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.form-title {
  font-size: 24px;
  margin: 0;
  font-weight: 600;
}

.pending-btn {
  padding: 8px 18px;
  font-size: 14px;
  background: var(--green-mid);
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  text-decoration: none !important;
}

.pending-btn:hover {
  background: var(--green-dark);
}

/* ==========================
   NORMAL FIELD ROWS
========================== */
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr; /* Label | Field */
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.form-row label {
  margin: 0;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  font-size: 15px;
}

/* ==========================
   DEPARTMENTS SECTION
========================== */
.departments-container {
  margin-top: 20px;
}

.section-label {
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px;
}

/* Hide real checkbox */
.departments-grid input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  position: absolute;
}

/* Wrapper */
.toggle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

/* Toggle background */
.toggle-switch {
  width: 46px;
  height: 24px;
  background: #ccc;
  border-radius: 25px;
  position: relative;
  transition: 0.25s ease;
}

/* Circle */
.toggle-switch::after {
  content: "";
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Checked (SACCO green) */
.toggle-item input:checked + .toggle-switch {
  background: var(--green-mid);
}

.toggle-item input:checked + .toggle-switch::after {
  transform: translateX(22px);
}

.toggle-text {
  font-size: 15px;
}

/* ==========================
   SUBMIT BUTTON
========================== */
.submit-btn {
  /* margin-top: 25px; */
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: var(--green-mid);
  color: white;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

.submit-btn:hover {
  background: var(--green-dark);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* ================================
   PENDING USERS PAGE
================================ */

.pending-wrapper {
  max-width: 1100px;
  margin: auto;
  padding: 30px 20px;
}

/* Title */
.pending-header {
  text-align: center;
  margin-bottom: 25px;
}

.page-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--green-dark);
}

.section-divider {
  width: 90px;
  height: 4px;
  background: var(--green-mid);
  margin: 10px auto 30px auto;
  border-radius: 4px;
}

/* Table container */
.table-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

/* Table */
.pending-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.pending-table thead tr {
  background: var(--green-mid);
  color: white;
}

.pending-table th,
.pending-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.pending-table tbody tr:hover {
  background: #f7fdf8;
}

/* Empty box */
.empty-box {
  margin-top: 20px;
  padding: 25px;
  border-radius: 10px;
  background: #f9f9f9;
  text-align: center;
  font-size: 16px;
  color: #666;
}

/* Action buttons */
.action-buttons {
  display: flex;
  gap: 10px;
}

.action-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: white;
  text-decoration: none;
  transition: 0.25s ease;
}

.action-btn.approve {
  background: var(--green-mid);
}

.action-btn.approve:hover {
  background: var(--green-dark);
}

.action-btn.reject {
  background: #c62828;
}

.action-btn.reject:hover {
  background: #8e0000;
}

/* Create User button */
.create-btn-container {
  text-align: center;
  margin-top: 30px;
}

.create-btn {
  display: inline-block;
  padding: 14px 22px;
  background: var(--green-mid);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s ease;
  margin-left: 2rem;
}

.create-btn:hover {
  background: var(--green-dark);
}
/* Page Container */
.user-page {
  /* max-width: 1180px; */
  margin: 0 auto;
  padding: 20px;
}

/* Top Bar */
.top-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

.page-title {
  font-size: 26px;
  font-weight: 650;
  color: #0b5c3a;
  white-space: nowrap; /* prevents 2-line title */
}

/* Buttons */
.primary-btn {
  background: #0b5c3a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 500;
  text-decoration: none;
}

.small-btn {
  width: 180px;
  text-align: center;
}

/* Search */
.search-form input {
  width: 600px; /* FIXED */
  display: block;
  margin: 0 auto 30px auto; /* centered */
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #c8c8c8;
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.stat-box {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.stat-box h4 {
  font-size: 14px;
  color: #0b5c3a;
  margin-bottom: 6px;
}

.stat-box p {
  font-size: 22px;
  font-weight: 700;
}

/* Table Card */
.table-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

/* Table */
.default-table {
  width: 100%;
  border-collapse: collapse;
}

.default-table thead tr {
  background: #0b5c3a;
  color: white;
  height: 50px;
}

.default-table th {
  padding: 12px;
  font-weight: 600;
}

.default-table td {
  padding: 12px;
  border-bottom: 1px solid #ececec;
}

.default-table tbody tr:hover {
  background: #eef6f3;
}

.actions-col {
  width: 150px;
}

/* Action Buttons */
.row-actions {
  display: flex;
  gap: 6px;
}

.edit-btn {
  background: #f4c542;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  margin: 5px;
  font-weight: 700;
}

.delete-btn {
  background: #cc3d3d;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  margin: 5px;
}
.view-btn {
  background: var(--green-mid);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  margin: 5px;
}
.spouse-btn {
  background: #0077ff;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  margin: 5px;
  font-weight: 700;
}

.child-btn {
  background-color: #e0e0e0;
  padding: 6px 10px;
  color: black;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  margin: 5px;
  font-weight: 700;
}
/* Empty table message */
.empty-msg {
  padding: 20px;
  text-align: center;
  color: #777;
}

/* Buttons row */
.form-actions {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  justify-content: flex-end; /* Align buttons to the right */
}

.submit-btn {
  background: #0b5c3a;
  color: white;
  border: none;

  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;

  min-width: 130px;
  height: 42px; /* SAME FIXED HEIGHT */
  cursor: pointer;
  transition: 0.2s ease;
}

/* Cancel button */
.cancel-btn {
  background: white;
  color: #0b5c3a;
  border: 2px solid #0b5c3a;

  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;

  text-decoration: none; /* FIX underline */
  display: inline-flex; /* FIX height mismatch */
  align-items: center; /* Center text vertically */
  justify-content: center; /* Center text horizontally */

  min-width: 130px; /* SAME width as Save */
  height: 42px; /* FORCE SAME HEIGHT */
  cursor: pointer;
  transition: 0.2s ease;
}

/* Hover effects */
.submit-btn:hover {
  background: #094a2f;
}

.cancel-btn:hover {
  background: #0b5c3a;
  color: white;
}
/************************************
   HERO SLIDER — Smarter Layout
*************************************/
.hero-slider {
  height: 50vh;
  display: flex;
  flex-direction: column;

  position: relative;
  overflow: hidden;

  background: var(--green-dark);
  color: #fff;
  text-align: center;

  padding: 20px; /* keep this */
  margin: 0;

  justify-content: center; /* center vertically */
  align-items: center; /* center horizontally */
}

/* Holds all slides */
.hero-slider-container {
  position: relative;
  width: 100%;
}

/* Each slide */
.hero-slide {
  position: absolute;
  inset: 0; /* same as top:0, left:0, right:0, bottom:0 */
  width: 100%;
  padding: 2rem 2rem 5rem; /* top + bottom so buttons never hide */
  box-sizing: border-box;

  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Active slide visible */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
  z-index: 2;
}

/* Make inactive slide invisible to clicks */
.hero-slide:not(.active) {
  pointer-events: none;
}

/************************************
   HERO CONTENT — Now Auto-Responsive
*************************************/
.hero-content {
  max-width: 80%;
  margin: auto;
  text-align: center;
}

/* Prevent giant titles from breaking layout */
.hero-title {
  font-size: clamp(20px, 4vw, 30px); /* Auto-scaling */
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  word-break: break-word; /* Break long words */
}

.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 20px);

  max-width: 85%;
  margin: 0 auto 25px;
  opacity: 0.95;
  color: white;
}
/* 
/************************************
   Logo
*************************************/
.hero-logo {
  width: 150px; /* Bigger + stronger presence */
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
  margin-bottom: 28px;

  /* Premium glow + depth */
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));

  /* Smooth intro animation */
  opacity: 0;
  transform: translateY(25px) scale(0.92);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* When slide becomes active (JS adds .active) */
.hero-slide.active .hero-logo {
  opacity: 1;
  transform: translateY(0px) scale(1);
}

/* Optional floating effect (looks very premium) */
.hero-logo:hover {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.22))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.45));
  transition: 0.6s ease;
}

@media (max-width: 700px) {
  .hero-logo {
    width: 120px;
    height: 120px;
  }
}
*/


/************************************
   Buttons (Always Visible Now)
*************************************/
.hero-buttons {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap; /* prevents overflow */
}

.btn {
  /* background: #fff; */
  border: none;
  padding: 14px 35px;
  border-radius: 50px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn:hover {
  background: #f4d03f;
  transform: translateY(-4px);
}

.btn a {
  color: #0a214f;
  text-decoration: none;
  font-weight: 600;
}

/************************************
   Arrows
*************************************/
.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 32px;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s ease;
  z-index: 50;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.45);
  scale: 1.15;
}

.hero-prev {
  left: 20px;
}
.hero-next {
  right: 20px;
}

/************************************
   Pagination Dots — Clean + Modern
*************************************/
.hero-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.hero-dot.active {
  width: 20px;
  border-radius: 12px;
  background: #fff;
}

/************************************
   Mobile Responsive – Perfect
*************************************/
@media (max-width: 650px) {
  .hero-slide {
    padding: 80px 20px 100px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center; /* center buttons */
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    padding: 10px 20px; /* smaller height */
    font-size: 14px; /* slightly smaller text */
  }

  .hero-buttons .btn a {
    padding: 10px 0; /* reduce inner height */
  }

  .btn {
    width: 80%;
    margin: 5px auto;
  }
}
/* ================================
   GLOBAL SECTION TITLE
================================ */
section h2 {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--green-mid);
}

/* ================================
   WHY CHOOSE US
================================ */
.why-choose-us {
  padding: 80px 40px;
  background: #f4f6fa;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.why-box {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 18px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.why-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.why-box .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.why-box h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.why-box p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ================================
   CTA BANNER
================================ */
.cta-banner {
  background: #0b3e2e;
  color: white;
  text-align: center;
  padding: 90px 40px;
  margin-top: 60px;
}

.cta-banner h2 {
  margin-bottom: 15px;
  color: white;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
  display: inline-block;
  padding: 14px 35px;
  background: white;
  color: #004a99;
  font-weight: 700;
  border-radius: 35px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cta-btn:hover {
  background: #e9efff;
  transform: translateY(-3px);
}
/* ==========================
   VISITOR ANALYTICS STYLE
========================== */

.visitor-analytics {
  text-align: center;
  background: #f4f6fa;
}

.visitor-analytics h2 {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
  color: var(--green-mid);
}

.visitor-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  padding: 0 0px;
}

.stat-card {
  background: #ffffffcc; /* soft glass */
  backdrop-filter: blur(6px);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.stat-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.stat-number {
  font-size: 1.5rem;
  color: var(--green-light); /* nice blue highlight */
  font-weight: 600;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 900px) {
  .why-grid,
  .visitor-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .why-grid,
  .visitor-stats {
    grid-template-columns: 1fr;
  }

  section {
    padding: 50px 20px;
  }
}

.next-to-hero {
  padding: 50px 20px;
}
.branches {
  padding: 60px 40px;
  background: #f9f9f9;
}

.branches h2 {
  text-align: center;
  margin-bottom: 10px;
  color: var(--green-mid);
  font-size: 2rem;
}

.branch-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

.branch-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.branch-card {
  background: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.3s ease;
}

.branch-map iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .branch-layout {
    grid-template-columns: 1fr;
  }
}
/* ==========================
   BRANCHES SECTION
========================== */

.branches {
  padding: 70px 40px;
  background: #f4f6fa; /* matches your site color */
}

.branches h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--green-mid);
}

.branch-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 30px;
}

.branch-list {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 500px;
  overflow-y: auto;
}

.branch-card {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 4px solid var(--green-dark);
  border-radius: 8px;
  cursor: pointer;

  transition: 0.3s;
}

.branch-card:hover {
  background: var(--green-light);
  color: white;
}

.branch-card h4 {
  margin: 0;
  font-size: 20px;
}

.branch-card p {
  margin: 4px 0;
  font-size: 15px;
}

.branch-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .branch-layout {
    grid-template-columns: 1fr;
  }

  .branch-list {
    height: 300px;
  }

  .branch-map iframe {
    height: 300px;
  }
}

.welcome-near-brand {
  font-size: 1em;
  color: #10b981;
  font-style: italic;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 1em;
}
/* SPECIAL BUTTON STYLES */
.dashboard-link {
  font-weight: 600;
  color: var(--green-mid) !important;
  border: 1px solid var(--green-mid);
  padding: 6px 14px !important;
  border-radius: 10px;
  transition: 0.3s ease;
}

.dashboard-link:hover {
  color: var(--orange) !important;
  border-color: var(--orange);
  transform: translateX(6px);
}
/* ==========================
   SESSION MODAL
========================== */

.session-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.session-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.9);
  background: #ffffff;
  padding: 25px;
  border-radius: 14px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  opacity: 0;
  transition: all 0.3s ease;
  text-align: center;
}

.session-modal.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.session-modal-overlay.show {
  display: block;
  opacity: 1;
}

.session-modal-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.stay-btn {
  background: #10b981;
  border: none;
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  font-size: 14px;
}

.logout-btn {
  background: #ef4444;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  flex: 1;
  text-align: center;
  font-size: 14px;
}

.stay-btn:hover {
  background: #0e9f6e;
}

.logout-btn:hover {
  background: #dc2626;
} /* ---------------------------
   CLEAN MODERN DASHBOARD LAYOUT
---------------------------- */

.dashboard-container {
  display: flex;
  min-height: calc(100vh - 80px);
  background: #f5f7fa;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* ---------------------------
   MAIN CONTENT
---------------------------- */

.page-container {
  flex: 1;
  padding-left: 20px;
  padding-right: 20px;
  margin: 0;
  overflow-x: hidden;
  padding-bottom: 100px;
}

.dashboard-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--green-mid);
}

/* ---------------------------
   TITLES
---------------------------- */

.section-title {
  margin: 30px 0 18px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

/* =========================
   GENERAL
========================= */
.page-container {
  padding: 20px;
}

.dashboard-header h2 {
  margin-bottom: 4px;
}

.role-text {
  color: #64748b;
}

/* =========================
   STATS
========================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-box {
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
}

.stat-box p {
  font-size: 1.8rem;
  margin-top: 5px;
}

.primary {
  background: #0f766e;
}
.success {
  background: #16a34a;
}
.warning {
  background: #f59e0b;
}

/* =========================
   TABLE
========================= */
.table-container {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.custom-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.custom-table thead {
  background: #0f766e;
  color: #fff;
}

.custom-table th,
.custom-table td {
  padding: 12px 14px;
  text-align: center;
  white-space: nowrap;
  border-bottom: 1px solid #e5e7eb;
}

.custom-table tbody tr:hover {
  background: #f8fafc;
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-view {
  background: #e0f2fe;
  color: #0369a1;
}
.btn-add {
  background: #dcfce7;
  color: #166534;
}
.btn-edit {
  background: #fef3c7;
  color: #92400e;
}
.btn-delete {
  background: #fee2e2;
  color: #991b1b;
}
.btn-approve {
  background: #dbeafe;
  color: #1e40af;
}

/* =========================
   STATUS BADGE
========================= */
.status-badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.status-badge.approved {
  background: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}
/* =========================
   DATATABLE TOP BAR
========================= */
.datatable-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

/* Left: Export buttons */
.dt-left {
  display: flex;
  gap: 10px;
}

/* Right: Search */
.dt-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Search input */
.dt-right .dataTables_filter {
  width: 100%;
  max-width: 420px;
}

.dt-right .dataTables_filter input {
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.dt-right .dataTables_filter input:focus {
  outline: none;
  border-color: #0f766e;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

/* =========================
   DATATABLE BUTTONS
========================= */
.dt-btn {
  background: #0f766e !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 8px 16px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.2s ease;
}

.dt-btn:hover {
  background: #115e59 !important;
}

/* =========================
   BOTTOM PAGINATION
========================= */
.datatable-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 768px) {
  .datatable-top {
    flex-direction: column;
    align-items: stretch;
  }

  .dt-right {
    justify-content: center;
  }

  .dt-right .dataTables_filter {
    max-width: 100%;
  }

  .dt-left {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ---------------------------
   TAGS + STATUS
---------------------------- */

.tag {
  background: #e5e7eb;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 12px;
  margin-right: 5px;
}

.status {
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
}

.status.active {
  background: #10b981;
}
.status.pending {
  background: #f59e0b;
}
.status.disabled {
  background: #ef4444;
}

/* ---------------------------
   RESPONSIVE RULES
---------------------------- */

/* Tablet */
@media (max-width: 600px) {
  .dashboard-container {
    flex-direction: column;
  }

  .page-container {
    padding: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-header h2 {
    font-size: 16px;
    color: var(--green-mid);
  }

  .page-container {
    padding: 18px;
  }
}

/* Remove space before footer */
.it-dashboard .page-container {
  padding-bottom: 0 !important;
}
/* ============================
   CLEAN PROFESSIONAL TABLE UI
============================ */

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.table thead {
  background: #f4f6f9;
}

.table th {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  color: #333;
  border-bottom: 1px solid #e5e7eb;
}

.table td {
  padding: 10px 14px;
  font-size: 14px;
  color: #555;
  vertical-align: middle;
  border-bottom: 1px solid #f1f1f1;
}

.table tr:hover td {
  background: #fafafa;
}

/* Reduce image size */
.table img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

/* Fix Actions */
.table a {
  color: #0b63e5;
  text-decoration: none;
  margin-right: 8px;
}

.table a:hover {
  text-decoration: underline;
}

/* ============================
   SEARCH BAR + HEADER
============================ */
/* SEARCH BAR FIX */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.search-bar input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.search-bar button {
  padding: 12px 30px;
  border: none;
  border-radius: 10px;
  background: #0b63f3;
  color: white;
  cursor: pointer;
  font-size: 15px;
}

.search-bar button:hover {
  background: #084ec0;
}

/* ============================
   PAGINATION BEAUTIFUL
============================ */

.pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #d3d7df;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
}

.pagination a:hover {
  background: #f1f1f1;
}
/* ============================
      CLEAN FORM STYLE
============================ */

.form-card {
  max-width: 1000px;
  margin: 30px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Headings */
.form-card h4 {
  border-bottom: 2px solid #4caf50;
  padding-bottom: 5px;
  margin-top: 30px;
  color: #333;
}

/* Form rows */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Columns inside form */
.form-col {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

/* Full width columns */
.full-width {
  flex: 1 1 100%;
}

/* Labels */
label {
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

/* Inputs and selects */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Focus effect */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

/* Buttons */
button,
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s ease;
}

button.btn-success {
  background-color: #4caf50;
  color: white;
}

button.btn-success:hover {
  background-color: #45a049;
}

a.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
  text-decoration: none;
  display: inline-block;
  margin-left: 10px;
}

a.btn-secondary:hover {
  background-color: #d5d5d5;
}

/* Error messages */
.error {
  color: #d9534f;
  font-size: 13px;
  margin-top: 5px;
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

.help-text {
  display: block;
  color: #777;
  font-size: 13px;
}

/* Button */
.btn-success {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  background: #27a745;
  border: none;
  color: white;
  cursor: pointer;
  align-items: right;
  float: right; /* this aligns the button to the right */
}

.btn-success:hover {
  background: #1f8b37;
}

/* ============================
   PROFESSIONAL FORM CARD
============================ */

.form-card {
  max-width: 720px;
  margin: 40px auto;
  background: #ffffff;
  padding: 35px 40px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
}

/* ============================
   FORM GROUP
============================ */

.form-group {
  margin-bottom: 22px;
}

/* ============================
   LABELS
============================ */

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

/* ============================
   INPUTS & SELECTS
============================ */

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid #dcdfe4;
  background-color: #fafafa;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e88e5;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
}

/* ============================
   HELP TEXT
============================ */

.help-text {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6c757d;
}

/* ============================
   ERRORS
============================ */

.error {
  margin-top: 6px;
  font-size: 12px;
  color: #d32f2f;
}

/* ============================
   ACTION BUTTONS
============================ */

.form-card button[type="submit"] {
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background-color: #2e7d32;
  color: #ffffff;
  transition: background-color 0.2s ease;
}

.form-card button[type="submit"]:hover {
  background-color: #256628;
}

.btn-cancel {
  margin-left: 15px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
}

.btn-cancel:hover {
  text-decoration: underline;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  color: #0b63e5;
}

/* General Section */
.contact-us {
  padding: 2rem 1rem;
  background-color: #f8f9fa;
}
.contact-us h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--green-mid);
}
.contact-us p {
  text-align: center;
  margin-bottom: 2rem;
}

/* Grid Layout */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Left Contact Info Grid */
.contact-info-grid {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.contact-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
}

/* Right Form & Messages */
.contact-form-wrapper {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 1rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}
.contact-form button.btn {
  background-color: #0b3d2e;
  color: #fff;
  padding: 0.7rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.contact-form button.btn:hover {
  background-color: #12523c;
}

/* Messages Section */
.messages-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.message-card {
  background-color: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.message-header {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.message-body {
  margin-bottom: 0.5rem;
}
.message-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.like-btn,
.dislike-btn {
  background: #e0e0e0;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}
.like-btn:hover,
.dislike-btn:hover {
  background: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
  .contact-form-wrapper {
    position: relative;
    top: auto;
  }
}
.bank-accounts {
  padding: 40px 30px;
}

.bank-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .bank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bank-grid {
    grid-template-columns: 1fr;
  }
}

.bank-card {
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  text-align: center;
}
.bank-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.faqs {
  padding: 40px 30px;
}

.faq-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Mission & Vision Section */
.mission-vision {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.grid-2 {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.mv-card {
  flex: 1 1 45%;
  background-color: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mv-card h3 {
  font-size: 1.8rem;
  color: var(--green-mid);
  margin-bottom: 15px;
}

.mv-card p {
  font-size: 1.2rem;
  color: var(--green-mid);
  line-height: 1.7;
  font-weight: 600;
}

/* Mission & Vision Images */
.section-image {
  width: 100%;
  max-width: 220px; /* smaller images */
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .grid-2 {
    flex-direction: column;
    gap: 20px;
  }

  .mv-card {
    flex: 1 1 100%;
    padding: 20px;
  }

  .section-image {
    max-width: 180px;
  }
}
/* Core Values Section - Isolated */
.values-section {
  padding: 60px 20px;
  background-color: #f0f4f8;
  text-align: center;
}

.values-section h2 {
  font-size: 2rem;
  color: var(--green-mid);
  margin-bottom: 40px;
  font-weight: bold;
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.values-grid .value-card {
  flex: 1 1 calc(30% - 25px); /* 3 cards per row */
  background: var(--green-light);
  color: #fff;
  font-weight: 600;
  padding: 25px 15px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  min-width: 200px;
  text-align: center;
  font-size: 1.1rem;
}

.values-grid .value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: var(--green-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .values-grid .value-card {
    flex: 1 1 calc(45% - 25px); /* 2 per row */
  }
}

@media (max-width: 600px) {
  .values-grid .value-card {
    flex: 1 1 100%; /* 1 per row */
  }
}

/* =========================
   SERVICE CATEGORIES
========================= */
.services-category-section {
  padding: 60px 20px;
  background-color: #fff;
  margin-top: 40px;
}

.services-category-container {
  max-width: 1200px;
  margin: 0 auto;
}

.category-title {
  font-size: 2rem;
  color: #1a73e8;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.category-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  text-align: center;
}

/* Services Grid */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.services-card {
  flex: 1 1 calc(30% - 25px);
  background: #f0f4f8;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 220px;
}

.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-title {
  font-size: 1.5rem;
  color: #1a73e8;
  margin-bottom: 15px;
  text-align: center;
}

.service-items {
  padding-left: 20px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .services-card {
    flex: 1 1 calc(45% - 25px);
  }
}

@media (max-width: 600px) {
  .services-card {
    flex: 1 1 100%;
  }
}

.table-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

.form-image-preview {
  max-width: 120px;
  border-radius: 8px;
  margin-top: 8px;
}

/* ============================
   SERVICES PAGE STYLES
============================ */

.svc-category-section {
  padding: 60px 0;
  background: #f9fafb;
}

.svc-category-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* CATEGORY HEADER */
.svc-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.svc-category-image {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.svc-category-title {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.svc-category-desc {
  color: #555;
  max-width: 600px;
}

/* SERVICES GRID */
.svc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* SERVICE CARD */
.svc-service-card {
  background: var(--green-mid);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.svc-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* SERVICE IMAGE */
.svc-service-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-bottom: 14px;
}

/* SERVICE TITLE */
.svc-service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* SERVICE ITEMS */
.svc-service-items {
  padding-left: 18px;
  color: #444;
}

.svc-service-items li {
  margin-bottom: 6px;
  line-height: 1.5;
} /* ==========================
   VACANCY & ANNOUNCEMENT ROWS
========================== */
.va-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.va-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--green-light);
  text-decoration: none;
  background: #006600;
  color: #fff;
}
.section-title:hover {
  color: var(--gold);
}
/* Two-column grid layout */
.va-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.va-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.va-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Vacancy card */
.va-card.vacancy-card .va-badge.vacancy {
  background: linear-gradient(135deg, #f94d6a, #ff758f);
  color: #fff;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.va-card.vacancy-card h4 {
  font-size: 1.4rem;
  margin: 12px 0;
}

.va-card.vacancy-card p {
  font-size: 1rem;
  color: #555;
}

.va-card.vacancy-card .va-meta {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #777;
}

.va-card.vacancy-card .va-meta .expiry {
  color: #e74c3c;
  font-weight: bold;
}
.va-badge.announcement {
  background: linear-gradient(135deg, #1fa2ff, #12d8fa);
  color: #fff;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
}

.va-card.announcement-card h4 {
  font-size: 1.4rem;
  margin: 12px 0;
}

.va-card.announcement-card p {
  font-size: 1rem;
  color: #555;
}

.va-card.announcement-card .va-date {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #777;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .va-container {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}

/* ===== Membership Dashboard Specific ===== */
#membership-dashboard {
  background-color: #f9f9f9;
}

#membership-card-grid .card {
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 12px;
}

#membership-card-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

#membership-stats .stat-box {
  border-radius: 10px;
  padding: 15px 20px;
  background-color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 15px;
}

#membership-stats .stat-box h4 {
  font-size: 1rem;
  color: #555;
}

#membership-stats .stat-box p {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 5px;
}

#membership-dashboard table.table {
  width: 100%;
  border-collapse: collapse;
}

#membership-dashboard table.table th,
#membership-dashboard table.table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

#membership-dashboard .status.approved {
  color: #1e7e34;
  font-weight: 600;
}

#membership-dashboard .status.pending {
  color: #ffc107;
  font-weight: 600;
}

#membership-dashboard .status.rejected {
  color: #dc3545;
  font-weight: 600;
}

/* --------------------------- SIDEBAR (Desktop) ---------------------------- */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--green-mid), var(--green-light));
  padding-left: 22px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.12);
}
.sidebar h3 {
  font-size: 20px;
  margin-bottom: 22px;
  font-weight: 600;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar li {
  margin-bottom: 12px;
}
.sidebar a {
  display: block;
  padding: 0px 10px;
  border-radius: 10px;
  color: #dbeafe;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}
.sidebar a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(6px);
  color: #fff;
}
@media (max-width: 600px) {
  .sidebar {
    width: 100%;
    border-radius: 0;
    padding: 25px 18px;
  }
}
/* ============================
   SIDEBAR 
============================ */

.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--green-mid), var(--green-light));
  padding: 25px 20px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.12);
}

.sidebar h3 {
  font-size: 20px;
  margin-bottom: 22px;
  font-weight: 600;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-group {
  margin-bottom: 14px;
}

/* Group toggle button */
.sidebar-group-toggle {
  width: 100%;
  font-weight: 700;
  background: transparent;
  border: none;
  color: #dbeafe;
  font-size: 1rem;
  padding: 10px 12px;
  text-align: left;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
}

.sidebar-group-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Arrow animation */
.sidebar-group .arrow {
  transition: transform 0.3s ease;
}

/* Submenu */
.sidebar-submenu {
  list-style: none;
  padding-left: 14px;
  margin-top: 8px;
  display: none;
}

.sidebar-submenu a {
  display: block;
  border-radius: 8px;
  margin-left: 12px;
  color: #dbeafe;
  text-decoration: none;
  font-size: 0.95rem;
}

.sidebar-submenu a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* OPEN STATE */
.sidebar-group.sidebar-open .sidebar-submenu {
  display: block;
}

.sidebar-group.sidebar-open .arrow {
  transform: rotate(180deg);
}

/* ============================
   ACTIVE MENU STATE
============================ */

/* Active submenu link */
.sidebar-submenu a.active {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
}

/* ============================
   Home Social Media
============================ */

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* =========================
   WIZARD CONTAINER
========================= */
.wizard-container {
  max-width: 70%;
  margin: 30px auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  font-family: "Segoe UI", sans-serif;
}

/* =========================
   PROGRESS BAR & CIRCLES
========================= */
.wizard-progress {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 25px;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ccc;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
}

.step-circle.active {
  background: var(--green-mid);
}

.step-circle.completed {
  background: var(--green-dark);
}

#progress-line {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 0;
  height: 4px;
  background: var(--green-mid);
  z-index: 0;
  transition: width 0.3s ease;
}

/* =========================
   WIZARD FORM ELEMENTS
========================= */
#wizard-form {
  display: flex;
  flex-direction: column;
}

#wizard-form h2 {
  margin-bottom: 20px;
  color: var(--green-mid);
}

#wizard-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

#wizard-form input,
#wizard-form select,
#wizard-form textarea {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border 0.3s ease;
}

#wizard-form input:focus,
#wizard-form select:focus,
#wizard-form textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}

#wizard-form textarea {
  min-height: 80px;
  resize: vertical;
}

/* =========================
   WIZARD BUTTONS
========================= */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}

.form-actions .btn {
  background: var(--green-mid);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-actions .btn:hover {
  background: var(--green-dark);
}

.form-actions .btn.secondary {
  background: #f0f0f0;
  color: #333;
}

.form-actions .btn.secondary:hover {
  background: #e0e0e0;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .wizard-container {
    padding: 20px 15px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* =========================
   MEMBERS PAGE CONTAINER
========================= */
.members-page {
  font-family: "Segoe UI", sans-serif;
  padding: 20px;
}

/* =========================
   MEMBERS HEADER
========================= */
.members-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.members-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--green-dark);
}

/* =========================
   ADD MEMBER BUTTON
========================= */
.members-add-btn {
  background: var(--green-mid);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.members-add-btn:hover {
  background: var(--green-dark);
}

/* =========================
   TABLE WRAPPER
========================= */
.members-table-wrapper {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
}

/* =========================
   MEMBERS TABLE
========================= */
.members-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.members-table thead {
  background: var(--green-mid);
}

.members-table th {
  padding: 14px 16px;
  text-align: left;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.members-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #eee;
}

.members-table tbody tr {
  transition: background 0.25s ease;
}

.members-table tbody tr:hover {
  background: #f7f9fb;
}

/* =========================
   ACTION BUTTONS
========================= */
.members-actions {
  display: flex;
  gap: 8px;
}

.members-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.members-btn-view {
  background: #3498db;
}

.members-btn-view:hover {
  background: #2980b9;
}

.members-btn-edit {
  background: #f1c40f;
  color: #333;
}

.members-btn-edit:hover {
  background: #d4ac0d;
}

.members-btn-delete {
  background: #e74c3c;
}

.members-btn-delete:hover {
  background: #c0392b;
}
/* =========================
   WIZARD ACTION BUTTONS
========================= */
.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.wizard-actions .btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Primary (Next / Finish) */
.wizard-actions .btn.primary {
  background: var(--green-mid);
  color: #fff;
}

.wizard-actions .btn.primary:hover {
  background: var(--green-dark);
}

/* Secondary (Back) */
.wizard-actions .btn.secondary {
  background: #f0f0f0;
  color: #333;
}

.wizard-actions .btn.secondary:hover {
  background: #e0e0e0;
}

/* Danger (Cancel) */
.wizard-actions .btn.danger {
  background: #fff;
  padding: 10px 18px;

  color: #e74c3c;
  border: 1px solid #e74c3c;
}

.wizard-actions .btn.danger:hover {
  background: #e74c3c;
  color: #fff;
}

/* =========================
   EMPTY STATE
========================= */
.members-empty {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: #777;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .members-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .members-add-btn {
    width: 100%;
    text-align: center;
  }

  .members-actions {
    flex-direction: column;
  }

  .members-btn {
    width: 100%;
    text-align: center;
  }
}

/* ================================
   MEMBER DETAIL – CONTAINER
================================ */
.member-detail-container {
  max-width: 1100px;
  margin: auto;

  margin-bottom: 30px;
  padding: 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* ================================
   NAME HEADER
================================ */
.member-name-header {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e5e7eb;
}

.member-name-header .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 6px;
}

.full-name {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}

.full-name .middle-name {
  font-weight: 500;
  color: #6b7280;
}

/* ================================
   SECTION TITLES
================================ */
.member-section-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--green-dark);
  margin: 35px 0 20px;
  position: relative;
}

.member-section-title::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 4px;
  width: 4px;
  height: 18px;
  background: var(--green-mid);
  border-radius: 2px;
}

/* ================================
   DETAIL GRID
================================ */
.member-detail-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px 30px;
  margin: 0;
  padding: 0;
}

/* ================================
   DETAIL ITEM
================================ */
.member-detail-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 16px 18px;
  transition: all 0.2s ease;
}

.member-detail-item:hover {
  background: #f1f5f9;
}

.member-detail-item dt {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 6px;
}

.member-detail-item dd {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
  margin: 0;
  word-wrap: break-word;
}

.member-detail-item.full-width {
  grid-column: 1 / -1;
}

/* ================================
   ACTION BUTTONS
================================ */
.member-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.member-detail-actions a {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Edit */
.member-detail-btn-edit {
  background: var(--green-mid);
  color: #fff;
}

.member-detail-btn-edit:hover {
  background: var(--green-dark);
}

/* Delete */
.member-detail-btn-delete {
  background: #fff;
  color: #dc2626;
  border: 1px solid #dc2626;
}

.member-detail-btn-delete:hover {
  background: #dc2626;
  color: #fff;
}

/* Back */
.member-detail-btn-back {
  background: #f3f4f6;
  color: #374151;
}

.member-detail-btn-back:hover {
  background: #e5e7eb;
}
#details-btn {
  background-color: #006600;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 10px;
}

.apply_vacant {
  background-color: var(--green-mid);
  border: none;
  float: inline-end;
  margin-right: 5%;
  padding-right: 30px;
  padding-left: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
  border-radius: 15px;
}
.apply_vacant:hover {
  background-color: var(--green-light);
}
.apply_vacant a {
  color: white;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
}
/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
  .member-detail-container {
    padding: 20px;
  }

  .full-name {
    font-size: 26px;
  }

  .member-detail-actions a {
    flex: 1;
    text-align: center;
  }
}
.vacancy-detail-section {
  padding: 40px 20px;
  background: #f6f8fb;
}

.vacancy-detail-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.vacancy-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.vacancy-meta {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #666;
}

.vacancy-type {
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
}

.type-vacancy {
  background: #e3f2fd;
  color: #1565c0;
}

.type-announcement {
  background: #e8f5e9;
  color: #2e7d32;
}

.vacancy-summary {
  margin: 25px 0;
  padding-left: 15px;
  border-left: 4px solid #1565c0;
  font-size: 16px;
}

.vacancy-content {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

.vacancy-attachment {
  margin-top: 30px;
}

.attachment-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #1565c0;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.attachment-btn:hover {
  background: #0d47a1;
}

.vacancy-footer {
  margin-top: 40px;
}

.back-btn {
  text-decoration: none;
  font-weight: 600;
  color: #1565c0;
}
.va-actions {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.details-btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: #e3f2fd;
  color: #1565c0;
  text-decoration: none;
  font-weight: 600;
}

.download-btn {
  padding: 8px 14px;
  border-radius: 6px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
}

.apply-btn {
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--green-mid);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.apply-btn:hover {
  background: var(--green-light);
}

.vacancy-expired-card {
  max-width: 650px;
  margin: 60px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.text-warning {
  color: #f0ad4e;
}

.lead {
  font-size: 18px;
  margin-top: 15px;
}

.muted {
  color: #6c757d;
  font-size: 14px;
  margin-top: 10px;
}

.actions {
  margin-top: 30px;
}

.apply-btn-disabled {
  padding: 8px 16px;
  border-radius: 6px;
  background: rgb(156, 70, 70);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.va-badge {
  font-size: 1.2rem;
  font-weight: 700;
}

/* Grid layout */
.service-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

/* Checkbox card */
.service-checkbox {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}

/* Hover effect */
.service-checkbox:hover {
  background-color: #e6f7ff;
  border-color: #91d5ff;
}

/* Hidden default checkbox */
.service-checkbox input[type="checkbox"] {
  display: none;
}

/* Custom checkbox style */
.service-checkbox .service-name::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid #aaa;
  border-radius: 4px;
  vertical-align: middle;
  transition: all 0.2s ease;
}

/* Checked state */
.service-checkbox input[type="checkbox"]:checked + .service-name::before {
  background-color: var(--green-mid);
  border-color: var(--green-mid);
}

/* Mandatory services highlight */
.service-checkbox.mandatory {
  border-color: #fa8c16;
  background-color: #fff7e6;
  font-weight: 600;
}

/* Optional: add checkmark */
.service-checkbox input[type="checkbox"]:checked + .service-name::after {
  content: "✓";
  color: white;
  position: absolute;
  left: 6px;
  top: 2px;
  font-size: 16px;
}

.svc-service-items {
  color: #fff;
}

.btn-announcement {
  text-decoration: none;
  color: #fff;
  background-color: var(--green-mid);
  border: solid 1px;
  margin: 30px 30px;
  padding: 10px;
  border-radius: 30px;
}

.btn-announcement:hover {
  background-color: var(--green-light);
}
/* =========================
   DASHBOARD GLOBAL STYLES
========================= */
.md-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: #333;
  background-color: #f8f9fb;
}

/* =========================
   PAGE TITLE
========================= */
.md-page-title {
  font-size: 28px;
  font-weight: 600;
  color: #1e2a38;
  margin-bottom: 25px;
  text-transform: capitalize;
}

/* =========================
   CARD LAYOUT
========================= */
.md-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.md-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* =========================
   PROFILE HEADER
========================= */
.md-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: linear-gradient(135deg, #6a5af9, #5ac8fa);
  color: #fff;
}

.md-profile-photo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
}

.md-profile-info h3 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
}

.md-profile-info .md-muted {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
}

/* =========================
   HIGHLIGHT CARDS
========================= */
.md-card-grid.md-two-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.md-highlight-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #1e2a38;
}

.md-amount {
  font-size: 26px;
  font-weight: 700;
  color: #2b6cb0;
  margin-bottom: 8px;
}

.md-muted {
  font-size: 13px;
  color: #6c757d;
}

/* =========================
   BUTTONS
========================= */
.md-button-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.md-btn {
  display: inline-block;
  padding: 7px 10px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: #fff;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

/* BUTTON VARIANTS */
.md-btn-indigo {
  background: linear-gradient(135deg, #5c6bc0, #3949ab);
}

.md-btn-green {
  background: linear-gradient(135deg, #66bb6a, #388e3c);
}

/* BUTTON HOVER EFFECTS */
.md-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.md-btn-indigo:hover {
  background: linear-gradient(135deg, #3f51b5, #1a237e);
}

.md-btn-green:hover {
  background: linear-gradient(135deg, #43a047, #1b5e20);
}

/* ACTIVE STATE */
.md-btn:active {
  transform: translateY(1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* =========================
   TABS
========================= */
.md-tabs-container {
  margin-top: 30px;
}

.md-tab-header {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.md-tab {
  margin-right: 20px;
  padding-bottom: 8px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #555;
  transition: color 0.3s ease;
}

.md-tab-active {
  color: #1e2a38;
}

.md-tab-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
}

/* TAB CONTENT */
.md-tab-content {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.md-tab-panel {
  display: none;
}

.md-tab-panel.md-tab-active {
  display: block;
}

/* =========================
   INFO GRID
========================= */
.md-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.md-info-grid p {
  margin: 5px 0;
}

.md-file-link {
  color: #5c6ac4;
  text-decoration: underline;
}

.md-tab-header {
  display: flex;
  position: relative;
  border-bottom: 2px solid #e0e0e0;
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.md-tab {
  margin-right: 20px;
  padding-bottom: 8px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: #555;
  transition: color 0.3s ease;
}

.md-tab-active {
  color: #1e2a38;
}

/* Animated underline */
.md-tab-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background-color: #5c6ac4;
  transition: all 0.3s ease;
  width: 0;
}
.md-btn.md-btn-gray {
  color: black;
}
/* =========================
   BANK PAYMENT INFORMATION
========================= */

.bank-info-card {
  max-width: 800px;
  margin: 20px auto 30px auto; /* center horizontally */
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  text-align: center;
}

.bank-info-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1e3a8a;
}

.bank-info-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 18px auto;
}

.bank-info-list li {
  font-size: 0.8em;
  padding: 10px 0;
  border-bottom: 1px dashed #cbd5e1;
}

.bank-info-list li:last-child {
  border-bottom: none;
}

.bank-info-list strong {
  font-weight: 700;
  color: #0f172a;
}

.bank-separator {
  margin: 0 3px;
  color: #64748b;
}

.bank-account {
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.3px;
}

.bank-branch {
  font-size: 14px;
  color: #64748b;
  margin-left: 6px;
}

.bank-note {
  font-size: 14px;
  background: #eef2ff;
  border-radius: 10px;
  line-height: 1.6;
  margin: 0;
}

.bank-note- {
  line-height: 1.6;
  font-weight: 500;

  margin: 0;
  font-size: 0.8em;
  padding: 10px 0;
  border-bottom: 1px dashed #cbd5e1;
}
/* =========================
   PAYMENT REFERENCE NOTICE
========================= */

.payment-reference {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  background: #fff7ed;
  border-left: 5px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 8px;
  text-align: center;
}

.payment-member-id {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 1px;
}
