.main-team-store {
  max-width: 650px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  box-sizing: border-box; }

/* =============================
   OUTER ELEMENTS (NO BORDER)
============================= */
.team-store-wrapper {
  max-width: 860px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif; }

.return-link {
  font-size: 15px;
  font-weight: 600;
  color: #004c98;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 14px; }
  .return-link::before {
    content: '';
    width: 7px;
    height: 7px;
    border-left: 2px solid #004c98;
    border-bottom: 2px solid #004c98;
    transform: rotate(45deg);
    display: inline-block; }

/* =============================
   BORDER BOX
============================= */
.team-store-box {
  border: 3px solid #004c98;
  padding: 20px;
  background: #fff; }
  .team-store-box h2 {
    font-size: 30px;
    font-weight: 800;
    color: #004c98;
    margin: 0 0 8px; }
  .team-store-box .intro {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #7a7a7a; }

/* =============================
   FORM STEPS
============================= */
.form-step-wrapper {
  padding: 30px; }

.form-step {
  display: none; }
  .form-step.active {
    display: block; }
  .form-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    margin-top: 5px;
    color: #253342; }

.step-subtext {
  font-size: 15px;
  margin-bottom: 25px;
  color: #253342; }

/* =============================
   FIELDS
============================= */
.form-row {
  display: flex;
  gap: 18px; }

.form-group {
  width: 100%;
  margin-bottom: 16px; }
  .form-group label {
    font-size: 13px;
    font-weight: 500;
    display: block;
    margin-bottom: 6px;
    color: #253342; }
  .form-group .required {
    color: #e51520; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    height: 42px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #f5f8fa; }
  .form-group textarea {
    height: 90px; }
  .form-group input[type="file"] {
    border: none;
    padding-left: 0;
    background: none; }
  .form-group input[type="date"] {
    position: relative;
    cursor: pointer;
    padding-right: 36px; }
  .form-group input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer; }
  .form-group input[type="date"]::-moz-focus-inner {
    border: 0; }

.file-hint {
  font-size: 12px;
  color: #555;
  margin-bottom: 6px; }

.RichText {
  color: #043950;
  font-size: 15px; }
  .RichText span a {
    color: #0274be;
    text-decoration: underline; }

/* =============================
   PROGRESS BAR
============================= */
.progress-wrapper {
  margin: 22px 0 26px; }

.progress-track {
  min-width: 100%;
  height: 12px;
  border-radius: 12px;
  background: #e5e5e5; }

.progress-fill {
  height: 100%;
  width: 33.333%;
  background: #425b76;
  transition: width 0.3s ease;
  border-radius: 12px; }

.progress-text {
  font-size: 12px;
  text-align: right;
  margin-top: 6px; }

/* =============================
   BUTTONS
============================= */
.actions {
  display: flex;
  align-items: center;
  gap: 12px; }
  .actions .next,
  .actions .submit {
    margin-left: auto; }

.btn {
  border-width: 1px;
  border-style: solid;
  border-color: transparent;
  border-radius: 6px;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 600;
  display: block;
  text-align: center;
  cursor: pointer;
  background-color: #425b76;
  color: #fff;
  transition: transform 0.2s ease-out, background-color 0.2s linear, box-shadow 0.2s; }

/* =============================
   CHECKBOX (LIVE STYLE)
============================= */
.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #253342;
  cursor: pointer;
  margin-top: 25px; }
  .checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #0a5aa3;
    border-radius: 2px;
    background-color: #f5f8fa;
    position: relative;
    cursor: pointer;
    margin-top: 2px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease; }
    .checkbox-wrap input[type="checkbox"]:hover, .checkbox-wrap input[type="checkbox"]:focus-visible {
      box-shadow: 0 0 2px #035d6a; }
    .checkbox-wrap input[type="checkbox"]:checked {
      background-color: #f5f8fa; }
      .checkbox-wrap input[type="checkbox"]:checked::after {
        content: '';
        position: absolute;
        inset: 0;
        background-color: #253342;
        mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 16'%3E%3Cpath d='M1.013 8.11c0-.223.078-.412.234-.568l1.14-1.14c.155-.155.345-.233.568-.233s.413.077.57.233l2.46 2.47 5.492-5.5a.774.774 0 0 1 .568-.234c.224 0 .413.077.57.233l1.138 1.14a.771.771 0 0 1 .234.568.776.776 0 0 1-.234.57l-6.06 6.06-1.14 1.14c-.155.155-.345.233-.568.233s-.413-.078-.57-.234l-1.138-1.14-3.03-3.03a.776.776 0 0 1-.234-.57z'/%3E%3C/svg%3E");
        mask-repeat: no-repeat;
        mask-position: center;
        mask-size: 80%; }
    .checkbox-wrap input[type="checkbox"]:focus-visible {
      outline: none;
      box-shadow: 0 0 0 2px rgba(10, 90, 163, 0.3); }

/* =============================
   FOOTER TEXT
============================= */
.footer-text {
  font-size: 14px;
  color: #7a7a7a;
  margin: 14px 0;
  line-height: 25px; }
  .footer-text span a {
    color: #0274be;
    text-decoration: underline; }

.phone-field {
  display: flex;
  gap: 10px; }

.phone-field select {
  width: 130px;
  padding: 10px; }

.phone-field input {
  flex: 1;
  padding: 10px; }

.error {
  border: 1px solid red !important; }

.error-text {
  color: red;
  font-size: 12px;
  margin-top: 4px;
  display: block; }

.form-message {
  margin-top: 20px;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px; }

.form-message.success {
  background: #e6fffa;
  color: #065f46;
  border: 1px solid #34d399; }

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #f87171; }

#tertiaryColor {
  margin-top: 8px;
  /* Other color box */
  /* Custom picked colors */ }
  #tertiaryColor .color-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, 28px);
    gap: 10px;
    position: relative; }
  #tertiaryColor .option {
    position: relative;
    width: 28px;
    height: 28px;
    cursor: pointer; }
  #tertiaryColor .color-swatch {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--color);
    border-radius: 4px;
    border: 1px solid #cfcfcf; }
  #tertiaryColor .tick {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.6); }
  #tertiaryColor .option.is-selected .tick {
    opacity: 1; }
  #tertiaryColor .color-other-wrap {
    border: 1px dashed #111;
    border-radius: 4px;
    overflow: hidden; }
  #tertiaryColor .color-other-input {
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer; }
  #tertiaryColor .cross {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    color: #ff3b3b;
    pointer-events: none;
    transform: rotate(45deg); }
  #tertiaryColor .custom-color-list {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px; }
  #tertiaryColor .custom-chip {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    overflow: hidden; }
  #tertiaryColor .custom-swatch {
    width: 100%;
    height: 100%;
    display: block; }
  #tertiaryColor .remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer; }

#tertiaryColorSection label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px; }

#tertiaryColorSection label span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; }

#tertiaryColorSection .selected-pill {
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
  border: 1px solid #e5e7eb;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
