/*--------------------------------------------------------------
# Resource Page Styling (assets/css/resource.css)
# Adheres strictly to PSAHC fonts and color scheme
--------------------------------------------------------------*/

.docs-wrapper {
  padding: 40px 0 70px 0;
  background-color: #f8fafc;
}

/* Top Segmented Tab Navigation */
.docs-nav-tabs {
  display: inline-flex;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 25px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.docs-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--nav-font, "Poppins", sans-serif);
}

.docs-tab-btn:hover {
  color: #1a4f8b;
}

.docs-tab-btn.active {
  background: #1a4f8b;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(26, 79, 139, 0.2);
}

/* Document Card Container */
.doc-section-card {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.doc-section-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

/* Card Header with Icon & Subtitle */
.doc-card-top {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
}

.doc-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(26, 79, 139, 0.07);
  color: #1a4f8b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.doc-card-title-group h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a4f8b;
  margin: 0;
  font-family: var(--heading-font, "Raleway", sans-serif);
}

.doc-card-title-group p {
  font-size: 13px;
  color: #64748b;
  margin: 2px 0 0 0;
  font-family: var(--default-font, "Roboto", sans-serif);
}

/* Minimalist Document Table */
.doc-table-clean {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  border: none !important;
}

.doc-table-clean thead,
.doc-table-clean tbody,
.doc-table-clean tfoot,
.doc-table-clean tr,
.doc-table-clean th,
.doc-table-clean td {
  border-left: none !important;
  border-right: none !important;
}

.doc-table-clean thead th {
  background-color: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 12px 24px;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: 1px solid #eef2f6 !important;
  font-family: var(--default-font, "Roboto", sans-serif);
}

.doc-table-clean tbody tr {
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f1f5f9 !important;
  border-top: none !important;
}

.doc-table-clean tbody tr:last-child {
  border-bottom: none !important;
}

.doc-table-clean tbody tr:hover {
  background-color: #f8fbfd;
}

.doc-table-clean td {
  padding: 15px 24px;
  font-size: 14px;
  color: #334155;
  vertical-align: middle;
  font-family: var(--default-font, "Roboto", sans-serif);
}

.col-sno {
  font-weight: 600;
  color: #64748b;
  width: 85px;
}

.col-name a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.col-name a:hover,
.col-name a:hover * {
  color: #ff8b00;
}

.col-date {
  color: #64748b;
  font-size: 13.5px;
  width: 130px;
  white-space: nowrap;
}

.col-action {
  width: 60px;
  text-align: right;
}

.doc-file-btn {
  color: #94a3b8;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.doc-file-btn:hover {
  color: #1a4f8b;
  transform: scale(1.15);
}

/* Badge NEW - Matches Header Accent */
.badge-tag-new {
  background-color: #f27e00;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  vertical-align: middle;
}

/* Public Notice Card List Styling */
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.2s ease;
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-item:hover {
  background-color: #f8fbfd;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.notice-icon-bullet {
  color: #1a4f8b;
  font-size: 16px;
  flex-shrink: 0;
}

.notice-title {
  color: #1e293b;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.notice-title:hover {
  color: #ff8b00;
}

/* Empty State — No Data Row */
.no-data-row:hover {
  background-color: transparent !important;
}

.no-data-row td {
  padding: 40px 24px !important;
  border-bottom: none !important;
}

.no-data-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #94a3b8;
}

.no-data-state i {
  font-size: 36px;
  color: #cbd5e1;
  display: block;
}

.no-data-state span {
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.3px;
  font-family: var(--default-font, "Roboto", sans-serif);
}

/* Document Footnote / Attribution Highlighted Banner */
.doc-footnote {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: rgba(242, 126, 0, 0.08);
  border: 1px solid rgba(242, 126, 0, 0.25);
  border-left: 4px solid #f27e00;
  border-radius: 8px;
  font-size: 14px;
  color: #9a4800;
  font-weight: 600;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  font-family: var(--default-font, "Roboto", sans-serif);
  box-shadow: 0 1px 3px rgba(242, 126, 0, 0.05);
}

.doc-footnote i {
  color: #f27e00;
  font-size: 16px;
}

/* Footnote inside page banner — frosted glass pill badge */
.act-banner .doc-footnote {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-top: 6px;
  margin-bottom: 18px;
  padding: 6px 18px;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  justify-content: center;
  text-align: center;
}

.act-banner .doc-footnote i {
  color: rgba(255, 200, 100, 0.95);
  font-size: 13px;
  line-height: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .docs-card-top {
    padding: 16px;
  }
  
  .doc-table-clean thead th,
  .doc-table-clean td {
    padding: 12px 14px;
  }

  .notice-item {
    padding: 14px 16px;
  }
  
  .col-sno {
    width: 55px;
    padding-right: 8px;
  }

  .col-date {
    width: 105px;
    font-size: 12.5px;
  }
}

@media (max-width: 576px) {
  .docs-wrapper {
    padding: 25px 0 50px 0;
  }

  .docs-nav-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 18px;
  }

  .docs-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .docs-tab-btn {
    padding: 7px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .doc-card-top {
    padding: 14px;
  }

  .doc-icon-badge {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .doc-card-title-group h3 {
    font-size: 16px;
  }

  .doc-card-title-group p {
    font-size: 12px;
  }
}

