/* GENERICS */
.cib-card-details {
	min-height: 100%;
	border-radius: 16px;
}

.cib-underlyings-table-container {
	overflow-x: auto;
  width: 100%;
  margin: 0;
}

@media (max-width: 375px) {
	.row {
		flex-direction: column;
	}
	table {
		min-width: 800px;
	}
}
/****************************/

/* 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;
}

/****************************/

.cib-header-last-update {
  min-width: 150px;
}

/* Product Details */
.cib-product-header {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cib-product-title {
  display: flex;
  height: 40px;
  min-width: 25%;
  align-items: center;
}

.cib-product-identificator {
  display: flex;
  height: 64px;
  min-width: 150px;
  flex-direction: column;
}

/* ISIN y CUSIP, uno al lado del otro. La cabecera (.cib-product-header) va en
   columna, asi que sin esta caja el CUSIP cae debajo del ISIN. Con un solo
   hijo (el resto de contenedores, que no llevan CUSIP) se ve igual que antes.
   El wrap es para que en movil vuelvan a apilarse. */
.cib-product-ids-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
}

.cib-product-subtitle {  
  margin: 0;
}

.cib-text-italic {
  color: var(--bbva-midnight-blue);
  font-family: "BentonMediumItalic";
  font-weight: 500;
}
/****************************/

/* Product Details + Lifecycle */
.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;
}
/****************************/

/* Performance Chart */
.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;
}
/****************************/

/* Underlyings Table */
.table {
  background-color: var(--bbva-white-100);
  border-top: none !important;
}

.cib-underlying-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;
}

.underlyings td.cib-text-green {
  color: var(--bbva-green-dark) !important;
}

.underlyings td.cib-text-red {
  color: var(--bbva-red) !important;
}

tbody tr {
  border-bottom: 1px solid var(--bbva-grey-500);
} 
.cib-underlying-table-header {  
border-bottom: 1px solid var(--bbva-grey-500);
}
/****************************/

/* Legal Disclaimer */
.cib-legal-disclaimer {
  padding: 24px;
  color: var(--bbva-midnight-blue);
  font-family: "BentonBook";
  font-size: 15px;
  font-weight: 350;
  line-height: 24px;
}

/* Tooltip Price */
.custom-popover {
  background-color: var(--bbva-electric-blue);
  color: var(--bbva-white-100);
  border: none;
  max-width: 190px;
}

.custom-popover .popover-header {
  background-color: var(--bbva-electric-blue);
  color: var(--bbva-white-100);
  border-bottom: none;
  font-weight: bold;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding-bottom: 3px;
  font-family: "BentonMedium";
  font-size: 20px;
  line-height: 24px;
}

.custom-popover .popover-body {
  background-color: var(--bbva-electric-blue);
  color: var(--bbva-white-100);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  font-family: "BentonBook";
  font-size: 15px;
  line-height: 24px;
  padding-top: 3px;
}

/* Flecha */
.bs-popover-auto[data-popper-placement^=top]>.popover-arrow::after,
.bs-popover-top>.popover-arrow::after {
  border-top-color: var(--bbva-electric-blue);
}

.info-pd {
  font-size: 17px;
  position: relative;
  bottom: -3px;
  cursor: pointer;
}