/* common styles  */
.no-display {
  display: none !important;
}

/* override style  */
#report-hero .container-width,
#report-area .container-width {
  width: 95%;
}

/* hero section styles  */
#report-hero {
  padding: 16px 0 56px;
  background-color: var(--pmk-white);
  border-bottom: 1px solid #dde8e3;
}

.report-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.775rem;
  font-weight: 300;

  margin-bottom: 32px;
}

.breadcrumb-home {
  color: var(--pmk-green);
  transition: all 0.35s ease-in-out;
}

.breadcrumb-home:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #ced1d0;
  transition: all 0.35s ease-in-out;
}

.breadcrumb-link {
  color: #6b7c74;
  transition: all 0.35s ease-in-out;
}

.breadcrumb-sep,
.breadcrumb-link {
  font-weight: 400;
}

.report-hero-title {
  color: var(--pmk-blue-dark);
  font-size: 2rem;
  font-weight: 700;
}

.report-hero-text {
  color: #6b7c74;
  max-width: 720px;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 8px;
}

/*  report area sections styles  */
#report-area {
  padding: 24px 0;
  background-color: #f3f4f3;
}

.report-area-container {
  height: 100vh;
  min-height: 560px;
  display: flex;
  gap: 0;

  border-radius: 14px;
  border: 1px solid #dde8e3;
  background-color: var(--pmk-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* sidebar section  */
.report-view-panel {
  height: 100%;
  width: 280px;
  flex-shrink: 0;
  padding: 24px 0;
  border-right: 1px solid #dde8e3;

  display: flex;
  flex-direction: column;
}

.view-panel-header {
  padding: 16px 16px 16px 32px;
  border-bottom: 1px solid #dde8e3;
}

.panel-header-label {
  color: var(--pmk-green);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.panel-header-title {
  color: var(--pmk-blue-dark);
  font-size: 1rem;
  font-weight: 700;
  margin-top: 8px;
}

.panel-header-text {
  color: #6b7c74;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: normal;
  margin-top: 3px;
}

/* search box  */
.report-searchBox-container {
  padding: 14px 16px 14px 32px;
  border-bottom: 1px solid #dde8e3;
}
.searchBox {
  position: relative;
}

.searching-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #aab8b2;
  pointer-events: none;
}

#search-field {
  width: 100%;
  padding: 8px 10px 8px 34px;
  border: 1px solid #dde8e3;
  border-radius: 8px;
  font-size: 12.5px;
  font-family: "Google Sans", sans-serif;
  color: #2c3e32;
  background: #f5f7f6;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.reports {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: #d0ece3 transparent;
}

.report {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px 12px 24px;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition:
    background 0.14s,
    border-color 0.14s;
  position: relative;
}

.report:hover {
  background: var(--pmk-green-light);
}

.report-active {
  background: var(--pmk-green-light);
  border-left-color: var(--pmk-green);
}

.report-icon {
  width: 34px;
  height: 40px;
  flex-shrink: 0;
}

.report-body {
  flex: 1;
  min-width: 0;
}

.report-year {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--pmk-dark);
  transition: color 0.14s;
}
.report-active .report-year {
  color: var(--pmk-green);
}

.report-size {
  font-size: 0.725rem;
  color: #6b7c74;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 99px;
  flex-shrink: 0;
}

.latest {
  background: rgba(0, 148, 106, 0.12);
  color: var(--pmk-green);
}

.no-match {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: #6b7c74;
}

/* report board(display box ) sections styles  */
.report-board {
  flex: 1;
  height: 100%;
  padding: 24px 0 16px;

  display: flex;
  flex-direction: column;
}

/* report intro bar  */
.report-intro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -ms-grid-row-span: 16px;

  padding: 16px 40px 16px 32px;
  border-bottom: 1px solid #dde8e3;
  flex-shrink: 0;
}

.intro-bar {
  flex: 1;
  min-width: 0;
}

.report-intro-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pmk-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-intro-text {
  color: #6b7c74;
  font-size: 0.875rem;
  margin-top: 1px;
  line-height: normal;
}

/* report meta buttons  */
.report-meta-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.intro-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.35s ease-in-out;
}

.intro-btn-ghost {
  color: #6b7c74;
  background: #f5f7f6;
  border: 1px solid #d0ece3;
}
.intro-btn-ghost:hover {
  color: var(--pmk-green);
  background: var(--pmk-green-light);
  border-color: #d0ece3;
}

.intro-btn-solid {
  background: var(--pmk-green);
  color: var(--pmk-white);
}

.intro-btn-solid:hover {
  background: var(--pmk-green-dark);
}

/* report frame board  */
.report-frame-board {
  position: relative;
  overflow: hidden;
  flex: 1;
}

/* iframe  */
#report-frame {
  height: 100%;
  width: 100%;
}

/* spinner  */
.loading-state {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #d0ece3;
  border-top-color: var(--pmk-green);
  border-radius: 50%;

  animation: loadingStateSpinner 1s linear infinite;
}

