/* ====================================================
   CLUB REGISTRATION THEME
   Shared across Web, iOS, Android and Windows
   Loaded from PlayersFirst.UI in both host apps
   ==================================================== */

/* Page shell and shared card */
.registration-container {
    background-color: #f8f9fa;
}

.club-registration-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 640px;
    padding: 1.5rem;
}

/* Stepper header */
.club-stepper {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.club-page-heading {
    margin-bottom: 1.25rem;
}

.club-page-heading h1 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 .25rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.club-page-heading p {
    font-size: .9rem;
    color: #6b7280;
    margin: 0;
}

/* Back arrow */
.club-stepper .registration-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    background: #003DA5;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 61, 165, 0.25);
    transition: background .2s ease, transform .2s ease;
    z-index: 10;
}

.club-stepper .registration-back:hover {
    background: #002d7a;
    transform: translateX(-2px);
}

.club-stepper .registration-back i {
    font-size: 1.1rem;
    line-height: 1;
}

/* Dot stepper */
.club-stepper-track {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    padding: 0 2.25rem;
}

.club-stepper-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #d1d5db;
    transition: all .25s ease;
}

.club-stepper-dot.done {
    background: #16a34a;
    border-color: #16a34a;
}

.club-stepper-dot.current {
    background: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, .18);
}

.club-stepper-dot.future {
    background: #ffffff;
    border-color: #d1d5db;
}

.club-stepper-line {
    flex: 1;
    height: 2px;
    max-width: 3rem;
    background: #d1d5db;
    transition: background .25s ease;
}

.club-stepper-line.done {
    background: #16a34a;
}

/* Step title / subtitle */
.pf-step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 .35rem;
}

.pf-step-subtitle {
    font-size: .95rem;
    color: #6b7280;
    margin: 0 0 .5rem;
}

/* Form controls inside the club card */
.club-registration-card .form-control,
.club-registration-card .form-select,
.club-registration-card textarea {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #111827;
    padding: .75rem 1rem;
    font-size: .95rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.club-registration-card .form-control:focus,
.club-registration-card .form-select:focus,
.club-registration-card textarea:focus {
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, .12);
    outline: none;
}

.club-registration-card .form-control::placeholder,
.club-registration-card textarea::placeholder {
    color: #9ca3af;
}

/* Button group */
.club-registration-card .form-actions {
    display: flex;
    gap: .75rem;
    margin-top: 1.5rem;
}

.club-registration-card .btn {
    flex: 1;
    padding: .85rem;
    border-radius: 10px;
    font-weight: 700;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}

.club-registration-card .btn-primary {
    background: #003DA5;
    border: 2px solid #003DA5;
    color: #ffffff;
}

.club-registration-card .btn-primary:hover:not(:disabled) {
    background: #002d7a;
    border-color: #002d7a;
}

.club-registration-card .btn-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.club-registration-card .btn-secondary {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #374151;
}

.club-registration-card .btn-secondary:hover:not(:disabled) {
    border-color: #003DA5;
    color: #003DA5;
    background: #f8fbff;
}

/* Form labels and helper text */
.club-registration-card label {
    font-weight: 600;
    color: #374151;
    font-size: .9rem;
    margin-bottom: .35rem;
}

.club-registration-card .text-muted,
.club-registration-card .form-text,
.club-registration-card small {
    color: #6b7280;
}

.club-registration-card .pf-required {
    color: #dc2626;
}

/* Option chips used on step 4 */
.club-registration-card .chip {
    border: 2px solid #e2e8f0;
    border-radius: 999px;
    padding: .45rem .9rem;
    font-size: .85rem;
    font-weight: 500;
    background: #ffffff;
    color: #374151;
    cursor: pointer;
    transition: all .15s ease;
}

.club-registration-card .chip:hover {
    border-color: #003DA5;
    color: #003DA5;
}

.club-registration-card .chip.chip-selected,
.club-registration-card .chip.chip-selected:hover {
    background: #003DA5;
    border-color: #003DA5;
    color: #ffffff;
}

/* Document upload zones */
.club-registration-card .upload-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: #fafafa;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    cursor: pointer;
    transition: all .2s ease;
    min-height: 100px;
}

.club-registration-card .upload-zone:hover {
    border-color: #003DA5;
    background: #f0f4ff;
}

.club-registration-card .upload-zone-filled {
    border-color: #16a34a;
    border-style: solid;
    background: #f0fdf4;
}

/* Review list on step 6 */
.club-registration-card .review-list {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.club-registration-card .review-section {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background .15s;
}

.club-registration-card .review-section:last-child {
    border-bottom: none;
}

.club-registration-card .review-section:hover {
    background: #f9fafb;
}

.club-registration-card .review-section-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.club-registration-card .review-edit-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color .15s;
}

.club-registration-card .review-edit-btn:hover {
    color: #374151;
}

.club-registration-card .review-confirm-checkbox:checked {
    background: #003DA5;
    border-color: #003DA5;
}

/* Completion / success page */
.complete-page {
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.complete-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.complete-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .5rem;
}

.complete-subtitle {
    font-size: .95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.complete-check-circle {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.complete-whats-next {
    background: #f8fbff;
    border: 1px solid #e0e7ff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.complete-whats-title {
    font-size: .9rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: .75rem;
}

.complete-whats-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.complete-whats-list li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    font-size: .875rem;
    color: #374151;
    line-height: 1.4;
}

.whats-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.complete-btn-dashboard {
    width: 100%;
    padding: 14px;
    background: #003DA5;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}

.complete-btn-dashboard:hover {
    background: #002d7a;
}

/* Auth start/login pages */
.auth-container {
    background: #f3f4f6;
}

.auth-card.auth-club {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(17, 17, 17, 0.06);
}

.auth-card.auth-club .auth-role-banner {
    background: #003DA5;
}

.auth-card.auth-club .btn-auth {
    background: #003DA5;
}

.auth-card.auth-club .btn-auth:hover {
    background: #002d7a;
}

.auth-card.auth-club .form-control:focus {
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, .12);
}

/* Responsive */
@media (max-width: 480px) {
    .club-registration-card {
        border-radius: 0;
        box-shadow: none;
        min-height: 100%;
    }

    .club-page-heading h1 {
        font-size: 1.1rem;
    }

    .pf-step-title {
        font-size: 1.15rem;
    }
}
