/*=========================
  NAV HOVER
  ========================= */
  nav a:hover {
    color: var(--orange);
}

/*=========================
  SIGNUP HERO
  ========================= */

  .signup-hero {
    width: min(1600px, calc(100% - 60px));

    min-height: 340px;

    margin: 30px auto 0;

    background-color: var(--gray);

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    border-radius: 14px;

    box-shadow: 0 12px 35px rgba(39,39,39,0.15);
  }

  .signup-hero-content {
    padding: 60px 30px;
  }

  .signup-eyebrow {
    margin: 0 0 15px;

    color: var(--orange);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;
  }

  .signup-hero h1 {
    margin: 0;

    color: var(--white);

    font-size: clamp(46px, 6vw, 72px);

    line-height: 1;

    letter-spacing: 6px;

    font-weight: 800;
  }

  .signup-hero-line {
    display:block;

    width: 80px;
    height: 3px;

    margin: 25px auto 20px;

    background-color: var(--orange);
  }
  
  .signup-hero-subtitle {
    margin: 0;

    color: var(--white);

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 4px;
  }

  /*=========================
  SIGNUP SECTION-LINE
  ========================= */
  .sc-section-line {
    display: block;

    width: 40px;
    height: 3px;

    background-color: var(--orange);

    margin-bottom: 18px;
}

/*=========================
  SIGNUP SECTION
  ========================= */

  .signup-section {
    background-color: var(--background);

    padding: 80px 30px;
  }

  .signup-card {
    width: min(900px, 100%);

    margin: 0 auto;

    padding: 55px;

    background-color: var(--white);

    border-radius: 14px;

    box-shadow: var(--shadow);
  }

/*=========================
  FORM HEADING
  ========================= */

  .signup-heading {
    margin-bottom: 45px;
  }

  .signup-heading .section-line {
    width: 45px;
    height: 3px;

    margin: 0 0 15px;
  }


  .signup-heading h2,
  .form-section-heading h2 {
    margin: 0;

    color: var(--gray);

    font-size: 30px;

    line-height: 1.1;

    letter-spacing: 2px;

    font-weight: 800;
  }

  .signup-heading p,
  .form-section-heading p {
    max-width: 650px;

    margin: 12px 0 0;

    color: var(--gray);

    font-size: 14px;

  }

/*=========================
  FORM FIELDS
  ========================= */

  .form-section {
    display: flex;

    flex-direction: column;

    gap: 25px;
  }

  .form-field {
    display: flex;

    flex-direction: column;

    gap: 7px;
  }

  .form-field label {
    color: var(--gray);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;
  }

  .required {
    color: var(--orange);
  }

  .form-field input {
    width: 100%;

    padding: 13px 14px;

    border:  1px solid var(--border);

    border-radius: 6px;

    background-color: var(--white);

    color: var(--gray);

    font-family: Arial, sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
  }

  .form-field input:focus {
    border-color: var(--orange);

    box-shadow: 0 0 0 3px rgba(231, 162, 12, 0.12);
  }

  .field-help {
    color: #777;

    font-size: 12px;
  }

  .website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

/*=========================
  CAPTAIN OPTION
  ========================= */

  .captain-option {
    margin-top: 10px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .captain-label {
    display: flex;

    align-items: center;

    gap: 14px;

    cursor: pointer;

  }


  .captain-label input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
  }

  .captain-checkmark {
    width: 22px;
    height: 22px;

    flex-shrink: 0;

    border: 2px solid var(--light-gray);

    border-radius: 4px;

    position: relative;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
  }

  .captain-label input:checked + .captain-checkmark {
    background-color: var(--orange);

    border-color: var(--orange);
  }

  .captain-label input:checked + .captain-checkmark::after {
    content: "";

    position: absolute;

    left: 6px;
    top: 2px;

    width: 6px;
    height: 11px;

    border: solid white;
    
    border-width: 0 2px 2px 0;

    transform: rotate(45deg);
  }

  .captain-text {
    display: flex;

    flex-direction: column;

    gap: 3px;
  }

  .captain-text strong {
    color: var(--gray);

    font-size: 14px;

    letter-spacing: 1px;
  }

  .captain-text small {
    color: #777;

    font-size: 12px;
  }

/*=========================
  TEAM SECTION
  ========================= */

  .team-section {
    display: none;

    margin-top: 55px;

    padding-top: 45px;

    border-top: 1px solid var(--border);
  }

  .team-section.visible {
    display: block;
  }

  .form-section-heading {
    margin-bottom: 35px;
  }

  .form-section-heading .sc-section-line {
    width: 45px;
    height: 3px;

    margin: 0 0 15px;
  }
  
/*=========================
  ADDITIONAL PLAYERS
  ========================= */

  .team-player {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid var(--border);
  }

  .team-player h3 {
    margin: 0 0 20px;

    color: var(--gray);

    font-size: 17px;

    letter-spacing: 2px;

    font-weight: 800;
  }

  .player-fields {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
  }

  /* Make Player Name Span Full Row */

  .player-fields .form-field:first-child {
    grid-column: 1 / -1;
  }

