/* =============================================
   RECo-op Calculator v3.0 – Profile Setup Styles
   ============================================= */

/* ─────────────────────────────────────────────
   PROFILE SETUP FORM (STEP 1)
───────────────────────────────────────────── */

.rc3-profile-card {
  margin: 0 auto;
  padding: 40px;
}

.rc3-profile-header {
  text-align: left;
  margin-bottom: 40px;
}

.rc3-profile-label {
  display: block;
  font-size: 12px;
  color: rgba(174, 101, 0, 1);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.rc3-profile-title {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--rc-gray-900);
  margin-bottom: 12px;
  line-height: 1.2;
}

.rc3-profile-desc {
  display: block;
  font-size: 14px;
  color: var(--rc-gray-400);
  line-height: 1.6;
  margin: 0;
}

.rc3-profile-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rc3-profile-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc3-profile-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--rc-text);
}

.rc3-profile-input {
  padding: 14px 14px;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--rc-text);
  line-height: 1.5;
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
  background-color: var(--rc-white);
}

.rc3-profile-input:focus {
  outline: none;
  border-color: var(--rc-green);
  box-shadow: 0 0 0 3px rgba(47, 124, 82, .1);
}

.rc3-profile-input::placeholder {
  color: var(--rc-gray-300);
}

.rc3-profile-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7785' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
  height: auto;
  line-height: 1.5;
}

.rc3-profile-hint {
  font-size: 12px;
  color: var(--rc-gray-400);
  margin: 0;
  line-height: 1.5;
}

.rc3-profile-phone-row {
  display: flex;
  gap: 10px;
}

.rc3-profile-country {
  flex: 0 0 100px;
}

.rc3-profile-phone {
  flex: 1;
}

.rc3-profile-location {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rc3-profile-location-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* Datalist combo (text input + suggestions) */
.rc3-profile-datalist-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.rc3-profile-datalist-wrap .rc3-profile-input {
  width: 100%;
  padding-right: 38px;
}

.rc3-profile-datalist-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rc-gray-400);
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* Keep select styling for country code only */

.rc3-profile-hint-large {
  font-size: 13px;
  color: var(--rc-gray-500);
  text-align: center;
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--rc-gray-100);
}


/* Street address with pin icon */
.rc3-profile-address-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.rc3-profile-address-input {
  width: 100%;
  padding-right: 42px;
}

.rc3-profile-address-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rc-gray-400);
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* Zip code row — left-aligned narrow input */
.rc3-profile-zip-row {
  display: block;
}

.rc3-profile-zip-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 200px;
}

/* Footer row: hint left, button right */
.rc3-profile-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rc-gray-100);
  flex-wrap: wrap;
}

.rc3-profile-hint-left {
  margin: 0;
  text-align: left;
  border-top: none;
  padding-top: 0;
  font-size: 13px;
  color: var(--rc-gray-400);
}

/* Proceed Setup button color override */
#rc3-proceed-setup-btn {
  background: rgba(80, 145, 55, 0.67);
  box-shadow: 0 6px 16px rgba(80, 145, 55, 0.25);
}

#rc3-proceed-setup-btn:hover {
  background: rgba(80, 145, 55, 0.85);
  box-shadow: 0 8px 22px rgba(80, 145, 55, 0.35);
}

@media (max-width: 600px) {
  .rc3-profile-card {
    padding: 24px;
  }

  .rc3-profile-title {
    font-size: 22px;
  }

  .rc3-profile-phone-row {
    flex-direction: column;
  }

  .rc3-profile-country {
    flex: 1;
  }

  .rc3-profile-location {
    grid-template-columns: 1fr;
  }

  .rc3-profile-footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .rc3-profile-zip-col {
    max-width: 100%;
  }
}
.rc3-coop-custom {
  position: relative;
  width: 100%;
}

.rc3-coop-custom select {
  display: none !important;
}

.rc3-coop-display {
  width: 100%;
  min-height: 48px;
  padding: 14px 38px 14px 14px;
  border: 1px solid var(--rc-border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  color: var(--rc-text);
  cursor: pointer;
}

.rc3-coop-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--rc-border);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  z-index: 99999;
  display: none;
}

.rc3-coop-custom.is-open .rc3-coop-menu {
  display: block;
}

.rc3-coop-option {
  padding: 11px 14px;
  font-size: 14px;
  cursor: pointer;
}

.rc3-coop-option:hover {
  background: #e8f5ee;
}