.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: max-content;
  margin-bottom: 20px;
}

.content-title {
  font-weight: 600;
  text-align: end;
}

.section-gap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* RANGKUMAN HASIL TEMUAN START HERE */
.summary-audit-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.summary-audit-item-title,
.summary-audit-item-count,
.follow-up-status .status-title {
  text-align: center;
}

.summary-audit-item-count {
  color: var(--primary-color);
}
/* RANGKUMAN HASIL TEMUAN END HERE */

/* DETAIL SISA TEMUAN START HERE */
.detail-remaining-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.detail-remaining-item-chart,
.recommendation-kind-chart {
  width: 100%;
}

.detail-remaining-item-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.detail-remaining-item-list {
  display: flex;
  flex-direction: column;
  padding: 12px 20px;
}

.detail-remaining-item-title h3 {
  font-weight: 500;
}

.detail-remaining-item-count {
  font-size: 14px;
  font-weight: 500;
}

.detail-remaining-item-list h1 {
  color: var(--primary-color);
  float: right;
}

.detail-remaining-item-count #administration-count {
  color: #046c4e;
}

.detail-remaining-item-count #finance-count {
  color: #e3a008;
}

.filter-item {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  gap: 10px;
}

#unit-select-container {
  width: 220px;
}

#unit-select-container select {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-item .select_field {
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
  padding: 0.6rem;
  color: var(--primary-color);
  font-weight: 600;
  border: none;
}

/* DETAIL SISA TEMUAN END HERE */

/* STATUS TINDAK LANJUT START HERE */
.follow-up-status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.follow-up-status-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.audit-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0px;
}

.audit-table th,
.audit-table td {
  padding: 8px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.audit-table th.left,
.audit-table td.left {
  text-align: left;
  font-size: smaller;
}

.audit-table thead th {
  font-weight: 700;
  font-size: smaller;
}

.audit-table thead tr:first-child th {
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
}

.audit-table thead tr:last-child th {
  border-top: 1px solid var(--border-color);
}

.audit-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

.audit-table tfoot td {
  font-weight: 700;
  color: #ffffff;
  background: var(--primary-color);
  border-bottom: none;
}

/* STATUS TINDAK LANJUT END HERE */

/* REKOMENDASI START HERE */
.recommendation-wrapper,
.follow-up-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 10px;
}

.recommendation-wrapper .status-recommendation,
.follow-up-wrapper .follow-up-status {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recommendation-wrapper .recommendation-kind,
.follow-up-wrapper .follow-up-kind {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recommendation-wrapper .recommendation-detail,
.follow-up-wrapper .follow-up-detail {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#recommendationKindChart,
#followUpKindChart {
  width: 100%;
  height: 300px;
}

.recommendation-detail-title,
.follow-up-detail-title {
  text-align: center;
  margin-top: 12px;
}
/* REKOMENDASI END HERE */

/* TEMUAN KEUANGAN START HERE */
.filter-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.filter-button-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.filter-button-container button.active {
  background-color: var(--primary-color);
  color: #ffffff;
}

.filter-button-container button {
  padding: 8px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  width: 8em;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.filter-button-container button:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.financial-audit-wrapper {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.financial-audit-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

#financial-audit-chart {
  margin: 8px 0px;
  width: 80%;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-legend-item {
  display: flex;
  justify-content: flex-start;
}

.chart-legend-item-count {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 20px;
}

.chart-legend-item-color {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-right: 5px;
}

#chart-legend-item-color-total {
  background-color: #e3a008;
}

#chart-legend-item-color-audit {
  background-color: var(--primary-color);
}

#chart-legend-item-color-remaining {
  background-color: var(--secondary-color);
}
/* TEMUAN KEUANGAN END HERE */

/* RESPONSIVE */
/* xxs ≤ 375px */
@media (max-width: 375px) {
  .summary-audit-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-remaining-filter-container {
    flex-direction: column;
    align-items: end;
  }
}

/* xs ≤ 639px */
@media (min-width: 376px) and (max-width: 639px) {
  .detail-remaining-filter-container {
    flex-direction: column;
    align-items: start;
  }
  .summary-audit-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* sm ≥ 640px */
@media (min-width: 640px) and (max-width: 767px) {
}

/* md ≥ 768px */
@media (min-width: 768px) and (max-width: 1023px) {
}

/* lg ≥ 1024px */
@media (min-width: 1024px) and (max-width: 1279px) {
}

/* xl ≥ 1280px */
@media (min-width: 1280px) and (max-width: 1535px) {
}

/* 2xl ≥ 1536px */
@media (min-width: 1536px) {
}
