.cost-breakdown {
    font-family: sans-serif;
    margin: 1em;
    position: relative;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    transform: translate(15%, -90%);
    width: 70%;
    box-shadow: 0px 2px 6px 0px rgba(23, 162, 184, 0.7);
    background: var(--background-color);
    overflow: hidden;
    isolation: isolate;
}

.cost-breakdown-close {
    position: absolute;
    height: 28px;
    right: 7px;
    top: 7px;
}
.cost-breakdown-close:hover {
    cursor: pointer;
    transform: scale(1.15);
  }

  .cost-total {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    padding: 0.4em 0.5em 0.2em;
    border-bottom: 1px solid #ccc;
  }
  
  .cost-table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .summary-row {
    cursor: pointer;
    border-bottom: 1px solid #ccc;
  }
  
  .summary-row:hover {
    background-color: #f9f9f9;
  }
  
  .icon-col {
    width: 2em;
    text-align: center;
  }
  
  .label-col {
    text-align: left;
  }
  
  .amount-col {
    text-align: center;
    white-space: nowrap;
  }
  
  .explanation-row td {
    font-size: 0.9em;
    padding: 0.4em 1em;
    color: var(--text-color);
    background-color: var(--navbar-background);
  }