.tabbed-popup {
    width: 100%;
    height: 100%;
    font-family: var(--font-family);
  }
  
  .tabbed-popup-tabs {
    display: flex;
    padding: 0;
    margin-top: 0.8rem;
  }
  
  .tabbed-popup-tab {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    background: var(--light-grey);
    padding: 0.625rem 1rem 0 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .tabbed-popup-tab.active {
    font-weight: 700;
    color: var(--default-text-color);
    border-top: 2px solid var(--item-border-color);
    border-left: 2px solid var(--item-border-color);
    border-right: 2px solid var(--item-border-color);
    border-bottom: none;
    position: relative;
    z-index: 1;
  }
  
  .tabbed-popup-tab:hover:not(.active) {
    background-color: #f5f5f5;
  }
  
  .tabbed-popup-content {
    display: none;
    padding: 0;
  }
  
  .tabbed-popup-content.active {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background: none !important;
    align-items: stretch;
    height: 100%;
  }
  
  .tabbed-popup-body {
    padding: 16px 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }
  
  .tab-2-content {
    background: var(--tab2-bg-gradient, linear-gradient(90deg, #2F5B88 1.94%, #558D9F 98.06%));
    border-radius: 0.25rem;
    padding: 1.25rem;
    color: var(--tab2-text-color, #FFFFFF);
    font-family: var(--font-family, 'Open Sans', sans-serif);
    font-size: 12px !important;
    font-weight: 400;
    line-height: 1.33rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1rem 0 1rem 0;
    padding-bottom: 3.5625rem;
    box-sizing: border-box;
    width: 100%;
    height: auto;
  }
  
  .emission-title {
    font-weight: 700;
    font-size: 12px;
  }
  
  .emission-columns {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  
  .emission-column {
    flex: 0 0 calc(50% - 0.5rem);
  }

  .emission-popup {
    margin-right: 1.5rem;
  }
  
  .emission-column.left {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 20px;
  }
  
  .emission-column.right {
    padding-left: 20px;
  }
  
  .emission-column table {
    width: 100%;
    border-collapse: collapse;
    color: white;
  }
  
  .emission-column th,
  .emission-column td {
    padding: 8px 4px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px !important;
  }
  
  .emission-column thead th {
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  
  .totals td {
    font-weight: 700;
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    padding-top: 1rem;
  }
  
  @media (max-width: 600px) {
    .emission-columns {
      flex-wrap: nowrap;
      overflow-x: auto;
    }
    .emission-column {
      flex: 0 0 auto;
      min-width: 220px;
    }
  }
