/* WV Paycheck Calculator Styles */
.wv-paycheck-calculator-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wv-paycheck-calculator-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.wv-paycheck-calculator-form {
  margin-bottom: 20px;
}

.wv-paycheck-calculator-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
  align-items: center;
}

.wv-paycheck-calculator-row label {
  flex: 1;
  min-width: 200px;
  margin-right: 10px;
  font-weight: 500;
}

.wv-paycheck-calculator-row input,
.wv-paycheck-calculator-row select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.wv-input-wrapper {
  flex: 1;
  display: flex;
  position: relative;
}

.wv-currency-symbol {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.wv-percentage-symbol {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.wv-input-wrapper input[type="number"] {
  width: 100%;
  padding-left: 25px;
}

.wv-input-wrapper input[id="wv-retirement-contribution"] {
  padding-right: 25px;
}

.wv-paycheck-calculator-button-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#wv-calculate-button {
  background-color: #000000;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#wv-calculate-button:hover {
  background-color: #333333;
}

.wv-paycheck-calculator-results {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
}

.wv-paycheck-calculator-results h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.wv-result-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.wv-result-net {
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 10px;
  border-top: 2px solid #ddd;
  border-bottom: none;
  padding-top: 15px;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
  .wv-paycheck-calculator-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .wv-paycheck-calculator-row label {
    margin-bottom: 5px;
    width: 100%;
  }

  .wv-input-wrapper,
  .wv-paycheck-calculator-row input,
  .wv-paycheck-calculator-row select {
    width: 100%;
  }
}
