/* Tax Exemption block */
.tax-exemption-options {
  border: 0.5px solid #ddd;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
}
.tax-exemption-options h3 {
  font-size: 18px;
}
.tax-exempt-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.tax-exempt-wrap input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.tax-exempt-wrap label {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
}

/* Dependent fields */
#taxExemptField {
  margin-top: 10px;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exempt-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exempt-input label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin: 0;
}

.exempt-input .required {
  color: #e2401c;
  margin-left: 1px;
}

.exempt-input input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.exempt-input input:focus {
  outline: none;
  border-color: #999;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.exempt-input input[type="file"] {
  font-size: 13px;
  color: #666;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
}
.upload-zone {
  border: 1.5px dashed #ccc;
  border-radius: 6px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: #fafafa;
  transition: background 0.15s;
}
.upload-zone:hover,
.upload-zone.drag-over {
  background: #f0f0f0;
  border-color: #999;
}
.upload-zone p {
  margin: 0 !important;
  font-size: 13px;
  color: #666;
  text-align: center;
}
.upload-zone .browse {
  color: #333;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.upload-zone .hint {
  font-size: 12px;
  color: #aaa;
}
.file-preview {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}
.file-preview.visible {
  display: flex;
}
.file-icon {
  width: 32px;
  height: 32px;
  background: #e8f0fe;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-info {
  flex: 1;
  min-width: 0;
}
.file-name {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-size {
  font-size: 12px;
  color: #999;
}
.remove-file {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 16px;
  color: #aaa;
  border-radius: 4px;
}
.remove-file:hover {
  color: #e2401c;
  background: #fef0ee;
}
.exempt-input .submit-btn {
  display: inline-block;
  padding: 10px 24px;
  background-color: #333;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.exempt-input .submit-btn:hover {
  background-color: #111;
}

.exempt-input .submit-btn:active {
  transform: scale(0.98);
}

.exempt-input .submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.exempt-submitted {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.exempt-submitted-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid #eee;
}
.exempt-submitted-row:last-of-type {
  border-bottom: none;
}
.exempt-submitted-label {
  color: #666;
  font-weight: 500;
}
.exempt-submitted-value {
  color: #333;
  word-break: break-all;
}
#exemptEdit {
  margin-top: 10px;
  font-size: 13px;
}
