body {
  background-color: #f9fafb; 
}

/* Utility Classes Approximation */
.container {
  max-width: 1280px; /* max-w-7xl */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* px-4 */
  padding-right: 1.5rem; /* px-4 */
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem; /* lg:px-8 */
    padding-right: 2rem; /* lg:px-8 */
  }
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-y-8 > * + * {
  margin-top: 2rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Header Styles */
.header {
  background-color: #ffffff; /* bg-white */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}
.header h1 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
}
.header p {
  font-size: 1.125rem; /* text-lg */
  color: #4b5563; /* text-gray-600 */
}

@media (max-width: 640px) {
  .header h1 {
    font-size: 1.5rem; /* text-2xl */
    line-height: 2rem;
  }
  .header p {
    font-size: 1rem; /* text-base */
    line-height: 1.5rem;
  }
}

.header a {
  color: #4b5563; /* text-gray-600 */
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

.back-button {
  border: none;
  background: none;
  color: #4b5563; /* text-gray-600 */
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background-color 0.15s;
}
.back-button:hover {
  background-color: #f3f4f6; /* hover:bg-gray-100 equivalent */
}
.arrow-icon {
  margin-right: 0.25rem;
  width: 1rem;
  height: 1rem;
  display: inline-block;
}

.min-h-screen {
  min-height: 100vh;
}

/* --- Layout & Containers --- */
.header-bg {
  background-color: #ffffff; /* bg-white */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.center {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* --- Card Styles (Replaces Card, CardHeader, CardContent) --- */
.card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  border-radius: 0.5rem; /* rounded-lg */
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 750px;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6; /* light separator */
}
.card-header h2 {
  font-size: 1.25rem; /* CardTitle */
  font-weight: 600;
  margin: 0;
}
.card-header p {
  font-size: 0.875rem; /* CardDescription */
  color: #6b7280; /* text-gray-500 */
  margin-top: 0.25rem;
}

.card-content {
  padding: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

/* --- Form Elements --- */
.space-y-6 > div {
  margin-bottom: 1.5rem; /* space-y-6 */
}
.space-y-6 > div:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  font-size: 0.875rem; /* Label */
  font-weight: 500;
  color: #111827;
  margin-bottom: 0.25rem;
}

.input-field,
.select-field {
  display: block;
  width: 100%;
  padding: 0.625rem 0.75rem; /* px-3 py-2 */
  margin-top: 0.25rem;
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
  background-color: #ffffff;
  color: #1f2937;
}

.input-field:focus,
.select-field:focus {
  outline: none;
  border-color: #10b981; /* focus:ring-green-500 */
  box-shadow: 0 0 0 1px #10b981;
}

.relative-input-wrapper {
  position: relative;
}
.currency-symbol {
  position: absolute;
  left: 0.75rem; /* left-3 */
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280; /* text-gray-500 */
  font-size: 1rem;
}
.pl-8 {
  padding-left: 2rem !important; /* pl-8 override */
}

/* --- Submit Button --- */
.submit-button {
  display: block;
  width: 100%; /* w-full */
  padding: 0.75rem 1.5rem; /* size="lg" equivalent */
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #16a34a; /* bg-green-600 */
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.15s;
  border: 1px solid #16a34a;
}
.submit-button:hover {
  background-color: #15803d; /* hover:bg-green-700 */
}

/* --- Instructions Section --- */
.instruction-list {
  list-style: decimal;
  list-style-position: inside;
  padding-left: 0;
  margin: 0;
}

.instruction-list li {
  margin-bottom: 0.5rem;
  color: #374151; /* text-gray-700 */
  font-size: 1rem;
}

.instruction-list li span {
  font-weight: 500;
}

.note-box {
  background-color: #ecfdf5; /* bg-green-50 */
  border: 1px solid #a7f3d0; /* border-green-200 */
  border-radius: 0.375rem;
  padding: 1rem; /* p-4 */
}
.note-box p {
  font-size: 0.875rem; /* text-sm */
  color: #065f46; /* text-green-800 */
  margin: 0;
}
.note-box strong {
  font-weight: 700;
}

.text-center {
  text-align: center;
}
.text-sm {
  font-size: 0.875rem;
}
.text-gray-500 {
  color: #6b7280;
}
