/* ============================================
   Registration Page CSS
   ============================================ */

.registration-page {
    padding: 3rem 0 5rem;
    min-height: 100vh;
}

/* === Multi-step Wizard === */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 0;
    position: relative;
}

.wizard-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    transition: var(--transition-normal);
}

.wizard-step .step-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--navy-mid);
    border: 2px solid var(--navy-light);
    transition: var(--transition-normal);
}

.wizard-step.active .step-number {
    background: var(--blue-glow);
    border-color: var(--blue-bright);
    color: var(--white);
    box-shadow: 0 0 15px rgba(74, 125, 255, 0.5);
}

.wizard-step.completed .step-number {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

.wizard-step.active {
    color: var(--blue-bright);
}

.wizard-step.completed {
    color: var(--green);
}

.wizard-connector {
    width: 60px;
    height: 2px;
    background: var(--navy-light);
    align-self: center;
    position: relative;
    overflow: hidden;
}

.wizard-connector.active {
    background: var(--blue-glow);
    box-shadow: 0 0 8px rgba(74, 125, 255, 0.3);
}

/* === Form Steps === */
.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.form-step.active {
    display: block;
}

/* === Player Rows === */
.player-row {
    background: rgba(26, 35, 66, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    transition: var(--transition-normal);
}

.player-row:hover {
    border-color: rgba(74, 125, 255, 0.3);
}

.player-row .player-badge {
    position: absolute;
    top: -8px;
    left: 15px;
    background: var(--blue-glow);
    color: var(--white);
    padding: 0.15rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.player-row.substitute .player-badge {
    background: var(--orange);
}

/* === File Upload === */
.file-upload-area {
    border: 2px dashed var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: var(--blue-glow);
    background: rgba(74, 125, 255, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--blue-bright);
    background: rgba(74, 125, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.file-upload-area i {
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.file-upload-area p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === Logo Preview === */
.logo-preview {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    border: 2px solid var(--glass-border);
    object-fit: cover;
    display: none;
}

/* === Payment Preview === */
.payment-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    border: 2px solid var(--glass-border);
    object-fit: contain;
    display: none;
    margin-top: 1rem;
}

/* === Checkbox Custom === */
.form-check-custom .form-check-input {
    background-color: var(--navy-dark);
    border: 2px solid var(--navy-light);
    width: 1.2em;
    height: 1.2em;
}

.form-check-custom .form-check-input:checked {
    background-color: var(--blue-glow);
    border-color: var(--blue-glow);
}

.form-check-custom .form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Registration Closed Banner === */
.registration-closed {
    text-align: center;
    padding: 4rem 2rem;
}

.registration-closed .closed-icon {
    font-size: 5rem;
    color: var(--red);
    margin-bottom: 1.5rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* === Success Page === */
.registration-success {
    text-align: center;
    padding: 3rem;
}

.registration-success .success-icon {
    font-size: 5rem;
    color: var(--green);
    margin-bottom: 1rem;
    animation: bounce-in 0.8s ease-out;
}

.registration-success .team-code {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    display: inline-block;
}

/* === Responsive === */
@media (max-width: 768px) {
    .registration-page {
        padding: 2rem 0 3rem;
    }

    .wizard-steps {
        flex-wrap: wrap;
        gap: 0.25rem;
        margin-bottom: 2rem;
        justify-content: center;
    }

    .wizard-connector {
        display: none;
    }

    .wizard-step {
        padding: 0.4rem 0.5rem;
        font-size: 0.7rem;
        gap: 0.3rem;
    }

    .wizard-step .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .player-row {
        padding: 0.75rem;
    }

    .player-row .player-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.5rem;
        top: -6px;
    }

    .file-upload-area {
        padding: 1.25rem;
    }

    .file-upload-area i {
        font-size: 2rem;
    }

    .file-upload-area p {
        font-size: 0.8rem;
    }

    .registration-success {
        padding: 1.5rem;
    }

    .registration-success .success-icon {
        font-size: 3.5rem;
    }

    .registration-success .team-code {
        font-size: 1.5rem;
        padding: 0.75rem;
    }

    .registration-closed {
        padding: 2rem 1rem;
    }

    .registration-closed .closed-icon {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .wizard-step {
        padding: 0.3rem;
        font-size: 0;
        /* Hide text, show only number */
    }

    .wizard-step .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .player-row {
        padding: 0.6rem;
    }

    .registration-success .team-code {
        font-size: 1.2rem;
    }
}