/* css/style.css */

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Top Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.site-name h1 {
  font-size: 24px;
  color: #007bff;
}

.user-selection {
  display: flex;
  align-items: center;
}

.user-selection label {
  margin-right: 5px;
  font-weight: bold;
}

.user-selection select {
  margin-right: 15px;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Header and Tabs */
header {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav.tabs {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
}

nav.tabs ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
}

nav.tabs ul li {
  flex: 0 0 auto;
}

nav.tabs ul li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
}

nav.tabs ul li a:hover,
nav.tabs ul li a.active {
  background-color: #007bff;
  color: #fff;
}

/* Storage Options */
.storage-options {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.storage-options label {
  margin-right: 10px;
  font-weight: bold;
}

.storage-options select {
  padding: 8px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Table Controls */
.table-controls {
  max-width: 1200px;
  margin: 10px auto 20px auto;
  padding: 0 15px;
  display: flex;
  justify-content: flex-end;
}

.table-controls input {
  padding: 8px;
  font-size: 16px;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Price Table */
.price-table {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  overflow-x: auto;
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  min-width: 600px;
}

.price-table th,
.price-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  position: relative;
}

.price-table th {
  background-color: #f8f8f8;
  cursor: pointer;
  user-select: none;
}

.price-table th i {
  margin-left: 5px;
  font-size: 0.8em;
  color: #999;
}

/* Hover effect on table rows */
.price-table tr:hover {
  background-color: #eaeaea;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-selection {
    margin-top: 10px;
    flex-wrap: wrap;
  }

  nav.tabs ul {
    flex-direction: row;
  }

  .storage-options,
  .table-controls,
  .price-table {
    padding: 0 10px;
  }

  .price-table th,
  .price-table td {
    padding: 10px;
  }
}

/* Tooltip Styling */
.tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  display: none;
  z-index: 1001;
  pointer-events: none;
}

.tip-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.tip-box {
  /*max-width: 600px;  Limits the width of the tip box */
  /*width: 100%;  Allows for responsive behavior */
  padding: 15px;
  border: 2px solid #f0c14b;
  background-color: #fffbe6;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tip-box h3 {
  margin-top: 0;
  font-size: 18px;
  color: #d97706;
}

.tip-box p {
  margin: 10px 0;
  font-size: 14px;
