/* Baseball Hub UK finder pages: shared shell to match Add Club / Events / Marketplace */
.app-shell.finder-shell,
.app-shell.event-shell-match,
.app-shell.submit-event-page-shell{
    width:min(100%,1180px);
    min-height:100vh;
    margin:0 auto;
    background:rgba(255,255,255,.78);
    box-shadow:0 0 80px rgba(7,20,61,.08);
    position:relative;
    padding-bottom:92px;
    overflow-x:hidden;
}

.finder-shell .topbar,
.event-shell-match .topbar,
.submit-event-page-shell .topbar{
    height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 22px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(18px);
    border-bottom:1px solid var(--line,#e7ebf3);
    position:sticky;
    top:0;
    z-index:50;
    box-sizing:border-box;
}

.finder-shell .brand,
.event-shell-match .brand,
.submit-event-page-shell .brand{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

.finder-shell .site-logo,
.event-shell-match .site-logo,
.submit-event-page-shell .site-logo{
    height:78px;
    width:auto;
    display:block;
    object-fit:contain;
}

.finder-shell main,
.event-shell-match main,
.submit-event-page-shell main{
    padding:22px 18px 120px;
}

.finder-page-wrap,
.finder-shell .event-page-wrap,
.finder-shell .add-club-wrap,
.event-shell-match .event-page-wrap,
.submit-event-page-shell .event-page-wrap{
    width:100%;
    max-width:860px;
    margin:0 auto;
    display:grid;
    gap:16px;
}

.finder-hero,
.finder-shell .event-page-hero,
.event-shell-match .event-page-hero,
.submit-event-page-shell .event-page-hero{
    background:#fff;
    border:1px solid var(--line,#e7ebf3);
    border-radius:28px;
    box-shadow:0 14px 36px rgba(7,20,61,.07);
    padding:20px;
    margin:0;
}

.finder-hero .eyebrow,
.finder-shell .event-page-hero .eyebrow,
.event-shell-match .event-page-hero .eyebrow,
.submit-event-page-shell .event-page-hero .eyebrow{
    margin:0 0 8px;
    color:var(--red,#ef4453);
    text-transform:uppercase;
    letter-spacing:.12em;
    font-size:11px;
    font-weight:800;
}

.finder-hero h1,
.finder-shell .event-page-hero h1,
.event-shell-match .event-page-hero h1,
.submit-event-page-shell .event-page-hero h1{
    margin:0;
    color:var(--navy,#07143d);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:clamp(38px,8vw,62px);
    line-height:.95;
    letter-spacing:-.06em;
    font-weight:800;
}

.finder-hero h1 span,
.finder-shell .event-page-hero h1 span,
.event-shell-match .event-page-hero h1 span,
.submit-event-page-shell .event-page-hero h1 span{
    display:block;
    color:var(--red,#ef4453);
    font-weight:500;
}

.finder-hero p,
.finder-shell .event-page-hero p,
.event-shell-match .event-page-hero p,
.submit-event-page-shell .event-page-hero p{
    margin:14px 0 0;
    color:var(--muted,#667085);
    line-height:1.55;
    font-size:16px;
}

.finder-shell .top-actions,
.event-shell-match .top-actions,
.submit-event-page-shell .top-actions,
.events-top-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}

.finder-shell .icon-button,
.event-shell-match .icon-button,
.submit-event-page-shell .icon-button{
    width:42px;
    height:42px;
    border-radius:16px;
    display:grid;
    place-items:center;
    color:var(--navy,#07143d);
    background:transparent;
    font-size:20px;
    text-decoration:none;
}

.finder-top-submit,
.event-top-submit{
    min-height:42px;
    border-radius:999px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    background:var(--navy,#07143d);
    color:#fff;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
}

.finder-card,
.finder-shell .add-club-form-card,
.finder-shell .success-card,
.event-shell-match .add-club-form-card,
.event-shell-match .success-card,
.submit-event-page-shell .add-club-form-card,
.submit-event-page-shell .success-card,
.pf-tabs-card,
.pf-list-card{
    background:#fff;
    border:1px solid var(--line,#e7ebf3);
    border-radius:28px;
    box-shadow:0 14px 36px rgba(7,20,61,.07);
    padding:20px;
    box-sizing:border-box;
}

.pf-tabs-card{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.pf-tab{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:38px;
    padding:0 13px;
    border-radius:999px;
    background:#f0f3f8;
    color:var(--navy,#07143d);
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}

.pf-tab span{
    display:inline-grid;
    place-items:center;
    min-width:22px;
    height:22px;
    border-radius:999px;
    background:#fff;
    color:var(--navy,#07143d);
    font-size:12px;
}

.pf-tab.active{
    background:var(--navy,#07143d);
    color:#fff;
}

.pf-list-card{
    display:grid;
    gap:14px;
}

.pf-card{
    display:grid;
    gap:12px;
    width:100%;
    padding:16px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:22px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    box-sizing:border-box;
}

.pf-card-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.pf-type,
.pf-expiry,
.pf-pill-row span{
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    padding:7px 10px;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.pf-type{
    background:#eef2ff;
    color:#1e3a8a;
}

.pf-type.club{
    background:#fff1d6;
    color:#b65c00;
}

.pf-type.volunteer{
    background:#e2f7f0;
    color:#087f5b;
}

.pf-expiry{
    background:#f8fafc;
    color:#64748b;
    border:1px solid rgba(15,23,42,.07);
}

.pf-card h2{
    margin:0;
    color:var(--red,#ef4453);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:24px;
    line-height:1.12;
    letter-spacing:-.03em;
}

.pf-meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.pf-meta-row span{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border-radius:999px;
    padding:8px 11px;
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.07);
    color:#334155;
    font-size:13px;
    font-weight:650;
}

.pf-meta-row i{
    color:var(--red,#ef4453);
}

.pf-pill-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.pf-pill-row span{
    background:#fff1f3;
    color:#b4232f;
    padding:8px 11px;
}

.volunteer-pill-row span{
    background:#ecfdf3;
    color:#087f5b;
}

.pf-description{
    margin:0;
    color:#475569;
    font-size:15px;
    line-height:1.6;
}

.pf-extra{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:12px;
    background:#f8fafc;
    border:1px solid rgba(15,23,42,.07);
    border-radius:18px;
    color:#334155;
    font-size:13px;
}

.pf-extra strong{
    color:var(--navy,#07143d);
}

.pf-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:2px;
}

.event-link-clean,
.pf-secondary-link,
.primary-button.as-link{
    min-height:40px;
    border-radius:999px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:13px;
    font-weight:900;
    text-decoration:none;
}

.event-link-clean,
.primary-button.as-link{
    background:var(--navy,#07143d);
    color:#fff;
}

.pf-secondary-link{
    background:#eef2f7;
    color:var(--navy,#07143d);
}

.polished-empty-panel h2,
.finder-shell .success-card h2,
.event-shell-match .success-card h2,
.submit-event-page-shell .success-card h2{
    margin:0 0 8px;
    color:var(--navy,#07143d);
    font-size:24px;
    letter-spacing:-.03em;
}

.polished-empty-panel p,
.finder-shell .success-card p,
.event-shell-match .success-card p,
.submit-event-page-shell .success-card p{
    color:var(--muted,#667085);
    line-height:1.55;
}

.finder-form,
.pf-form,
.finder-shell .event-submit-form,
.event-shell-match .event-submit-form,
.submit-event-page-shell .event-submit-form{
    display:grid;
    gap:16px;
}

.form-card{
    background:#fff;
    border:1px solid var(--line,#e7ebf3);
    border-radius:22px;
    padding:18px;
    box-shadow:0 10px 24px rgba(7,20,61,.05);
    box-sizing:border-box;
}

.form-card h2{
    margin:0 0 14px;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--navy,#07143d);
    font-size:20px;
    line-height:1.2;
    letter-spacing:-.02em;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.finder-shell label,
.event-shell-match label,
.submit-event-page-shell label{
    display:grid;
    gap:6px;
    color:#344054;
    font-size:13px;
    font-weight:650;
}

.finder-shell label input,
.finder-shell label select,
.finder-shell label textarea,
.event-shell-match label input,
.event-shell-match label select,
.event-shell-match label textarea,
.submit-event-page-shell label input,
.submit-event-page-shell label select,
.submit-event-page-shell label textarea,
.finder-shell input,
.finder-shell select,
.finder-shell textarea,
.event-shell-match input,
.event-shell-match select,
.event-shell-match textarea,
.submit-event-page-shell input,
.submit-event-page-shell select,
.submit-event-page-shell textarea{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    border:1px solid #d8dfeb;
    border-radius:15px;
    padding:12px 13px;
    background:#fbfcff;
    color:#101828;
    font:inherit;
    outline:none;
}

.finder-shell textarea,
.event-shell-match textarea,
.submit-event-page-shell textarea{
    min-height:120px;
    resize:vertical;
}

.full-label{
    display:grid;
    gap:6px;
    margin-top:12px;
}

.label-title{
    display:flex;
    align-items:baseline;
    gap:6px;
    flex-wrap:wrap;
}

.label-title em,
.full-label span,
.form-card label em{
    color:#667085;
    font-style:normal;
    font-size:12px;
    font-weight:600;
}

.choice-row,
.pf-tag-select{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

.choice-row label,
.pf-tag-select label{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border:1px solid #d8dfeb;
    border-radius:999px;
    padding:9px 11px;
    background:#fbfcff;
    font-size:13px;
    font-weight:800;
}

.choice-row input,
.pf-tag-select input{
    width:auto !important;
    padding:0;
}

.checkbox-group-label{
    margin:16px 0 9px;
    color:var(--navy,#07143d);
    font-size:13px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.big-submit{
    min-height:48px;
    border:0;
    border-radius:999px;
    background:var(--navy,#07143d);
    color:#fff;
    font-size:14px;
    font-weight:900;
    cursor:pointer;
}

.form-error{
    background:#fff1f3;
    border:1px solid #ffd6dc;
    color:#9f1239;
    padding:12px 14px;
    border-radius:18px;
    font-weight:800;
}

@media (min-width:760px){
    .app-shell.finder-shell,
    .app-shell.event-shell-match,
    .app-shell.submit-event-page-shell{
        border-radius:36px;
        margin-top:20px;
        margin-bottom:20px;
        min-height:calc(100vh - 40px);
    }

    .finder-shell main,
    .event-shell-match main,
    .submit-event-page-shell main{
        padding-left:34px;
        padding-right:34px;
    }
}

@media (max-width:760px){
    .finder-shell .topbar,
    .event-shell-match .topbar,
    .submit-event-page-shell .topbar{
        height:70px;
        padding:14px 16px;
    }

    .finder-shell .site-logo,
    .event-shell-match .site-logo,
    .submit-event-page-shell .site-logo{
        height:58px;
    }

    .finder-shell main,
    .event-shell-match main,
    .submit-event-page-shell main{
        padding:18px 14px 104px;
    }

    .finder-page-wrap,
    .finder-shell .event-page-wrap,
    .finder-shell .add-club-wrap,
    .event-shell-match .event-page-wrap,
    .submit-event-page-shell .event-page-wrap{
        max-width:none;
        gap:14px;
    }

    .finder-hero,
    .finder-shell .event-page-hero,
    .event-shell-match .event-page-hero,
    .submit-event-page-shell .event-page-hero,
    .finder-card,
    .finder-shell .add-club-form-card,
    .finder-shell .success-card,
    .event-shell-match .add-club-form-card,
    .event-shell-match .success-card,
    .submit-event-page-shell .add-club-form-card,
    .submit-event-page-shell .success-card,
    .pf-tabs-card,
    .pf-list-card{
        padding:16px;
        border-radius:24px;
    }

    .finder-hero h1,
    .finder-shell .event-page-hero h1,
    .event-shell-match .event-page-hero h1,
    .submit-event-page-shell .event-page-hero h1{
        font-size:clamp(36px,10vw,50px);
    }

    .event-top-submit,
    .finder-top-submit{
        min-height:38px;
        padding:0 11px;
        font-size:12px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .pf-card{
        padding:14px;
        border-radius:20px;
    }

    .pf-card-head{
        align-items:flex-start;
    }

    .pf-card h2{
        font-size:21px;
    }
}
