/* Force scheme for users with darkmode so modal doesn't invert colors */
:root {
  color-scheme: only light;
}

.data-table{
  width: 100% !important;
  border-collapse: collapse;
  border: 1px solid gray;
  white-space: nowrap;
  overflow: scroll;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
}

.data-table td{
  background-color: #FFFFFF;
  padding: 5px;
  white-space: normal;
  color: #000;
}
.data-table th{
    background-color: #EDEDED;
    border: 1px solid #969696;
    padding: 10px 5px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #000 !important;
}

.data-table .heading{
  border-top: 1px solid gray;
  border-bottom: 1px solid gray;
  background-color: #f9f9f9;
  font-weight: bold;
  
}

.data-table .section-end{
  border-bottom: 1px solid gray;
}

.data-title{
  font-size: 12px;
  color: #5c5c5c !important;
  padding-bottom:3px;
  width: 45%;
}


.cp-widget-content-container{
    display: block !important;
}

.data-span{
    white-space: nowrap;
    font-size: 12px;
    color: #000 !important;
    min-height: 300px;
    
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }


  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe !important;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 0px 10px 10px 10px;
    border: 1px solid #888;
    width: 75%; /* Could be more or less, depending on screen size */
  }

  @media (max-width: 1200px) {
    .modal-content {
      width: 75%; /* Adjust width for medium-sized screens */
    }
  }
  
  @media (max-width: 768px) {
    .modal-content {
      width: 90%; /* Adjust width for smaller screens */
    }
  }
  
  @media (max-width: 480px) {
    .modal-content {
      width: 100%; /* Full width for very small screens */
      margin: 15% 0px; /* 15% from the top and centered */
    }
  }

  .modal-content p{
    margin-bottom: 0px;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .center {
    text-align: center !important;
  }

  .border{
    border: 1px solid gray;
  }

  .sub-table, .sub-table th{
    border-top-width: 0px;
  }

  .fixed-table{
    table-layout: fixed !important;
  }

  .fixed{
    width: 130px !important;
  }

  .nobreak{
    white-space: nowrap !important;
  }

  .shutdown-details-label{
    max-width: 125px !important;
  }

  .btn-hotspot-close {
    position: absolute;
    
    top: 0px;
    right: 0px;
    background: transparent;
    color: #595959;
    border: none;
    width: 20px;
    height: 20px;
    font-size: 24px;
    /* border-radius: 50%; */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .btn-hotspot-close:hover, .close:focus {
    color: #000;
  }