/* ================================
   SIGNUP PAGE STYLES
   page-signup.css — loaded after styles.css
   ================================ */

/* Form container */
.signup-form-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Intro text — sits outside form container, wider than the form */
.signup-intro {
    font-family: 'Rosario', sans-serif;
    font-size: 15px;
    color: #545454;
    text-align: justify;
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto 40px;
    padding: 0 1rem;
}

.signup-intro em {
    font-style: italic;
}

/* Override .content-section p defaults for signup-specific paragraphs */
.content-section p.signup-intro {
    font-size: 15px;
    color: #545454;
    text-align: justify;
    max-width: 580px;
    margin: 0 auto 40px;
}

/* Section labels (REQUIRED INFO / OPTIONAL INFO) */
.signup-section-label {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    margin: 30px 0 25px;
    position: relative;
}

/* Decorative lines flanking section labels */
.signup-section-label::before,
.signup-section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background-color: #ddd;
}

.signup-section-label::before {
    right: calc(50% + 70px);
}

.signup-section-label::after {
    left: calc(50% + 70px);
}

/* First section label needs less top margin */
.signup-section-label:first-child {
    margin-top: 0;
}

/* Individual field groups */
.signup-field {
    margin-bottom: 18px;
}

/* Field labels */
.signup-label {
    display: block;
    font-family: 'Rosario', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 5px;
}

/* Required field asterisk */
.signup-required {
    color: rgb(58, 100, 147);
    margin-left: 2px;
}

/* Text inputs */
.signup-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Rosario', sans-serif;
    font-size: 15px;
    color: #888;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-input:focus {
    outline: none;
    border-color: rgb(58, 100, 147);
    box-shadow: 0 0 0 2px rgba(58, 100, 147, 0.15);
}

/* Short input for State field */
.signup-input-short {
    width: 80px;
    text-align: center;
    text-transform: uppercase;
}

/* City/State row */
.signup-row {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
}

.signup-row .signup-field {
    margin-bottom: 0;
}

.signup-row .signup-field:first-child {
    flex: 1;
}

/* Textarea */
.signup-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Rosario', sans-serif;
    font-size: 15px;
    color: #888;
    background-color: #fff;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-textarea:focus {
    outline: none;
    border-color: rgb(58, 100, 147);
    box-shadow: 0 0 0 2px rgba(58, 100, 147, 0.15);
}

/* House concert helper text */
.signup-helper {
    font-family: 'Rosario', sans-serif;
    font-size: 13px;
    color: #888;
    margin-top: 4px;
    text-align: center;
}

.content-section p.signup-helper {
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 0;
}

.signup-helper a {
    color: rgb(58, 100, 147);
    text-decoration: underline;
    font-size: 13px;
}

/* Comments prompt text */
.signup-comments-prompt {
    font-family: 'Rosario', sans-serif;
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 0;
    margin-bottom: 2px;
    font-style: italic;
}

/* Beat .content-section p specificity */
.content-section p.signup-comments-prompt {
    margin-top: 0;
    margin-bottom: 2px;
}

/* Submit button */
.signup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    height: 40px;
    margin: 30px auto 10px;
    padding: 0 20px;
    background-color: rgb(58, 100, 147);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.signup-submit:hover {
    opacity: 0.7;
}

/* Privacy note at bottom */
.signup-privacy {
    font-family: 'Rosario', sans-serif;
    font-size: 12px;
    color: #aaa;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
}

/* ================================
   MOBILE OVERRIDES
   ================================ */
@media (max-width: 768px) {
    .signup-form-container {
        max-width: 340px;
        padding: 0 15px;
    }

    .signup-intro,
    .content-section p.signup-intro {
        font-size: 14px;
        max-width: 340px;
        padding: 0 15px;
    }

    .signup-section-label::before,
    .signup-section-label::after {
        width: 40px;
    }

    .signup-section-label::before {
        right: calc(50% + 55px);
    }

    .signup-section-label::after {
        left: calc(50% + 55px);
    }

    .signup-input,
    .signup-textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
    }

    .signup-submit {
        max-width: 100%;
    }
}
