/* Form Styles - Converted from Tailwind CSS */
@font-face {
  font-family: 'PepsiOwner';
  src: url('/public/assets/fonts/pepsi-owners/PepsiOwners-Extended.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Base form styling */
body {
  background-color: #0025FF;
  color: #fff;
}
.message-title {
  text-align: center;
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
  font-size: 40px;
  color: #fff;
}

.message-subtitle {
  text-align: center;
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
  font-size: 24px;
  color: #fff;
}
.form-container {
  display: block;
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
}

/* Form field container */
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  /* mb-10 = 40px = 2.5rem */
}

/* Form field row container */
.form-field-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* gap-x-4 = 16px = 1rem */
}

/* Form field half width */
.form-field-half {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  width: 100%;
}

/* Form field checkbox row */
.form-checkbox-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 2.5rem;
  gap: 0.875rem;
  /* gap-x-[14px] = 14px = 0.875rem */
}

/* Form submit container */
.form-submit-container {
  display: flex;
  justify-content: center;
}

/* Labels */
.form-label {
  font-size: 16px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* Input fields */
.form-input {
  color: #6A7280;
  border-radius: 9999px;
  /* rounded-full */
  text-transform: uppercase;
  border: 1px solid #d1d5db;
  /* Default border */
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
}

.form-input:focus {
  outline: none;
  border-color: #0ea5e9;
  /* cyan-500 */
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Select dropdown */
.form-select {
  color: #6A7280;
  border-radius: 9999px;
  /* rounded-full */
  text-transform: uppercase;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
}

.form-select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

/* Checkbox */
.form-checkbox {
  position: static !important;
  color: black !important;
  background-color: #0474ff !important;
  width: 5rem;
  min-width: 3rem;
  height: 2rem;
  margin: 0;
  cursor: pointer;
}

/* Checkbox label */
.form-checkbox-label {
  font-size: 0.875rem;
  /* text-sm */
  font-family: sans-serif;
  font-weight: normal;
  line-height: 1.5;
}

/* Links in checkbox label */
.form-checkbox-label a {
  text-decoration: underline;
  font-weight: 500;
  color: inherit;
  transition: color 0.15s ease-in-out;
}

.form-checkbox-label a:hover {
  color: black;
}

/* Submit button */
.form-submit-button {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0.125rem;
  /* p-0.5 */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, text-decoration-color 0.15s ease-in-out,
    fill 0.15s ease-in-out, stroke 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  border: 1px solid transparent;
  text-align: center;
  border-radius: 9999px;
  /* rounded-full */
  font-family: 'PepsiOwner', sans-serif;
  font-weight: bold;
  background-color: white;
  color: #0025FF;
  /* text-primary */
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-submit-button:hover {
  background-color: black;
  color: white;
}

.form-submit-button:focus {
  z-index: 10;
  outline: none;
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.3);
  /* focus:ring-4 focus:ring-cyan-300 */
}

.form-submit-button:enabled:hover {
  background-color: #000;
  /* enabled:hover:bg-cyan-800 */
}

/* Submit button span */
.form-submit-button span {
  display: flex;
  align-items: stretch;
  transition: all 0.2s ease-in-out;
  border-radius: 0.375rem;
  /* rounded-md */
  padding: 0.75rem 1.5rem;
  /* px-6 py-3 */
  font-size: 1rem;
  /* text-base */
}

/* For WebKit browsers (Chrome, Safari, Edge) */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Optional: Removes any default margin */
}

/* For Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

/* Responsive design */
@media (min-width: 768px) {
  .form-field-row {
    flex-direction: row;
  }

  .form-field-half {
    width: calc(50% - 0.5rem);
    /* md:w-[calc(50%-0.5rem)] */
  }
}