/* assets/css/style.css */

/* Base Styles */
.tbh-calculator-dashboard {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
}

.tbh-tab-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  border-bottom: 1px solid #ddd;
}

.tbh-tab-menu li {
  flex: 1 1 auto;
  text-align: center;
  padding: 10px 5px;
  cursor: pointer;
  background: #f1f1f1;
  margin-right: 2px;
  border-radius: 4px 4px 0 0;
  font-size: 14px;
  box-sizing: border-box;
}

.tbh-tab-menu li:last-child {
  margin-right: 0;
}

.tbh-tab-menu .active {
  background: #f9961f; /* Updated to f9961f */
  color: #fff;
}

.tbh-tab-content {
  border: 1px solid #ddd;
  padding: 15px;
  background: #fff;
  box-sizing: border-box;
}

.tbh-tab-pane {
  display: none;
}

.tbh-tab-pane.active {
  display: block;
}

.tbh-calculator-dashboard h3 {
  margin-top: 0;
  font-size: 18px;
  margin-bottom: 10px;
}

.tbh-calculator-dashboard form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tbh-calculator-dashboard label {
  flex: 1 1 100%;
  font-weight: 500;
  margin-bottom: 5px;
}

.tbh-calculator-dashboard input {
  flex: 1 1 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.tbh-calculator-dashboard button {
  flex: 1 1 100%;
  padding: 10px;
  background: #f9961f; /* Updated to f9961f */
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 15px;
  margin-top: 10px;
}

.tbh-calculator-dashboard button:hover {
  background: #cc7a16; /* Slightly darker hover state */
}

.tbh-calculator-dashboard p {
  margin: 8px 0;
  font-size: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tbh-tab-menu li {
    flex: 1 1 50%;
    font-size: 13px;
    padding: 8px 5px;
  }

  .tbh-calculator-dashboard form {
    flex-direction: column;
  }

  .tbh-calculator-dashboard label,
  .tbh-calculator-dashboard input,
  .tbh-calculator-dashboard button {
    flex: 1 1 100%;
    font-size: 14px;
  }

  .tbh-calculator-dashboard h3 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .tbh-tab-menu li {
    flex: 1 1 100%;
    font-size: 13px;
    padding: 6px 5px;
  }

  .tbh-calculator-dashboard {
    padding: 5px;
  }

  .tbh-calculator-dashboard h3 {
    font-size: 15px;
  }

  .tbh-calculator-dashboard input,
  .tbh-calculator-dashboard button {
    font-size: 13px;
    padding: 7px;
  }
}
