/* GENERICS */
.cib-card-details {
  min-height: 100%;
  border-radius: 16px;
}

.cib-qis-table-container {
  overflow-x: auto;
  width: 100%;
  margin: 0;
}

@media (max-width: 375px) {
  .row {
    flex-direction: column;
  }

  table {
    min-width: 800px;
  }
}

/****************************/

.cib-buttons-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Button - See linked products */
.cib-btn-filters {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 0;
  width: 208px;
  height: 48px;
  background-color: var(--bbva-white-100);
  color: var(--bbva-electric-blue);
  font-family: "BentonMedium";
}

/* Dropdown - Documents Btn */
.cib-btn-documents {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 182px;
  height: 48px;
  border-radius: 8px;
  padding: 8px 16px;
  background-color: var(--bbva-electric-blue);
  border: none;
  color: var(--bbva-white-100);
}

.docu-icon,
.unfold-icon {
  display: flex;
  align-items: center;
}

.btn-label {
  width: 86px;
  height: 24px;
  font-family: "BentonMedium";
  font-size: 15px;
  line-height: 24px;
  flex: none;
  padding: 0;
  margin: 0;
}

.cib-documents-menu {
  width: 200px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  background-color: white;
  font-family: "BentonBook", sans-serif;
}

.cib-documents-title {
  font-family: "BentonBook", sans-serif;
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 4px;
  color: var(--bbva-midnight-blue);
  padding: 0px 16px;
}

.cib-documents-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0px 16px;
  font-family: "BentonMedium", sans-serif;
}

.cib-pdf-icon {
  display: flex;
  align-items: center;
  color: var(--bbva-midnight-blue);
}

.cib-doc-links a {
  font-weight: 600;
}

/****************************/

/* QIS Index Details */
.cib-qis-header {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cib-qis-title {
  display: flex;
  align-items: center;
}

.cib-qis-index-detail {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.cib-qis-bbg-ticker,
.cib-qis-strategy-name {
  display: flex;
  height: 64px;
  flex-direction: column;
  justify-content: flex-start;
}

.cib-qis-subtitle {
  margin: 0;
}

.cib-text-medium {
  color: var(--bbva-midnight-blue);
  font-family: "BentonMedium";
  font-weight: 500;
}

/****************************/

/* Index Details + Key facts */
.card-body-table {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.cib-row-details {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  margin-bottom: 20px;
}

.cib-row-details-last {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
}

.cib-row-title {
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15px;
  font-weight: 350;
  line-height: 24px;
  margin-bottom: 4px !important;
}

.cib-row-subtitle {
  color: var(--bbva-midnight-blue);
  font-family: "BentonMedium";
  font-size: 15px;
  line-height: 24px;
  margin-top: 0 !important;
}

.cib-custom-text li {
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15.008px;
  font-weight: 350;
  line-height: 24px;
  padding-left: 0;
  margin-left: 0;
}

/****************************/

/* Overview */
.cib-qis-overview {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cib-p-overview:first-of-type {
  margin-top: 24px;
}

.cib-qis-overview:last-of-type {
  gap: 8px;
  padding-top: 0;
}

.cib-p-overview {
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15px;
  font-weight: 350;
  line-height: 24px;
}

/****************************/

/* Historical Performance and Volatility Chart */
.cib-p-performance {
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15px;
  font-weight: 350;
  line-height: 24px;
  padding-top: 24px;
  padding-left: 24px;
}

.card-body-graph {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border-radius: 16px;
  padding: 16px;
  gap: 32px;
}

.card-body-graph-subsection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  align-self: stretch;
}

/****************************/

/* Key Metrics Table */
.table {
  background-color: var(--bbva-white-100);
  border-top: none !important;
}

.cib-qis-table-header {
  width: 100%;
  background-color: var(--bbva-white-100);
  vertical-align: top;
}

.cib-td-fill-text {
  color: var(--bbva-midnight-blue) !important;
  font-family: "BentonMedium" !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  padding: 8px;
}

.cib-th-title {
  color: var(--bbva-midnight-blue) !important;
  font-family: "BentonMedium" !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.cib-data-row {
  color: var(--bbva-midnight-blue) !important;
  font-family: "BentonBook" !important;
  font-size: 14px;
  font-weight: 350;
  line-height: 16px;
}

table.table tbody tr {
  border-bottom: 1px solid var(--bbva-grey-500);
}

.cib-qis-table-header {
  border-bottom: 1px solid var(--bbva-grey-500);
}

/****************************/

/* Disclaimer */
.cib-legal-disclaimer {
  padding: 24px;
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15px;
  font-weight: 350;
  line-height: 24px;
}