/*=========================
  SUBMIT
  ========================= */

  .form-submit {
    margin-top: 35px;

    padding-top: 0;

    text-align: center;
  }

  .signup-button {
    border: none;
    background-color: var(--orange);

    padding: 14px 30px;

    font-size: 14px;

    letter-spacing: 1px;
  }

  .individual-note {
    max-width: 550px;

    margin: 15px auto 0;

    color: #777;

    font-size: 12px;

    line-height: 1.5;

  }


/*=========================
  FORM STATUS MESSAGE
  ========================= */

  .form-message {
    display: none;

    margin-top: 30px;
    padding: 25px 30px;

    border-left: 4px solid var(--orange);

    background-color: var(--background);

    color: var(--gray);

    text-align: left;

    opacity: 0;
    transform: translateY(-8px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


/* Visible state */

.form-message.visible {
    display: block;

    opacity: 1;
    transform: translateY(0);
}


/* Success */

.form-message.success {
    border-left-color: var(--orange);
}


/* Error */

.form-message.error {
    border-left-color: var(--gray);
}


/* Title */

.form-message-title {
    margin-bottom: 5px;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* Message */

.form-message-text {
    font-size: 15px;
    line-height: 1.6;

    color: #666;
}

/*=========================
  MOBILE
  ========================= */

  @media (max-width: 768px) {

    .signup-hero {
        width: calc(100% - 30px);

        min-height: 300px;

        margin-top: 20px;
    }

    .signup-hero-content {
        padding: 50px 20px;
    }

    .signup-hero h1 {
        letter-spacing: 3px;
    }

    .signup-eyebrow {
        font-size: 11px;

        letter-spacing: 2px;
    }

    .signup-section {
        padding: 50px 15px;

    }

    .signup-card {
        padding: 35px 25px;
    }

    .player-fields {
        grid-template-columns: 1fr;
    }

    .player-fields .form-field:first-child {
        grid-column: auto;
    }

     .form-message {
        padding: 20px;
    }
  }

  /* ==========================================
   SOLO CONFIRMATION MODAL
========================================== */

.solo-confirm-modal {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}


.solo-confirm-modal.visible {
    opacity: 1;
    visibility: visible;
}


/* ------------------------------------------
   BACKDROP
------------------------------------------ */

.solo-confirm-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(39,39,39,0.72);

    backdrop-filter: blur(3px);
}


/* ------------------------------------------
   DIALOG
------------------------------------------ */

.solo-confirm-dialog {
    position: relative;

    width: min(560px, 100%);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: var(--white);

    border-radius: 12px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.25);

    transform: translateY(12px);

    transition:
        transform 0.2s ease;
}


.solo-confirm-modal.visible
.solo-confirm-dialog {

    transform: translateY(0);
}


/* ------------------------------------------
   CLOSE BUTTON
------------------------------------------ */

.solo-confirm-close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 36px;
    height: 36px;

    border: none;

    background: transparent;

    color: #777;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;
}


.solo-confirm-close:hover {
    color: var(--gray);
}


/* ------------------------------------------
   CONTENT
------------------------------------------ */

.solo-confirm-content {
    padding: 40px 35px 35px;
}


.solo-confirm-label {
    display: block;

    margin-bottom: 10px;

    color: var(--orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}


.solo-confirm-content h2 {
    margin: 0;

    color: var(--gray);

    font-size: clamp(27px, 5vw, 36px);

    line-height: 1.05;

    font-weight: 800;
}


.solo-confirm-line {
    display: block;

    width: 45px;
    height: 3px;

    margin: 18px 0 22px;

    background: var(--orange);
}


.solo-confirm-content p {
    margin: 0 0 15px;

    color: #555;

    font-size: 15px;

    line-height: 1.65;
}


.solo-confirm-content p:last-of-type {
    margin-bottom: 0;
}


/* ------------------------------------------
   ACTIONS
------------------------------------------ */

.solo-confirm-actions {
    display: flex;

    justify-content: flex-end;

    gap: 12px;

    margin-top: 30px;
}


.solo-confirm-secondary,
.solo-confirm-primary {
    min-height: 44px;

    padding: 11px 18px;

    border-radius: 4px;

    font-family: inherit;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.2px;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.solo-confirm-secondary {
    border: 1px solid var(--border);

    background: var(--white);

    color: var(--gray);
}


.solo-confirm-secondary:hover {
    border-color: var(--gray);

    background: #f7f7f7;
}


.solo-confirm-primary {
    border: 1px solid var(--orange);

    background: var(--orange);

    color: var(--white);
}


.solo-confirm-primary:hover {
    background: var(--gray);

    border-color: var(--gray);

    transform: translateY(-1px);
}


/* ------------------------------------------
   MOBILE
------------------------------------------ */

@media (max-width: 600px) {

    .solo-confirm-modal {
        padding: 15px;
    }

    .solo-confirm-content {
        padding: 35px 22px 22px;
    }

    .solo-confirm-content h2 {
        font-size: 27px;
    }

    .solo-confirm-content p {
        font-size: 14px;
    }

    .solo-confirm-actions {
        flex-direction: column-reverse;
    }

    .solo-confirm-secondary,
    .solo-confirm-primary {
        width: 100%;
    }

}
