
#tiktok-helper-page-icon {
  position: fixed; 
  bottom: 5px;       
  right: 5px;      
  width: 48px;      
  height: 48px;     
  z-index: 9999;    
  cursor: pointer;  
  border: 2px solid #038783;
  border-radius: 10%; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
  transition: transform 0.2s ease-in-out; 
}



#tiktok-helper-page-icon:hover {
    transform: scale(1.1);
}

#tiktok-helper-all-icon {
    position: fixed; 
    bottom: 5px;       
    left: 5px;      
    width: 48px;      
    height: 48px;     
    z-index: 9999;    
    cursor: pointer;  
    border: 2px solid #038783;
    border-radius: 10%; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /*(Tùy chọn) Thêm đổ bóng */
    transition: transform 0.2s ease-in-out; 
  }
  
  
  
  #tiktok-helper-all-icon:hover {
      transform: scale(1.1);
  }
  

#tiktok-helper-info-panel {
position: fixed; 
bottom: 75px; 
right: 15px; 
min-width: 500px;
max-width: 800px;
max-height: 800px; 
overflow-y: auto; 
background-color: white;
border: 2px solid #c0597c;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
padding: 15px;
z-index: 10000; 
display: none; 
font-family: sans-serif; 
font-size: 14px;
color: #333;
}


#tiktok-helper-info-panel h3 {
margin-top: 0;
margin-bottom: 10px;
font-size: 16px;
color: #038783;
border-bottom: 1px solid #eee;
padding-bottom: 5px;
}


#tiktok-helper-info-panel ul {
list-style: disc;
margin-left: 20px;
padding-left: 0;
}

#tiktok-helper-info-panel table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

#tiktok-helper-info-panel th, 
#tiktok-helper-info-panel td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    white-space: nowrap; 
}

#tiktok-helper-info-panel th {
    background-color: #f1f1f1;
    font-weight: bold;
    color: #73b7c4;
}

#tiktok-helper-info-panel-x {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 94vw;
    height: 90vh;
    min-width: 1200px;
    min-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 2px solid #c0597c;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    padding: 15px;
    z-index: 10000;
    font-family: sans-serif;
    font-size: 14px;
    color: #333;
    display: none;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.tab-buttons {
    display: flex;
    width: 50%;
}

.tab-button {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    background-color: #f1f1f1;
    border: none;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s;
}

.tab-button:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.tab-button:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #038783;
    color: white;
}

#load-data-btn {
    padding: 8px 14px;
    background-color: #038783;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#load-data-btn:hover {
    background-color: #026c67;
}

#load-data-btn:disabled {
    background-color: #ccc !important; 
    color: #666;
    cursor: not-allowed;
}

.tab-content {
    padding: 10px;
}

.tab-content table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

#load-data-btn {
    padding: 8px 14px;
    background-color: #038783;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#load-data-btn:hover {
    background-color: #026c67;
}

.tab-content {
    padding: 10px;
}

#tab-biz th,
#tab-ads th {
  background-color: #f5f5f5;   
  padding: 12px 8px;           
  font-weight: bold;
  color: #038783;
  font-size: 14px;
}

#tab-biz table td {
  color: #0f927c;
}

#tab-ads table td {
    color: #0f927c;
}

#tab-ads th,
#tab-ads td,
#tab-biz th,
#tab-biz td {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#tab-ads td:nth-child(2),
#tab-biz td:nth-child(2),
#tab-ads td:nth-child(7) {
  text-align: left;
  padding-left: 20px;
}

#tab-biz td:nth-child(3),
#tab-ads td:nth-child(3),
#tab-ads td:nth-child(4),
#tab-ads td:nth-child(5) {
  text-align: right;
  padding-right: 10px;
}

  #tab-ads th:nth-child(1), 
  #tab-ads td:nth-child(1),
  #tab-ads th:nth-child(8), 
  #tab-ads td:nth-child(8),
  #tab-ads th:nth-child(9), 
  #tab-ads td:nth-child(9),
  #tab-biz td:nth-child(1),
  #tab-biz td:nth-child(5),
  #tab-biz td:nth-child(6),
  #tab-biz th:nth-child(1),
  #tab-biz th:nth-child(5),
  #tab-biz th:nth-child(6) {
      width: 90px;
  }
  
  #tab-ads th:nth-child(3), 
  #tab-ads td:nth-child(3),
  #tab-ads th:nth-child(4), 
  #tab-ads td:nth-child(4),
  #tab-ads th:nth-child(5), 
  #tab-ads td:nth-child(5),
  #tab-ads th:nth-child(6), 
  #tab-ads td:nth-child(6)
  #tab-biz td:nth-child(3),
  #tab-biz td:nth-child(4),
  #tab-biz th:nth-child(3),
  #tab-biz th:nth-child(4) {
      width: 150px;
  }

#search-input {
    width: 250px;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex-grow: 1;
    color: #333;
    transition: all 0.2s ease-in-out;
}

#search-input:focus {
    border: 1px solid #038783 !important;
    color: #038783 !important;
    outline: none;
}