body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
  }
  
  header {
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
  }
  
  main {
    padding: 20px;
  }
  
  #addClientSection {
    margin: 0 auto 20px auto; 
    width: fit-content;
  }

  #addClientForm {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  #addClientForm input,
  #addClientForm button {
    padding: 10px;
    font-size: 16px;
  }

  #clientRole {
    height: 42px;
  }
  
  #addClientForm button {
    background: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    height: 42px;
  }
  
  #addClientForm button:hover {
    background: #218838;
  }
  
  hr {
    margin: 30px 0;
  }
  
  table {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
  }  
  
  th, td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
  }
  
  button {
    padding: 6px 12px;
    cursor: pointer;
    background: #007bff;
    border: none;
    color: white;
    border-radius: 4px;
  }
  
  button.pause {
    background: #ffc107;
  }
  
  button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  
  button.delete {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
  }
  button.delete:hover {
    background: #c82333;
  }
  
  .filter-container {
    text-align: center;
    margin-bottom: 10px;
  }
  .filter-container select {
    margin-left: 8px;
    padding: 4px;
  }
  
  .floating-input {
    position: relative;
    margin-bottom: 16px;
  }
  
  .floating-input input {
    padding: 10px;
    font-size: 16px;
  }
  
  .floating-input label {
    position: absolute;
    top: 12px;
    left: 8px;
    font-size: 16px;
    color: #999;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    transition: 0.2s ease all;
  }
  
  .floating-input input:focus + label,
  .floating-input input:not(:placeholder-shown) + label,
  .floating-input.active label {
    top: -8px;
    left: 6px;
    font-size: 12px;
    color: #333;
  }
  
  /* Branch selection tabs on root and branch pages */
.branch-tabs {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.branch-tab {
  text-decoration: none;
  color: #fff;
  padding: 10px 32px;
  font-size: 1.1em;
  border-radius: 16px;
  background: #bebebe;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.branch-tab.active,
.branch-tab:hover {
  background: #363636;
  color: #fff;
}

/* Home (root) selection tabs */
.tabs {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  height: 25vh;
}
.tab-link {
  padding: 40px 60px;
  font-size: 2em;
  color: #fff;
  background: #8a8a8a;
  border-radius: 16px;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.tab-link:hover {
  background: #363636;
  color: #fff;
}

.home-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: text-decoration 0.2s;
}
.home-link:hover {
  text-decoration: underline;
}

.tooltip-message {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  cursor: pointer;
  color: red;
  text-decoration: underline dotted;
  font-size: 2rem;
}
.tooltip-message .tooltip-text {
  visibility: hidden;
  opacity: 0;
  width: 800px;
  background: #222;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  position: absolute;
  z-index: 99;
  bottom: 120%; /* place above */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.2s;
  font-size: 16px;
}
.tooltip-message:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