@keyframes loadingStateSpinner {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.spinner-text {
  color: #6b7c74;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

/* empty report board container  */
.report-board-empty {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-board-icon {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #dde8e3;

  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empty-board-title {
  color: var(--pmk-blue-dark);
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 12px;
}

.empty-board-subtitle {
  color: #6b7c74;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.65;
  margin-top: 0;
}

.report-hints {
  display: flex;
  align-items: center;
  gap: 4px;

  color: #6b7c74;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 24px;
  border-radius: 20px;
  border: 1px solid #dde8e3;
  margin-top: 12px;
}

/* mobile report list panel (sidebar) */

.open {
  display: block !important;
  left: 0 !important;
}

.mobile-panel-report-list {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--pmk-white);
  border-bottom: 1px solid #dde8e3;
}

.report-menu-button {
  width: 36px;
  height: 36px;

  cursor: pointer;
  color: var(--pmk-green);
  border-radius: 8px;
  border: 1px solid #d0ece3;
  background: var(--pmk-green-light);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-panel-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pmk-blue-dark);
}

/* report drawer mask  */
.report-panel-mask {
  display: none;
  position: fixed;
  top: 90px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 300;
}

/* report drawer  */
.report-drawer {
  position: fixed;
  top: 90px;
  left: -100%;
  width: 300px;
  max-width: 90vw;
  height: 100%;
  background: var(--pmk-white);
  border-right: 1px solid var(--pmk-border);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

/* report drawer header  */
.report-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--pmk-border);
}

.report-drawer-header-title {
  color: var(--pmk-blue-dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.report-drawer-close-button {
  width: 30px;
  height: 30px;

  color: #6b7c74;
  border-radius: 7px;
  border: 1px solid #dde8e3;
  background: #f5f7f6;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

#drawer-search-field {
  width: 100%;
  padding: 8px 10px 8px 34px;
  border: 1px solid #dde8e3;
  border-radius: 8px;
  font-size: 12.5px;
  font-family: "Google Sans", sans-serif;
  color: #2c3e32;
  background: #f5f7f6;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

/* reset footer  */
.footer-main {
  margin-top: 0 !important;
}

.copyright {
  background-color: #fff !important;
}

/* responsive styles:: small devices  */
@media (max-width: 767.98px) {
  /* override style  */
  #report-hero .container-width,
  #report-area .container-width {
    width: unset;
  }

  /* hero section  */
  .report-breadcrumb {
    margin-bottom: 24px;
  }

  .report-hero-title {
    font-size: 1.65rem;
  }

  .report-hero-text {
    max-width: unset;
    font-size: 0.875rem;
    margin-top: 6px;
  }

  /* report area container  */
  .report-area-container {
    min-height: 480px;
  }

  /* sidebar view panel */
  .report-view-panel {
    display: none;
  }

  /* intro top bar  */
  .report-intro-bar {
    flex-wrap: wrap;
    padding: 8px 24px 16px;
  }

  .report-intro-title {
    font-size: 1rem;
  }

  .report-intro-text {
    font-size: 0.75rem;
  }

  /* report meta buttons  */
  .intro-btn {
    padding: 7px 12px;
  }

  .intro-btn-text {
    display: none;
  }

  .loading-state {
    top: 30%;
  }

  .spinner-text {
    font-size: 0.875rem;
  }

  /* empty report board  */
  .report-board-empty {
    top: 18%;
    left: unset;
    transform: unset;
    margin-left: 10px;
    margin-right: 10px;
  }

  .empty-board-icon {
    padding: 12px;
    border-radius: 10px;
  }

  .empty-board-icon svg {
    width: 28px;
    height: 28px;
  }

  .report-hints {
    font-size: 0.8rem;
    padding: 6px 18px;
    margin-top: 10px;
  }

  .report-hints svg {
    width: 14px;
    height: 14px;
    margin-bottom: 2px;
  }

  /* visible report list mobile panel  */
  .mobile-panel-report-list {
    display: flex;
  }
}

/* responsive styles:: medium devices  */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* hero  */
  .report-hero-title {
    font-size: 1.85rem;
  }

  .report-hero-text {
    font-size: 0.875rem;
  }

  /* report area container  */
  .report-area-container {
    min-height: 480px;
  }

  /* sidebar view panel */
  .report-view-panel {
    display: none;
  }

  /* intro top bar  */
  .report-intro-bar {
    flex-wrap: wrap;
    padding: 8px 24px 16px;
  }

  .report-intro-title {
    font-size: 1rem;
  }

  .report-intro-text {
    font-size: 0.75rem;
  }

  /* report meta buttons  */
  .intro-btn {
    padding: 7px 12px;
  }

  .intro-btn-text {
    display: none;
  }

  .loading-state {
    top: 30%;
  }

  .spinner-text {
    font-size: 0.875rem;
  }

  /* empty report board  */
  .report-board-empty {
    top: 22%;
  }

  .empty-board-icon {
    padding: 12px;
    border-radius: 10px;
  }

  .empty-board-icon svg {
    width: 28px;
    height: 28px;
  }

  .report-hints {
    font-size: 0.8rem;
    padding: 6px 18px;
    margin-top: 10px;
  }

  .report-hints svg {
    width: 14px;
    height: 14px;
    margin-bottom: 2px;
  }

  /* visible report list mobile panel  */
  .mobile-panel-report-list {
    display: flex;
  }
}

/* responsive styles:: large devices  */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* sidebar  */
  .report-view-panel {
    width: 240px;
  }
  .report {
    gap: 4px;
    padding: 12px 24px 12px 16px;
  }
}

/* responsive styles:: extra large devices  */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* sidebar */
  .report-view-panel {
    width: 240px;
  }

  .report {
    gap: 4px;
    padding: 12px 24px 12px 16px;
  }
}

/* responsive styles:: extra extra large devices  */
@media (min-width: 1400px) {
}
