/* Card Styles */
.selection-card {
  background-color: var(--input-background);
  border-radius: 8px;
  padding: 25px;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--border-color);
}

.selection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
  background-color: rgba(51, 115, 220, 0.1);
  border-color: var(--primary-color);
}

.selection-card h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.selection-card p {
  color: #adbbd4;
  font-size: 16px;
}

/* Form Inputs */
.input-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #adbbd4;
}

.price-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--input-background);
  transition: var(--transition);
}

.price-input-wrapper.error {
  border-color: var(--error-color);
}

.currency-symbol {
  position: absolute;
  left: 12px;
  color: #adbbd4;
  font-weight: 500;
  z-index: 1;
}

.price-suffix {
  position: absolute;
  right: 12px;
  color: #adbbd4;
  z-index: 1;
}

input[type="text"] {
  width: 100%;
  padding: 12px 30px 12px 25px;
  border: none;
  font-size: 16px;
  font-weight: 500;
  background-color: transparent;
  color: var(--text-color);
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
  /* Ensure the input stays visible */
  z-index: 0;
}

input[type="text"]:focus {
  outline: none;
}

.error {
  color: var(--error-color);
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* Radio Buttons */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.radio-option {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.radio-option input[type="radio"] {
  margin-right: 6px;
  cursor: pointer;
}

.radio-option label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: normal;
}

/* Buttons */
.button-group {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

button {
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.calculateBtn {
  background-color: var(--primary-color);
  color: white;
}

.calculateBtn:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.calculateBtn:disabled {
  background-color: #2c374a;
  cursor: not-allowed;
  color: #6c7a93;
}

.resetBtn {
  background-color: transparent;
  color: #adbbd4;
  border: 1px solid #546178;
}

.resetBtn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  /* Slightly more visible hover state */
  border-color: var(--primary-color);
}

/* Back Button */
.back-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.back-btn:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Disclaimer */
.disclaimer {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 15px;
  margin: 25px 0;
  font-size: 14px;
}

.disclaimer-title {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
}

.asterisk {
  color: var(--error-color);
  font-size: 18px;
  margin-right: 5px;
}

.disclaimer p {
  color: #adbbd4;
  line-height: 1.5;
}