/*
BackDoor League Schedule Control v1
*/

.bdlsc2-wrap {
    max-width: 1280px;
}

.bdlsc2-hero {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 18px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(247,198,0,.34), transparent 280px),
        linear-gradient(135deg, #080b12, #1f2a44);
    color: #fff;
    border-radius: 20px;
    padding: 24px;
    margin: 18px 0;
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
}

.bdlsc2-hero span {
    display: inline-block;
    color: #f7c600;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bdlsc2-hero h2 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1.05;
}

.bdlsc2-hero p {
    margin: 0;
    color: #f7c600;
    font-weight: 800;
}

.bdlsc2-score {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.bdlsc2-score strong {
    display: block;
    color: #f7c600;
    font-size: 42px;
    line-height: 1;
}

.bdlsc2-score span {
    color: #fff;
    font-weight: 900;
}

.bdlsc2-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.bdlsc2-stats div,
.bdlsc2-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(16,24,40,.05);
}

.bdlsc2-stats div {
    padding: 16px;
}

.bdlsc2-stats strong {
    display: block;
    font-size: 24px;
    line-height: 1.15;
    color: #111827;
}

.bdlsc2-stats span {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-weight: 700;
}

.bdlsc2-panel {
    padding: 18px;
    margin: 18px 0;
}

.bdlsc2-panel h2,
.bdlsc2-panel h3 {
    margin-top: 0;
}

.bdlsc2-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 18px;
}

.bdlsc2-form-grid p {
    margin: 0 0 12px;
}

.bdlsc2-form-grid input,
.bdlsc2-form-grid select {
    max-width: 280px;
    width: 100%;
}

.bdlsc2-days {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.bdlsc2-days label,
.bdlsc2-check {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    padding: 9px 12px;
    font-weight: 800;
}

.bdlsc2-check {
    display: block;
    border-radius: 12px;
    margin: 8px 0;
}

.bdlsc2-filter {
    margin: 10px 0 16px;
}

.bdlsc2-bulk {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.bdlsc2-table {
    overflow-x: auto;
}

.bdlsc2-table th,
.bdlsc2-table td {
    vertical-align: middle;
}

.bdlsc2-table input[type="text"] {
    width: 150px;
}

.bdlsc2-test {
    display: inline-block;
    margin-top: 6px;
    background: #fff7cc;
    border: 1px solid #f7c600;
    border-radius: 999px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 900;
}

/* Public schedule */

.bdlsc2-public {
    max-width: 1180px;
    margin: 28px auto 48px;
    padding: 0 18px;
    color: #111827;
}

.bdlsc2-public-hero,
.bdlsc2-share-card {
    background:
        radial-gradient(circle at top right, rgba(247,198,0,.32), transparent 280px),
        linear-gradient(135deg, #080b12, #1f2a44);
    color: #fff;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 18px;
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
    overflow: hidden;
}

.bdlsc2-public-hero span {
    display: inline-block;
    color: #f7c600;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
}

.bdlsc2-public-hero h1 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: 42px;
    line-height: 1.02;
}

.bdlsc2-public-hero p {
    margin: 0;
    color: #f7c600;
    font-weight: 800;
}

.bdlsc2-public-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.bdlsc2-public-tabs a {
    display: inline-block;
    text-decoration: none;
    background: #f2f4f7;
    color: #111827;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 900;
}

.bdlsc2-public-tabs a.is-active {
    background: #111827;
    color: #fff;
}

.bdlsc2-view-tabs a.is-active,
.bdlsc2-admin-preview a.is-active {
    background: #f7c600;
    color: #111827;
}

.bdlsc2-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.bdlsc2-card,
.bdlsc2-empty {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16,24,40,.055);
}

.bdlsc2-card {
    padding: 18px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.bdlsc2-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(16,24,40,.10);
}

.bdlsc2-card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    color: #667085;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.bdlsc2-vis {
    border-radius: 999px;
    padding: 2px 8px;
}

.bdlsc2-vis.draft { background:#fff7cc; color:#7a5a00; }
.bdlsc2-vis.published { background:#ecfdf3; color:#027a48; }
.bdlsc2-vis.hidden { background:#f2f4f7; color:#667085; }

.bdlsc2-matchup {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
}

.bdlsc2-team {
    text-align: center;
}

.bdlsc2-logo {
    width: 76px;
    height: 76px;
    margin: 0 auto 8px;
    border-radius: 18px;
    background: #111827;
    color: #f7c600;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 900;
}

.bdlsc2-logo img,
.bdlsc2-big-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bdlsc2-team strong {
    display: block;
    line-height: 1.15;
    min-height: 36px;
}

.bdlsc2-team b {
    display: block;
    margin-top: 5px;
    font-size: 26px;
}

.bdlsc2-vs {
    background: #fff7cc;
    border: 1px solid #f7c600;
    color: #111827;
    border-radius: 999px;
    padding: 7px 9px;
    font-weight: 900;
    font-size: 12px;
}

.bdlsc2-details {
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 12px;
    margin: 14px 0;
}

.bdlsc2-details p {
    margin: 0;
    color: #475467;
    font-weight: 700;
}

.bdlsc2-button,
.bdlsc2-back,
.bdlsc2-copy-link,
.bdlsc2-facebook {
    display: inline-block;
    border: 0;
    text-decoration: none;
    background: #111827;
    color: #fff !important;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(17,24,39,.16);
    cursor: pointer;
}

.bdlsc2-back {
    margin-bottom: 10px;
}

.bdlsc2-share-card {
    text-align: center;
}

.bdlsc2-share-kicker {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.bdlsc2-share-kicker span {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 8px 12px;
    color: #f7c600;
    font-weight: 900;
    letter-spacing: .06em;
}

.bdlsc2-share-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.bdlsc2-big-logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 14px;
    border-radius: 34px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #f7c600;
    font-size: 36px;
    font-weight: 900;
}

.bdlsc2-big-team h2 {
    margin: 0;
    color: #fff;
    font-size: 34px;
    line-height: 1.05;
}

.bdlsc2-big-team strong {
    display: block;
    margin-top: 10px;
    color: #f7c600;
    font-size: 62px;
    line-height: 1;
}

.bdlsc2-big-vs {
    background: #f7c600;
    color: #111827;
    border-radius: 999px;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 1000;
    letter-spacing: .06em;
}

.bdlsc2-game-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0 18px;
}

.bdlsc2-game-info div {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    padding: 14px;
}

.bdlsc2-game-info span {
    display: block;
    color: #f7c600;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.bdlsc2-game-info strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 18px;
}

.bdlsc2-share-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bdlsc2-facebook {
    background: #1877f2;
}

.bdlsc2-copy-status {
    color: #f7c600;
    font-weight: 900;
    margin: 12px 0 0;
}

.bdlsc2-empty {
    padding: 22px;
    font-weight: 800;
}

@media(max-width: 900px) {
    .bdlsc2-hero,
    .bdlsc2-share-main,
    .bdlsc2-game-info {
        grid-template-columns: 1fr;
    }
    .bdlsc2-big-vs {
        margin: 0 auto;
    }
}

@media(max-width: 782px) {
    .bdlsc2-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
