#modal-detalhe-fundos {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
}

.modal-detalhe-fundos-content {
  background-color: #fefefe;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 900px;
  position: relative;
  height: auto;
  max-height: 90vh; 
  overflow-y: auto;
}

.modal-detalhe-fundos-container{
  padding: 25px 6%;
}

.modal-detalhe-fundos-container h2{
  font-size: 32px;
  font-weight: normal;
}

.close-modal.detalhe-fundos{
    color: #6A90FF;
    font-size: 50px;
    font-weight: 200;
    line-height: 0.5;
}

.close-modal:hover,
.close-modal:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.divider {
  background-color: #C50030;
  height: 2px;
  width: 28px;
  margin-bottom: 8px;
}

.modal-detalhe-fundos-calendar-header {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding: 30px 0 32px 0px;
}

.modal-detalhe-fundos-calendar-header-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.modal-detalhe-fundos-calendar-header label {
  margin: 0 0 5px 5px;
  font-size: 15px;
  color: #47484C;
}

#detalhe-fundos-modal-calendario-yearSelect{
  border: none;
  border-bottom: 3px solid #F0F1F5;
  width: 120px;
  font-size: 18px;
  color: #47484C;
  cursor: pointer;
}

#detalhe-fundos-modal-calendario-yearSelect:focus,
#detalhe-fundos-modal-calendario-yearSelect option:checked {
  color: #47484C;
  font-size: 18px;
  border-bottom: 2px solid #F0F1F5;
  border: none;
  outline: none;
}

#detalhe-fundos-modal-calendario-yearSelect::after {
  content: '▼';
  position: absolute;
  right: 10px;
  pointer-events: none;
}

#detalhe-fundos-modal-calendario-monthSelect{
  border: none;
  border-bottom: 3px solid #F0F1F5;
  width: 120px;
  font-size: 18px;
  color: #47484C;
}

#detalhe-fundos-modal-calendario-monthSelect option{
  color: #47484C;
  font-size: 12px;
}

.modal-detalhe-fundos-calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.modal-detalhe-fundos-calendar-row {
  display: flex;
  justify-content: space-between;
}

.detalhe-fundos-modal-calendario-striped-row {
  background-color: #F0F1F5;
  border-radius: 8px;
  margin: 15px;
}

.detalhe-fundos-modal-calendario-white-row {
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  padding: 0 0 10px 0;
}

.modal-detalhe-fundos-calendar-date {
  width: 14.28%;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.modal-detalhe-fundos-calendar-subcell-container {
  width: 14.28%;
  display: flex;
  justify-content: center;
}

.modal-detalhe-fundos-calendar-subcell {
  font-size: 14px;
  color: #47484C;
  text-align: center;
  pointer-events: none;
}
