/* Blue gradient image: full width of content, no horizontal crop */
.enroll-content .features-section {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0px 20px 48px 20px;
  margin-bottom: 40px;
}

.enroll-content .feature-card {
  position: relative;
  z-index: 1;
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 180px;
}

.gradient-corner-enroll {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -15%);
  height: 60%;
  max-width: none;
  max-height: none;
  display: block;
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

.enroll-content .feature-card .description-title {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-white);
  padding: 0 10px 4px;
}

.enroll-content {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding-bottom: 48px;
  overflow-x: hidden;
}

/* Enroll form section */
.enroll-form-section {
  width: 100%;
  max-width: 750px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.enroll-form-section form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.enroll-form-section .enroll-row {
  display: flex;
  gap: 10px;
}

.enroll-form-section .enroll-row input {
  flex: 1;
  min-width: 0;
}

.enroll-form-section input[type="text"],
.enroll-form-section input[type="url"],
.enroll-form-section input[type="tel"],
.enroll-form-section textarea {
  width: 100%;
  padding: 8px 12px;
  background-color: var(--text-black);
  border: solid 2px var(--text-white);
  outline: none;
  color: var(--text-white);
  font-size: 1rem;
}

.enroll-form-section input::placeholder,
.enroll-form-section textarea::placeholder {
  color: var(--text-gray);
}

.enroll-form-section input:focus,
.enroll-form-section textarea:focus {
  border-color: var(--gray-medium);
}

.enroll-form-section textarea {
  min-height: 102px;
  max-height: 102px;
  resize: none;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--text-white) var(--text-black);
}

/* Squared scrollbar for bio textarea */
.enroll-form-section textarea::-webkit-scrollbar {
  width: 10px;
  border-radius: 0;
}

.enroll-form-section textarea::-webkit-scrollbar-track {
  background: var(--text-black);
  border: solid 2px var(--text-white);
  border-radius: 0;
}

.enroll-form-section textarea::-webkit-scrollbar-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: var(--text-white);
  border: none;
  border-radius: 0;
}

.enroll-form-section textarea::-webkit-scrollbar-thumb:hover,
.enroll-form-section textarea::-webkit-scrollbar-thumb:active {
  border-radius: 0;
}

.enroll-upload-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background-color: var(--text-black);
  border: solid 2px var(--text-white);
  cursor: pointer;
}

.enroll-upload-wrap:focus-within {
  border-color: var(--gray-medium);
}

.enroll-upload-placeholder {
  color: var(--text-gray);
  font-size: 1rem;
  pointer-events: none;
}

.enroll-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-white);
  pointer-events: none;
}

.enroll-upload-icon svg {
  width: 100%;
  height: 100%;
}

.enroll-form-section .enroll-upload-wrap input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* Contact number with +1 prefix */
.enroll-phone-wrapper {
  display: flex;
  align-items: stretch;
  border: solid 2px var(--text-white);
  background-color: var(--text-black);
}

.enroll-phone-prefix {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--text-white);
  font-size: 1rem;
  background-color: transparent;
  border-right: solid 2px var(--text-white);
}

.enroll-form-section .enroll-phone-wrapper input {
  flex: 1;
  min-width: 0;
  border: none;
  border-radius: 0;
}

.enroll-form-section .enroll-phone-wrapper input:focus {
  border: none;
  outline: none;
}

/* T&C checkboxes block */
.enroll-tnc-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enroll-form-section .enroll-tnc-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
  color: var(--text-white);
  font-size: 0.9rem;
}

.enroll-tnc-block input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border: 2px solid var(--text-white);
  background-color: var(--text-black);
  cursor: pointer;
  position: relative;
  vertical-align: middle;
}

.enroll-tnc-block input[type="checkbox"]:checked {
  background-color: var(--text-white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.enroll-form-section .enroll-submit-wrap {
  margin-top: 6px;
  display: flex;
  justify-content: center;
}

.enroll-form-section button[type="submit"] {
  font-weight: bold;
}
