
/* ========== Base Styles ========== */
body {
  background: linear-gradient(120deg, #e8f5e9, #c8e6c9);
  margin: 0;
  padding-top: 80px;     /* space for fixed header */
  padding-bottom: 5rem;  /* space for fixed footer */
  font-family: 'Segoe UI', sans-serif;
}
main.flex-grow-1 {
  margin-left: 260px; /* 240px width + ~20px gutter */
}

/* ========== Header (NDPC Style) ========== */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 3px solid #044c2c;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
header .navbar-brand img {
  height: 50px;
}

/* ========== Footer (Dark Green) ========== */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #044c2c;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* ========== Content Card ========== */
.content-card {
  max-width: 960px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.content-card .card-body {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}
.content-card .left-column { flex: 1 1 300px; }
.content-card input.form-control {
  height: 45px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}
.btn-search {
  background-color: #044c2c;
  border: none;
  color: white;
  font-weight: bold;
  padding: 0.6rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease-in-out;
}
.btn-search:hover {
background-color: #4b9314;
 color: white;
}

/* ========== Right Column (Alert Info) ========== */
.content-card .right-column {
  flex: 1 1 300px;
  background-color: #f8f9fa;
  border-left: 4px solid #044c2c;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.right-column .icon { font-size: 1.75rem; color: #044c2c; }
.right-column .text { flex:1; font-size:0.95rem; color:#333; }

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
  .content-card .card-body { flex-direction: column; }
  .right-column {
    border-left: none;
    border-top: 4px solid #a71d2a;
  }
}

/* ========== Logout Link Styling ========== */
.navbar .nav-link {
  font-weight: 500;
  color: #198754;
  transition: color 0.2s ease;
}
.navbar .nav-link:hover {
  color: #0f5132;
  text-decoration: underline;
}
/* In your custom style.css */
.detail-block.custom-green-border {
    border-color: #28a745 !important; /* Bootstrap's default success green */
    /* Or a specific green hex code you prefer */
    /* border-color: #008000 !important; */ /* A darker green, for example */
}