/*
 CSS for the main interaction
*/
.tabset > input[type="radio"] {
    position: absolute;
    left: -200vw;
  }
  
  .tabset .tab-panel {
    display: none;
  }
  
  .tabset > input:first-child:checked ~ .tab-panels > .tab-panel:first-child,
  .tabset > input:nth-child(3):checked ~ .tab-panels > .tab-panel:nth-child(2),
  .tabset > input:nth-child(5):checked ~ .tab-panels > .tab-panel:nth-child(3),
  .tabset > input:nth-child(7):checked ~ .tab-panels > .tab-panel:nth-child(4),
  .tabset > input:nth-child(9):checked ~ .tab-panels > .tab-panel:nth-child(5),
  .tabset > input:nth-child(11):checked ~ .tab-panels > .tab-panel:nth-child(6) {
    display: block;
  }
  
  /*
   Styling
  */
  
  .tabset > label {
    position: relative;
    
    background-color: white;
    display: inline-block;
    padding: 15px 15px 5px;
    border: 1px solid transparent;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
    cursor: pointer;
    font-size:1.1em;
    font-weight: 400;
    color:rgba(0,102,204,1);
  }

  .chat-unread-badge {
    display: inline-block;
    background: #ff4757;
    color: white;
    font-size: 0.65em;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
    margin-left: 0;
    vertical-align: middle;
    position: relative;
    top: -8px;
  }
  

  
  input:focus-visible + label {
    outline: 2px solid rgb(0, 0, 0);
    border-radius: 3px;
  }
  
  .tabset > label:hover,
  .tabset > input:focus + label,
  .tabset > input:checked + label {
    color: rgb(0, 0, 0);
  }
  
 
  
  
.tabset > input:checked + label {
    border-color: #ccc;
    border-bottom: none; /* Remove the bottom border to make it visually connected */
    margin-bottom: -1px; /* Extend the selected tab downward */
    position: relative;
    z-index: 1; /* Bring the selected tab to the front */
    padding-bottom: 16px; /* Extend the padding to make it visually overlap the line */
    background: linear-gradient(to bottom, rgb(218, 237, 255), rgb(255, 255, 255), rgb(255, 255, 255));

}
  
  .tab-panel {
    padding-top: 20px;
    border-top: 1px solid #ccc;
  }
  
@media (max-width: 480px) {
  .tabset > label {
    padding: 12px 10px 5px;
    font-size: 0.95em;
  }

  .tabset > input:checked + label {
    padding-bottom: 13px;
  }
}

@media (max-width: 360px) {
  .tabset > label {
    padding: 10px 8px 4px;
    font-size: 0.85em;
  }

  .tabset > label i {
    margin-right: 2px;
  }

  .tabset > input:checked + label {
    padding-bottom: 11px;
  }
}
