:root {
    --ink: #1d2146;
    --muted: #6d7682;
    --line: #dfe8e2;
    --field: #359957;
    --field-dark: #247a43;
    --field-rgb: 53,153,87;
    --field-light: #edf8f1;
    --field-soft: #eef8f1;
    --field-contrast: #ffffff;
    --accent: #56c87d;
    --accent-rgb: 86,200,125;
    --accent-light: #eefaf2;
    --accent-contrast: #18251d;
    --surface: #ffffff;
    --soft: #f6faf8;
    --soft-rgb: 246,250,248;
    --theme-border: #cde6d6;
}

body {
    background: var(--soft);
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 12%, rgba(var(--accent-rgb), .20), transparent 30%),
        radial-gradient(circle at 82% 4%, rgba(var(--field-rgb), .14), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(var(--soft-rgb), 1));
}

.app-nav {
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid rgba(16,32,26,.08);
    backdrop-filter: blur(12px);
}

.public-nav-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.public-nav-toggle {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.22);
    border-radius: 999px;
    color: var(--field-dark);
    display: none;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 44px;
}

.public-nav-toggle span {
    background: currentColor;
    border-radius: 999px;
    display: block;
    height: 2px;
    left: 13px;
    position: absolute;
    transition: opacity .18s ease, transform .18s ease, top .18s ease;
    width: 18px;
}

.public-nav-toggle span:nth-child(1) {
    top: 14px;
}

.public-nav-toggle span:nth-child(2) {
    top: 21px;
}

.public-nav-toggle span:nth-child(3) {
    top: 28px;
}

.app-nav.is-public-menu-open .public-nav-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.app-nav.is-public-menu-open .public-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.app-nav.is-public-menu-open .public-nav-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.language-switcher {
    align-items: center;
    background: rgba(29,33,70,.05);
    border: 1px solid rgba(29,33,70,.08);
    border-radius: 999px;
    display: inline-flex;
    gap: 3px;
    padding: 3px;
}

.language-switcher a {
    border-radius: 999px;
    color: #3f4b45;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1;
    padding: 7px 10px;
    text-decoration: none;
}

.language-switcher a.active {
    background: var(--field-dark);
    color: #fff;
}

.language-switcher a:hover {
    color: var(--field-dark);
}

.language-switcher a.active:hover {
    color: #fff;
}

.login-language-switcher {
    flex: 0 0 auto;
}

.sidebar-language-switcher {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.14);
    margin-top: 14px;
}

.sidebar .sidebar-language-switcher a {
    border-radius: 999px;
    color: rgba(255,255,255,.76);
    display: inline-flex;
    font-size: .78rem;
    padding: 7px 10px;
}

.sidebar .sidebar-language-switcher a.active {
    background: #fff;
    color: var(--field-dark);
}

.public-support-link {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    gap: 7px;
    padding: 6px 11px;
    text-decoration: none;
}

.public-support-link span {
    color: #314139;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.public-support-link strong {
    font-size: .9rem;
}

.public-support-link:hover {
    background: rgba(53,153,87,.16);
    color: var(--field-dark);
}

.public-management-btn {
    align-items: center;
    background: linear-gradient(135deg, var(--field), var(--field-dark));
    border: 1px solid rgba(36,122,67,.34);
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(36,122,67,.18);
    color: #fff !important;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 650;
    gap: 8px;
    justify-content: center;
    min-height: 38px;
    padding: .48rem .9rem;
}

.public-management-btn::after {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    height: 7px;
    opacity: .9;
    transform: rotate(45deg);
    width: 7px;
}

.public-management-btn:hover,
.public-management-btn:focus {
    background: linear-gradient(135deg, var(--field-dark), #166536);
    border-color: rgba(36,122,67,.48);
    box-shadow: 0 12px 26px rgba(36,122,67,.24);
    color: #fff !important;
}

.public-home-btn {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .86rem;
    font-weight: 650;
    justify-content: center;
    min-height: 38px;
    padding: .48rem .9rem;
}

.public-open-account-btn,
.landing-open-account-btn {
    background: #e88700;
    border: 1px solid #e88700;
    box-shadow: 0 12px 28px rgba(232,135,0,.26);
    color: #fff !important;
}

.public-open-account-btn:hover,
.public-open-account-btn:focus,
.landing-open-account-btn:hover,
.landing-open-account-btn:focus {
    background: #c96f00;
    border-color: #c96f00;
    box-shadow: 0 14px 32px rgba(232,135,0,.32);
    color: #fff !important;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--field), var(--accent));
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.8), 0 8px 18px rgba(53,153,87,.22);
}

.brand-wordmark {
    width: 164px;
    max-width: 100%;
    height: auto;
    display: block;
}

.landing-home-logo {
    height: 80px;
    width: auto;
}

.sidebar .brand-wordmark {
    width: 222px;
}

.management-brand-link {
    display: inline-block;
    line-height: 1;
}

.management-brand-link:focus-visible {
    border-radius: 8px;
    box-shadow: 0 0 0 .18rem rgba(255,255,255,.28);
    outline: 0;
}

.hero-identity {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    min-width: 0;
}

.hero-identity-row {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
}

.hero-identity-row .hero-identity {
    flex: 1 1 auto;
}

.public-hero-language-switcher {
    background: rgba(255,255,255,.86);
    border-color: rgba(53,153,87,.16);
    box-shadow: 0 10px 24px rgba(29,33,70,.08);
    flex: 0 0 auto;
}

.hero-identity-copy {
    min-width: 0;
}

.turf-hero-logo-link {
    align-self: flex-start;
    border-radius: 16px;
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
    text-decoration: none;
}

.turf-hero-logo {
    align-self: flex-start;
    width: 76px;
    height: 76px;
    border-radius: 16px;
    flex: 0 0 auto;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255,255,255,.9), 0 14px 30px rgba(53,153,87,.18);
}

.hero-band {
    padding: 48px 0 28px;
}

.hero-title {
    font-size: clamp(1.45rem, 2.4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.02;
    margin-bottom: 0;
}

.hero-identity-copy .hero-title {
    font-size: clamp(1.305rem, 2.16vw, 2.34rem);
}

.hero-address {
    color: #247a43;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 10px;
}

.hero-address-text {
    white-space: pre-line;
}

.hero-map-link {
    align-items: center;
    background: rgba(36,122,67,.12);
    border: 1px solid rgba(36,122,67,.24);
    border-radius: 999px;
    color: #247a43;
    display: inline-flex;
    flex: 0 0 auto;
    height: 30px;
    justify-content: center;
    line-height: 1;
    margin-top: -1px;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
    width: 30px;
}

.hero-map-link:hover,
.hero-map-link:focus {
    background: #247a43;
    border-color: #247a43;
    color: #fff;
    transform: translateY(-1px);
}

.hero-map-icon {
    display: block;
    height: 16px;
    width: 16px;
}

.public-booking-body .hero-map-link {
    background: var(--field);
    border-color: rgba(var(--field-rgb), .44);
    color: var(--field-contrast);
    text-shadow: none;
}

.public-booking-body .hero-map-link:hover,
.public-booking-body .hero-map-link:focus {
    background: var(--field-dark);
    border-color: var(--field-dark);
    color: var(--field-contrast);
}

.hero-copy {
    max-width: 680px;
    color: #46524c;
    font-size: 1.05rem;
}

.landing-hero {
    align-items: flex-end;
    background:
        linear-gradient(135deg, #103d2b 0%, #247a43 62%, #359957 100%);
    border-radius: 8px;
    color: #fff;
    display: flex;
    min-height: 430px;
    margin: 28px 0 22px;
    overflow: hidden;
    padding: 42px;
}

.landing-kicker {
    color: #c7f7d6;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 0 0 16px;
    max-width: 980px;
}

html[lang="bn"] .landing-hero h1 {
    font-size: clamp(1.75rem, 4.2vw, 3.55rem);
    line-height: 1.32;
}

.landing-hero p {
    color: rgba(255, 255, 255, .88);
    font-size: 1.08rem;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.app-download-btn {
    align-items: center;
    display: inline-flex;
    gap: 9px;
}

.store-icon-row {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 5px;
}

.play-store-icon {
    align-items: center;
    background: #fff;
    border-radius: 7px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.play-store-icon svg,
.app-store-icon svg {
    display: block;
    height: 20px;
    width: 20px;
}

.app-store-icon {
    align-items: center;
    background: #fff;
    border-radius: 7px;
    color: #111827;
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    justify-content: center;
    width: 28px;
}

.app-store-icon svg {
    fill: #111827;
}

.play-store-blue { fill: #00a0ff; }
.play-store-green { fill: #00d084; }
.play-store-yellow { fill: #ffce00; }
.play-store-red { fill: #ff3d00; }

.landing-section {
    padding: 8px 0 42px;
}

.landing-section-muted {
    background: rgba(255,255,255,.54);
    border: 1px solid rgba(53,153,87,.10);
    border-radius: 8px;
    margin-bottom: 42px;
    padding: 28px;
}

.landing-visual-section {
    padding-top: 0;
}

.landing-section-heading {
    align-items: end;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}

.landing-section-title {
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.landing-section-copy {
    color: var(--muted);
    margin: 0;
}

.landing-feature-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-feature {
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(9,45,30,.08);
    padding: 18px;
}

.landing-feature strong {
    color: var(--field-dark);
    display: block;
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.landing-feature span {
    color: var(--muted);
    display: block;
    line-height: 1.45;
}

.landing-growth-section {
    background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(232,246,238,.82));
}

.landing-growth-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-growth-card {
    background: #fff;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(9,45,30,.07);
    padding: 18px;
}

.landing-growth-card strong {
    color: var(--field-dark);
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.landing-growth-card span {
    color: var(--muted);
    display: block;
    line-height: 1.45;
}

.landing-pricing {
    align-items: stretch;
    background: linear-gradient(135deg, rgba(36,122,67,.96), rgba(16,61,43,.96));
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    margin-bottom: 42px;
    padding: 26px;
}

.landing-pricing .landing-kicker,
.landing-pricing .landing-section-copy {
    color: rgba(255,255,255,.78);
}

.landing-pricing .landing-section-title {
    color: #fff;
}

.landing-pricing-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    min-width: 0;
}

.landing-price-badge {
    align-items: baseline;
    align-self: flex-start;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
    padding: 10px 13px;
}

.landing-price-badge span,
.landing-price-badge small {
    color: rgba(255,255,255,.78);
    font-weight: 700;
}

.landing-price-badge strong {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 700;
}

.platform-fee-price {
    align-items: baseline;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.platform-fee-price del {
    color: rgba(255,255,255,.58);
    font-weight: 700;
    text-decoration-thickness: 2px;
}

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

.landing-pricing-card {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    padding: 16px;
}

.landing-pricing-card strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    margin-bottom: 7px;
}

.landing-pricing-card span {
    color: rgba(255,255,255,.78);
    display: block;
    line-height: 1.45;
}

.landing-steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-step {
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    padding: 18px;
}

.landing-step span {
    align-items: center;
    background: var(--field-dark);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    margin-bottom: 12px;
    width: 30px;
}

.landing-step strong,
.landing-faq strong {
    color: var(--ink);
    display: block;
    font-size: 1rem;
    margin-bottom: 7px;
}

.landing-step p,
.landing-faq p {
    color: var(--muted);
    line-height: 1.45;
    margin: 0;
}

.landing-split {
    align-items: start;
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(9,45,30,.08);
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    padding: 24px;
}

.landing-check-list {
    display: grid;
    gap: 10px;
}

.landing-ops-side {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.landing-check-list div {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 8px;
    color: var(--field-dark);
    font-weight: 700;
    padding: 12px 14px;
}

.landing-product-visual {
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(9,45,30,.08);
    display: block;
    height: auto;
    object-fit: contain;
    width: 100%;
}

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

.landing-faq {
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    padding: 18px;
}

.landing-contact {
    align-items: center;
    background: linear-gradient(135deg, #103d2b, #247a43);
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 28px;
}

.landing-contact h2 {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.landing-contact p {
    color: rgba(255,255,255,.78);
    margin: 0;
}

.landing-contact-actions {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.landing-contact .public-support-link,
.landing-address {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.22);
    color: #fff;
}

.landing-parent-company {
    color: rgba(255,255,255,.72);
    font-size: .9rem;
    grid-column: 1 / -1;
}

.landing-parent-company a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.landing-parent-company a:hover,
.landing-parent-company a:focus {
    text-decoration: underline;
}

.landing-contact .public-support-link {
    align-items: flex-start;
    border-radius: 8px;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 48px;
    padding: 8px 13px;
}

.landing-contact .app-download-link {
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

.app-download-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.landing-contact .public-support-link > span,
.landing-contact .app-download-copy > span,
.landing-address span {
    color: rgba(255,255,255,.82);
}

.landing-address {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 48px;
    padding: 8px 13px;
}

.landing-address span {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.landing-address strong,
.landing-contact .public-support-link strong,
.landing-contact .app-download-copy strong {
    color: #fff;
}

.onboarding-shell {
    padding-bottom: 56px;
}

.onboarding-hero {
    align-items: end;
    background: linear-gradient(135deg, #103d2b 0%, #247a43 64%, #359957 100%);
    border-radius: 8px;
    color: #fff;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 28px 0 18px;
    padding: 36px;
}

.onboarding-hero h1 {
    font-size: clamp(2rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    margin: 0 0 12px;
}

.onboarding-hero p {
    color: rgba(255,255,255,.84);
    font-size: 1.06rem;
    line-height: 1.55;
    margin: 0;
    max-width: 720px;
}

.onboarding-hero-note {
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 8px;
    min-width: 220px;
    padding: 16px;
}

.onboarding-hero-note strong,
.onboarding-hero-note span {
    display: block;
}

.onboarding-hero-note strong {
    font-size: .82rem;
    letter-spacing: .08em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.onboarding-hero-note span {
    color: #dffbe8;
    font-size: 1.08rem;
    font-weight: 700;
}

.onboarding-hero-note .platform-fee-price {
    align-items: baseline;
    display: inline-flex;
}

.onboarding-hero-note .platform-fee-price del {
    color: rgba(255,255,255,.58);
    font-size: .92rem;
}

.onboarding-hero-note .platform-fee-price strong {
    color: #fff;
    display: inline;
    font-size: 1.42rem;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    text-transform: none;
}

.onboarding-benefits {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(9,45,30,.07);
    margin-bottom: 18px;
    padding: 16px;
}

.onboarding-benefits-heading {
    color: var(--field-dark);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.onboarding-benefit-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.onboarding-benefit-grid div {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.13);
    border-radius: 8px;
    color: #34483d;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.45;
    padding: 12px;
}

.onboarding-form-card,
.onboarding-success {
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(9,45,30,.10);
}

.onboarding-form-card {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.onboarding-form-card.is-submitting {
    opacity: .82;
}

.onboarding-submit-button {
    color: #fff;
    min-width: 178px;
}

.onboarding-submit-button:hover,
.onboarding-submit-button:focus,
.onboarding-submit-button:active,
.onboarding-submit-button:disabled {
    color: #fff;
}

.onboarding-submit-row .onboarding-submit-button span {
    color: inherit;
    display: inline-block;
    margin-top: 0;
}

.onboarding-section {
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
    border: 1px solid rgba(16,32,26,.09);
    border-radius: 8px;
    padding: 20px;
}

.onboarding-section-heading {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.onboarding-section-heading > span {
    align-items: center;
    background: var(--field-dark);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-weight: 700;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.onboarding-section-heading h2 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 3px;
}

.onboarding-section-heading p {
    color: var(--muted);
    margin: 0;
}

.onboarding-logo-field {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    padding: 14px;
}

.onboarding-logo-preview {
    align-items: center;
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(53,153,87,.12), rgba(36,122,67,.08));
    background-position: center;
    background-size: cover;
    border: 1px dashed rgba(36,122,67,.36);
    border-radius: 8px;
    color: var(--field-dark);
    display: inline-flex;
    flex: 0 0 86px;
    font-size: .82rem;
    font-weight: 700;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.onboarding-logo-preview.has-image {
    border-style: solid;
}

.onboarding-logo-preview.has-image span {
    display: none;
}

.onboarding-logo-input {
    flex: 1 1 auto;
    min-width: 0;
}

.onboarding-logo-help {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.onboarding-logo-help span {
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 5px 9px;
}

.onboarding-otp-mobile-row .btn {
    font-weight: 700;
    white-space: nowrap;
}

.onboarding-otp-panel {
    align-items: end;
    background: #eef8f1;
    border: 1px solid rgba(36,122,67,.22);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 260px) auto 1fr;
    padding: 14px;
}

.onboarding-otp-panel.is-verified {
    background: #e8f6ee;
    border-color: rgba(36,122,67,.34);
}

.onboarding-otp-panel .btn {
    font-weight: 700;
    min-height: 42px;
}

.onboarding-otp-status {
    align-self: center;
    color: var(--muted);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.35;
}

.onboarding-submit-row {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 18px 20px;
}

.onboarding-submit-row strong,
.onboarding-submit-row span {
    display: block;
}

.onboarding-submit-row span {
    color: var(--muted);
    margin-top: 3px;
}

.onboarding-success {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
    padding: 22px;
}

.onboarding-success h2 {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
}

.onboarding-success p {
    color: var(--muted);
    font-size: 1.08rem;
    font-weight: 650;
    line-height: 1.55;
    margin: 0;
}

.landing-turf-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.landing-turf-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(9,45,30,.08);
    color: var(--ink);
    display: flex;
    gap: 14px;
    min-height: 110px;
    padding: 16px;
    text-decoration: none;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.landing-turf-card:hover {
    border-color: var(--field);
    box-shadow: 0 18px 42px rgba(53,153,87,.16);
    color: var(--ink);
    transform: translateY(-2px);
}

.landing-turf-card img {
    border-radius: 12px;
    flex: 0 0 auto;
    height: 58px;
    object-fit: cover;
    width: 58px;
}

.landing-turf-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.landing-turf-card p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

.landing-turf-card span {
    color: var(--field-dark);
    display: inline-block;
    font-size: .88rem;
    font-weight: 700;
    margin-top: 7px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-left: auto;
}

.hero-phone-link {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(53,153,87,.10);
    color: var(--field-dark);
    display: inline-flex;
    gap: 8px;
    min-height: 38px;
    padding: 7px 12px 7px 9px;
    text-decoration: none;
    white-space: nowrap;
}

.hero-phone-link:hover {
    border-color: var(--field);
    color: var(--field-dark);
}

.hero-phone-icon {
    align-items: center;
    background: rgba(53,153,87,.12);
    border-radius: 50%;
    display: inline-flex;
    height: 25px;
    justify-content: center;
    width: 25px;
}

.hero-phone-icon svg {
    fill: currentColor;
    height: 14px;
    width: 14px;
}

.hero-phone-number {
    font-size: .92rem;
    font-weight: 700;
}

.booking-panel,
.admin-panel,
.toolbar-card {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(var(--field-rgb), .12);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(9,45,30,.10);
}

.booking-panel {
    padding: 20px;
}

.booking-hold-timer-shell {
    display: flex;
    justify-content: center;
    margin: 0 0 12px;
    pointer-events: none;
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    z-index: 1042;
}

.booking-hold-timer-shell.d-none {
    display: none !important;
}

.booking-hold-timer {
    align-items: center;
    background: linear-gradient(135deg, #fff8e8, #fff);
    border: 1px solid rgba(var(--accent-rgb), .36);
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(9,45,30,.14);
    color: var(--field-dark);
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    max-width: calc(100% - 24px);
    padding: 10px 16px;
    pointer-events: auto;
    position: relative;
    width: max-content;
}

.booking-hold-timer.d-none {
    display: none !important;
}

.booking-hold-timer.is-warning {
    background: linear-gradient(135deg, #fff0e5, #fff);
    border-color: rgba(232, 135, 0, .50);
    color: #9a4f00;
}

.booking-hold-timer-label {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.booking-hold-timer strong {
    align-items: center;
    background: var(--field-dark);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 70px;
    padding: 7px 10px;
}

.booking-hold-timer.is-warning strong {
    background: #e88700;
}

.public-resource-info-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
}

.public-resource-info-strip.d-none {
    display: none !important;
}

.public-resource-info-pill {
    align-items: center;
    background: rgba(var(--field-rgb), .1);
    border: 1px solid rgba(var(--field-rgb), .22);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.15;
    min-height: 30px;
    padding: 6px 10px;
}

.public-resource-notice-strip {
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(var(--field-rgb), .08), #fff);
    border: 1px solid rgba(var(--field-rgb), .24);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(9,45,30,.08);
    color: var(--field-dark);
    display: flex;
    gap: 10px;
    line-height: 1.45;
    margin: 0 0 16px;
    padding: 12px 14px;
}

.public-resource-notice-strip.d-none {
    display: none !important;
}

.public-resource-notice-icon {
    align-items: center;
    background: var(--field-dark);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 24px;
    font-size: .78rem;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
    width: 24px;
}

.public-resource-notice-copy {
    flex: 1 1 auto;
    font-size: .95rem;
    font-weight: 700;
    min-width: 0;
    white-space: pre-line;
}

@media (max-width: 575px) {
    .booking-hold-timer-shell {
        margin-bottom: 10px;
        top: calc(env(safe-area-inset-top, 0px) + 12px);
    }

    .booking-hold-timer {
        border-radius: 16px;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
        text-align: center;
        width: 100%;
    }

    .booking-hold-timer strong {
        min-width: 76px;
    }
}

.public-booking-tabs-section {
    align-items: center;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(var(--field-rgb), .16);
    border-radius: 8px;
    box-shadow: 0 16px 38px rgba(9,45,30,.10), inset 0 1px 0 rgba(255,255,255,.86);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
    padding: 10px 10px 12px;
}

.public-booking-main-tabs {
    align-items: center;
    display: flex;
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.public-booking-main-tab {
    align-items: center;
    background: var(--field-soft);
    border: 1px solid rgba(var(--field-rgb), .16);
    border-radius: 8px;
    color: #4d665a;
    display: inline-flex;
    font-size: .95rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 44px;
    padding: 10px 15px;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
    white-space: nowrap;
}

.public-booking-main-tab:hover {
    background: var(--field-light);
    border-color: rgba(var(--field-rgb), .30);
    color: var(--field-dark);
}

.public-booking-main-tab.active {
    background: linear-gradient(135deg, var(--field-dark), var(--field));
    border-color: var(--field-dark);
    box-shadow: 0 12px 28px rgba(var(--field-rgb), .26);
    color: var(--field-contrast);
    font-weight: 700;
    position: relative;
}

.public-booking-main-tab.active::after {
    background: var(--field-dark);
    border-radius: 999px;
    bottom: -7px;
    content: "";
    height: 4px;
    left: 18px;
    position: absolute;
    right: 18px;
}

.public-booking-main-tab strong {
    align-items: center;
    background: var(--accent);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(var(--accent-rgb), .26);
    color: var(--accent-contrast);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 7px;
}

.public-booking-main-tab:hover strong,
.public-booking-main-tab.active strong {
    background: #fff;
    border-color: rgba(255,255,255,.92);
    color: var(--field-dark);
}

.public-booking-resource-row {
    align-items: center;
    background: linear-gradient(180deg, rgba(var(--field-rgb), .08), rgba(255,255,255,.9));
    border: 1px solid rgba(var(--field-rgb), .16);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.88);
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 0;
    min-width: 0;
    padding: 10px;
    position: relative;
    width: 100%;
}

.public-booking-resource-row::before {
    background: var(--field-dark);
    border-radius: 999px;
    content: "";
    height: 70%;
    left: 0;
    position: absolute;
    top: 15%;
    width: 4px;
}

.public-resource-tab-list {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.public-resource-tab {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--field-rgb), .16);
    border-radius: 999px;
    color: #456659;
    display: flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    line-height: 1.2;
    min-height: 42px;
    padding: 9px 14px;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
    white-space: nowrap;
}

.public-resource-tab:hover {
    background: var(--field-light);
    border-color: rgba(var(--field-rgb), .30);
    color: var(--field-dark);
}

.public-resource-tab.active {
    background: var(--field-light);
    border-color: var(--field-dark);
    box-shadow: inset 0 0 0 1px rgba(var(--field-rgb), .12);
    color: var(--field-dark);
    font-weight: 700;
}

.public-resource-tab:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.public-tournament-resource-row {
    background: linear-gradient(180deg, rgba(var(--accent-rgb), .14), rgba(255,255,255,.92));
    border-color: rgba(var(--accent-rgb), .26);
}

.public-tournament-resource-row::before {
    background: var(--accent);
}

.public-tournament-date-row {
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(var(--field-rgb), .07), rgba(255,255,255,.94));
    border: 1px solid rgba(var(--field-rgb), .14);
    border-radius: 8px;
    display: flex;
    flex: 1 1 100%;
    gap: 12px;
    padding: 12px;
    width: 100%;
}

.public-tournament-date-field {
    min-width: min(100%, 390px);
}

.public-tournament-date-field .form-label {
    color: var(--field-dark);
    margin-bottom: 7px;
}

.public-tournament-card.d-none,
.public-tournament-empty-filter.d-none {
    display: none !important;
}

.public-tournament-workspace {
    align-items: flex-start;
}

.public-tournament-card-grid {
    align-items: stretch;
}

.public-tournament-card-grid.is-filtering .public-tournament-card,
.public-tournament-card-grid.is-filtering .public-tournament-empty-filter {
    display: none !important;
}

.public-tournament-card {
    color: var(--ink);
    display: grid;
    gap: 7px;
    min-height: 170px;
}

.public-tournament-card.active {
    background: linear-gradient(135deg, var(--field-light), #fff);
}

.public-tournament-card-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.public-tournament-card-meta > span:not(.slot-price) {
    background: #f4faf6;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 999px;
    color: #52665c;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 8px;
}

.public-tournament-card-description {
    color: var(--muted);
    display: block;
    font-size: .86rem;
    line-height: 1.42;
    margin-top: 2px;
}

.public-tournament-empty-filter {
    border-style: dashed;
    color: #5f7569 !important;
    grid-column: 1 / -1;
}

.public-tournament-sidebar {
    position: sticky;
    top: 18px;
}

.public-selected-tournament-description {
    background: #fff;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    color: #4f6258;
    font-size: .9rem;
    line-height: 1.48;
    padding: 10px 12px;
}

.booking-workspace {
    align-items: start;
    margin-top: 0;
    row-gap: 1.25rem;
}

.booking-workspace > * {
    margin-top: 0;
}

.booking-toolbar {
    background: linear-gradient(180deg, #fff, #fbfcfa);
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    padding: 10px;
    box-shadow: inset 0 -1px 0 rgba(53,153,87,.06);
}

.booking-toast {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(29,33,70,.10);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(9,45,30,.16);
    color: var(--ink);
    display: flex;
    gap: 10px;
    max-width: min(420px, calc(100vw - 28px));
    padding: 12px;
    position: fixed;
    right: 18px;
    top: calc(env(safe-area-inset-top, 0px) + 78px);
    width: max-content;
    z-index: 1080;
}

.booking-toast-icon {
    align-items: center;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: .72rem;
    font-weight: 700;
    height: 28px;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
    width: 28px;
}

.booking-toast-message {
    flex: 1 1 auto;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.4;
    min-width: 0;
}

.booking-toast-close {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #66736b;
    display: inline-flex;
    flex: 0 0 28px;
    font-size: 1.2rem;
    height: 28px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    width: 28px;
}

.booking-toast-close:hover,
.booking-toast-close:focus {
    background: rgba(29,33,70,.06);
    color: var(--ink);
}

.booking-toast-success {
    border-color: rgba(36,122,67,.22);
}

.booking-toast-success .booking-toast-icon {
    background: var(--field-dark);
}

.booking-toast-warning {
    border-color: rgba(232,135,0,.30);
}

.booking-toast-warning .booking-toast-icon {
    background: #e88700;
}

.booking-toast-danger {
    border-color: rgba(132,32,41,.28);
}

.booking-toast-danger .booking-toast-icon {
    background: #842029;
}

.booking-sidebar {
    display: grid;
    gap: 14px;
}

#selectedBookingBox {
    scroll-margin-top: 18px;
}

.toolbar-card {
    padding: 14px;
}

.admin-panel {
    padding: 18px;
}

.payment-group-card {
    background: linear-gradient(180deg, #eefaf3 0%, #f7fbf8 100%);
    border-color: rgba(53,153,87,.20) !important;
    box-shadow: 0 12px 28px rgba(9,45,30,.06);
}

.payment-group-card.payment-card-updated {
    animation: payment-card-updated 1.15s ease-out both;
}

@keyframes payment-card-updated {
    0% {
        border-color: rgba(50, 170, 102, .72);
        box-shadow: 0 0 0 .24rem rgba(50, 170, 102, .20), 0 14px 32px rgba(9,45,30,.10);
    }
    100% {
        border-color: rgba(53,153,87,.20);
        box-shadow: 0 12px 28px rgba(9,45,30,.06);
    }
}

.payment-group-card .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(255,255,255,.36);
}

.payment-group-card thead th {
    background: rgba(255,255,255,.46);
}

.package-payment-panel {
    background: linear-gradient(180deg, #f5fbf7 0%, #ffffff 100%);
    border: 1px solid rgba(53,153,87,.18);
}

.package-payment-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.package-payment-summary span {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15,107,79,.13);
    border-radius: 999px;
    color: #51625b;
    display: inline-flex;
    gap: 6px;
    padding: 6px 10px;
}

.package-payment-summary .is-due {
    background: #fff7ed;
    border-color: rgba(234,88,12,.22);
    color: #9a3412;
}

.package-payment-summary .is-paid {
    background: #ecfdf3;
    border-color: rgba(22,163,74,.22);
    color: #166534;
}

.package-payment-section-title {
    color: #14342a;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.package-payment-booking-list {
    display: grid;
    gap: 8px;
}

.package-payment-booking-item {
    align-items: flex-start;
    background: #fff;
    border: 1px solid rgba(15,107,79,.12);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 10px 12px;
}

.package-payment-booking-amounts {
    color: #14342a;
    font-weight: 700;
    min-width: 110px;
    text-align: right;
}

.package-payment-booking-amounts small {
    color: #6b7b75;
    display: block;
    font-weight: 700;
}

.booking-code-link {
    align-items: center;
    color: #0f6b4f;
    display: inline-flex;
    gap: 5px;
    line-height: 1.25;
    text-decoration: none;
}

.booking-code-link .bi {
    font-size: .78em;
    opacity: .72;
}

.booking-code-link:hover,
.booking-code-link:focus {
    color: #0b4d39;
    text-decoration: underline;
}

.verified-payment-open-link {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    text-decoration: none;
}

.verified-payment-open-link .bi {
    color: #166534;
    font-size: .78em;
    opacity: .72;
}

.verified-payment-open-link:hover .status-badge,
.verified-payment-open-link:focus .status-badge {
    filter: brightness(.96);
}

.linked-result-highlight {
    outline: 2px solid rgba(34,197,94,.45);
    outline-offset: 2px;
}

.linked-result-highlight > td {
    background: rgba(34,197,94,.09) !important;
}

.payment-edit-action-cell {
    min-width: 320px;
}

.payment-edit-details {
    max-width: 520px;
}

.payment-edit-details summary {
    cursor: pointer;
    list-style: none;
}

.payment-edit-details summary::-webkit-details-marker {
    display: none;
}

.payment-edit-form {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 8px;
    padding: 10px;
}

.payment-edit-meta {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
}

.payment-edit-meta-card {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    display: grid;
    gap: 5px;
    padding: 9px 10px;
}

.payment-edit-meta-card span {
    color: #607067;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.payment-edit-meta-card strong {
    align-self: start;
    color: var(--ink);
    font-size: .98rem;
    line-height: 1.15;
}

.payment-edit-meta-amount strong {
    color: var(--field-dark);
}

.payment-edit-history {
    background: rgba(255,255,255,.64);
    border: 1px solid rgba(29,33,70,.08);
    border-radius: 8px;
    color: #304139;
    font-size: .84rem;
    padding: 10px;
}

.payment-edit-history-title {
    color: var(--field-dark);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.payment-edit-history-item + .payment-edit-history-item {
    border-top: 1px solid rgba(29,33,70,.08);
    margin-top: 8px;
    padding-top: 8px;
}

.dashboard-main {
    min-width: 0;
}

.health-volume-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.health-volume-strip span {
    background: #f4faf6;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 999px;
    color: #466054;
    font-size: .78rem;
    padding: 6px 10px;
}

.health-volume-strip strong {
    color: var(--field-dark);
}

.health-card {
    border-color: rgba(53,153,87,.14);
    height: 100%;
}

.health-card-success {
    box-shadow: 0 18px 46px rgba(53,153,87,.10);
}

.health-card-warning {
    background: linear-gradient(180deg, #fffdf5, #fff);
    border-color: rgba(224,122,0,.22);
}

.health-card-danger {
    background: linear-gradient(180deg, #fff7f7, #fff);
    border-color: rgba(190,18,60,.22);
}

.health-card-head {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.health-status-pill {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: .74rem;
    font-weight: 700;
    padding: 6px 10px;
}

.health-status-success {
    background: #dcfce7;
    border: 1px solid rgba(22,101,52,.16);
    color: #166534;
}

.health-status-warning {
    background: #fff7ed;
    border: 1px solid rgba(194,65,12,.18);
    color: #c2410c;
}

.health-status-danger {
    background: #ffe4e6;
    border: 1px solid rgba(190,18,60,.18);
    color: #be123c;
}

.health-card-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 16px 0 12px;
}

.health-card-metrics > div,
.health-queue-grid > div {
    background: rgba(244,250,246,.88);
    border: 1px solid rgba(16,32,26,.07);
    border-radius: 8px;
    padding: 10px;
}

.health-card-metrics strong,
.health-queue-grid strong {
    color: #10201a;
    display: block;
    font-size: 1.18rem;
    line-height: 1.1;
}

.health-card-metrics span,
.health-queue-grid span {
    color: var(--muted);
    display: block;
    font-size: .78rem;
    margin-top: 3px;
}

.health-detail-list {
    color: #3e5448;
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 18px;
}

.health-detail-list li {
    line-height: 1.35;
}

.health-detail-list strong {
    color: #10201a;
}

.health-sample-list {
    border-top: 1px solid rgba(16,32,26,.08);
    display: grid;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
}

.health-sample-title {
    color: #10201a;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.health-sample-item {
    background: rgba(255,253,247,.9);
    border: 1px solid rgba(217,119,6,.16);
    border-radius: 8px;
    padding: 9px 10px;
}

.health-sample-head {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.health-sample-head a {
    color: #10201a;
    font-weight: 700;
    text-decoration: none;
}

.health-sample-head span {
    color: #b45309;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 700;
}

.health-sample-meta {
    color: var(--muted);
    display: grid;
    font-size: .76rem;
    gap: 2px;
    margin-top: 6px;
}

.cron-job-list {
    display: grid;
    gap: 10px;
}

.cron-job-item {
    background: #f8fcfa;
    border: 1px solid rgba(16,32,26,.08);
    border-left-width: 4px;
    border-radius: 8px;
    padding: 10px;
}

.cron-job-success {
    border-left-color: #2f9e55;
}

.cron-job-warning {
    background: #fffdf7;
    border-left-color: #d97706;
}

.cron-job-danger {
    background: #fff7f7;
    border-left-color: #dc2626;
}

.cron-job-main {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.cron-job-main strong,
.cron-job-main span,
.cron-job-meta span {
    display: block;
}

.cron-job-main strong {
    color: #10201a;
    font-size: .92rem;
    line-height: 1.25;
}

.cron-job-main > div > span,
.cron-job-meta {
    color: var(--muted);
    font-size: .76rem;
}

.cron-job-meta {
    display: grid;
    gap: 2px;
    margin-top: 8px;
}

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

.health-deposit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.health-table-wrap {
    border: 1px solid rgba(16,32,26,.06);
    border-radius: 8px;
}

.health-run-summary {
    max-width: 260px;
    white-space: normal;
}

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

.health-channel-card {
    background: #fbfefc;
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 10px;
    padding: 12px;
}

.health-channel-head {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.health-channel-head h3 {
    color: #10201a;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.health-channel-head p {
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.35;
    margin: 4px 0 0;
}

.health-mini-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
}

.health-gateway-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.health-login-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.health-retention-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.health-mini-grid > div {
    background: rgba(244,250,246,.88);
    border: 1px solid rgba(16,32,26,.07);
    border-radius: 8px;
    padding: 9px;
}

.health-mini-grid strong {
    color: #10201a;
    display: block;
    font-size: 1.05rem;
    line-height: 1.1;
}

.health-mini-grid span {
    color: var(--muted);
    display: block;
    font-size: .74rem;
    margin-top: 3px;
}

.health-quick-link {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.health-quick-link a {
    align-items: center;
    color: #247347;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: 5px;
    text-decoration: none;
}

.health-quick-link a:hover {
    color: #155d34;
    text-decoration: underline;
}

.health-issue-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.health-issue-item {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(16,32,26,.07);
    border-radius: 8px;
    padding: 9px;
}

.health-issue-head {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
}

.health-issue-head strong {
    color: #10201a;
    font-size: .82rem;
    line-height: 1.25;
    min-width: 0;
    overflow-wrap: anywhere;
}

.health-issue-head span {
    background: #fff7ed;
    border: 1px solid rgba(194,65,12,.18);
    border-radius: 999px;
    color: #c2410c;
    flex: 0 0 auto;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 7px;
}

.health-issue-meta,
.health-issue-response {
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.35;
    margin-top: 4px;
}

.health-issue-response {
    background: rgba(244,250,246,.74);
    border-radius: 6px;
    color: #4b5f54;
    overflow-wrap: anywhere;
    padding: 6px 7px;
}

.slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    border-radius: 10px;
    transition: background .18s ease, box-shadow .18s ease, outline-color .18s ease;
}

.slot-resource-section {
    background: #f8fcfa;
    border: 1px solid #dcefe4;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    padding: 12px;
}

.slot-resource-section-head {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.slot-resource-section-head h3 {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.slot-resource-section-head span {
    background: #eef8f1;
    border: 1px solid #cfe7d6;
    border-radius: 999px;
    color: #24593a;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 8px;
}

.slot-resource-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.slot-grid.needs-selection {
    background: rgba(255, 248, 232, .72);
    box-shadow: 0 14px 30px rgba(232,135,0,.12);
    outline: 2px solid rgba(232,135,0,.72);
    outline-offset: 6px;
}

.slot-grid.attention-pulse {
    animation: customerPulse 1.15s ease;
}

.slot-grid.is-slot-flashing,
.package-card-grid.is-slot-flashing,
.direct-booking-slot-cards.is-slot-flashing {
    position: relative;
}

.slot-grid.is-slot-flashing::after,
.package-card-grid.is-slot-flashing::after,
.direct-booking-slot-cards.is-slot-flashing::after {
    animation: slotFlashSweep .28s ease-out both;
    background: linear-gradient(90deg, transparent, rgba(53,153,87,.18), transparent);
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: translateX(-120%);
    z-index: 1;
}

.slot-grid.slot-flash .slot-card,
.slot-grid.slot-flash .slot-empty-state,
.package-card-grid.slot-flash .public-package-card,
.package-card-grid.slot-flash .public-tournament-card,
.direct-booking-slot-cards.slot-flash .direct-booking-slot-card,
.direct-booking-slot-cards.slot-flash .direct-slot-card-empty {
    animation: slotFlashIn .26s ease-out both;
}

.direct-booking-slot-select.slot-flash {
    animation: slotSelectFlash .26s ease-out both;
}

@keyframes slotFlashIn {
    0% {
        box-shadow: 0 0 0 0 rgba(53,153,87,.24);
        filter: brightness(1.035);
    }
    55% {
        box-shadow: 0 0 0 4px rgba(53,153,87,.12);
        filter: brightness(1.02);
    }
    100% {
        box-shadow: inherit;
        filter: none;
    }
}

@keyframes slotSelectFlash {
    0% {
        box-shadow: 0 0 0 0 rgba(36,112,63,.0);
        filter: brightness(.985);
    }
    62% {
        box-shadow: 0 0 0 .18rem rgba(36,112,63,.24);
        filter: brightness(.965);
    }
    100% {
        box-shadow: none;
        filter: none;
    }
}

@keyframes slotFlashSweep {
    0% {
        opacity: 0;
        transform: translateX(-120%);
    }
    24% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(120%);
    }
}

.slot-empty-state {
    align-items: center;
    background: #fff8e8;
    border: 1px solid #f1c96c;
    border-radius: 8px;
    color: #704900;
    display: flex;
    gap: 12px;
    grid-column: 1 / -1;
    padding: 16px;
}

.slot-empty-state strong,
.slot-empty-state span {
    display: block;
}

.slot-empty-state strong {
    font-size: 1rem;
    font-weight: 700;
}

.slot-empty-state span {
    color: #86611a;
    font-size: .9rem;
    margin-top: 2px;
}

.slot-empty-icon {
    align-items: center;
    background: #e88700;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex !important;
    flex: 0 0 34px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    margin: 0 !important;
    width: 34px;
}

.public-empty-resource-state {
    align-items: center;
    background:
        radial-gradient(circle at 14% 18%, rgba(var(--accent-rgb), .18), transparent 28%),
        linear-gradient(135deg, rgba(var(--field-rgb), .08), rgba(255,255,255,.98));
    border: 1px solid rgba(var(--field-rgb), .18);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(9,45,30,.08);
    color: var(--field-dark);
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 4px 0;
    min-height: 220px;
    padding: 32px;
}

.public-empty-resource-icon {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(var(--field-rgb), .16);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(9,45,30,.10);
    color: var(--accent);
    display: inline-flex;
    font-size: 2.2rem;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.public-empty-resource-icon svg {
    height: 36px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 36px;
}

.public-empty-resource-copy {
    display: grid;
    gap: 8px;
}

.public-empty-resource-label {
    color: var(--accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.public-empty-resource-copy strong {
    color: var(--field-dark);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.05;
}

.public-empty-resource-copy p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}

@media (max-width: 575.98px) {
    .slot-resource-section-head {
        flex-direction: column;
    }

    .slot-resource-section-head span {
        align-self: flex-start;
    }

    .public-empty-resource-state {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 24px 18px;
        text-align: center;
    }

    .public-empty-resource-copy p {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .slot-grid.is-slot-flashing::after,
    .package-card-grid.is-slot-flashing::after,
    .direct-booking-slot-cards.is-slot-flashing::after,
    .slot-grid.slot-flash .slot-card,
    .slot-grid.slot-flash .slot-empty-state,
    .package-card-grid.slot-flash .public-package-card,
    .package-card-grid.slot-flash .public-tournament-card,
    .direct-booking-slot-cards.slot-flash .direct-booking-slot-card,
    .direct-booking-slot-cards.slot-flash .direct-slot-card-empty,
    .direct-booking-slot-select.slot-flash {
        animation: none !important;
    }
}

.date-stepper {
    --date-control-height: 48px;
    display: grid;
    grid-template-columns: var(--date-control-height) minmax(180px, 1fr) var(--date-control-height);
    gap: 8px;
    align-items: center;
    max-width: 390px;
}

.date-stepper .form-control {
    height: var(--date-control-height);
    min-height: var(--date-control-height);
}

.date-picker-shell {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    height: var(--date-control-height);
    min-height: var(--date-control-height);
    position: relative;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.date-picker-shell .native-date-control {
    background: transparent;
    border: 0;
    caret-color: transparent;
    color: transparent;
    cursor: pointer;
    height: 100%;
    inset: 0;
    min-height: var(--date-control-height);
    opacity: .01;
    padding: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 1;
}

.date-picker-shell .native-date-control::-webkit-datetime-edit,
.date-picker-shell .native-date-control::-webkit-datetime-edit-fields-wrapper,
.date-picker-shell .native-date-control::-webkit-datetime-edit-text,
.date-picker-shell .native-date-control::-webkit-datetime-edit-month-field,
.date-picker-shell .native-date-control::-webkit-datetime-edit-day-field,
.date-picker-shell .native-date-control::-webkit-datetime-edit-year-field {
    color: transparent;
}

.date-picker-shell .native-date-control::-webkit-clear-button {
    -webkit-appearance: none;
    display: none;
}

.date-picker-shell .native-date-control::-webkit-calendar-picker-indicator {
    cursor: pointer;
    height: auto;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: auto;
}

.date-display-text {
    align-items: center;
    color: var(--field-dark);
    display: flex;
    font-weight: 700;
    inset: 0;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    text-align: center;
    z-index: 2;
    padding: .62rem 2rem;
    width: 100%;
}

.date-picker-shell:focus-within {
    background-color: #fff;
    border-color: var(--field);
    box-shadow: 0 0 0 .22rem rgba(53,153,87,.14);
}

.date-picker-shell.is-disabled {
    background-color: #f3f7f5;
    border-color: #dce7e1;
    cursor: not-allowed;
}

.date-stepper .btn {
    align-items: center;
    border-color: #cfdcd4;
    color: var(--field-dark);
    display: inline-flex;
    height: var(--date-control-height);
    justify-content: center;
    min-height: var(--date-control-height);
    padding-left: 0;
    padding-right: 0;
    width: var(--date-control-height);
}

.date-stepper .btn:hover,
.date-stepper .btn:focus {
    background: rgba(53,153,87,.10);
    border-color: var(--field);
    color: var(--field-dark);
}

.date-stepper .btn:disabled {
    background: #eef1ed;
    border-color: #dce5df;
    color: #a2ada6;
    opacity: 1;
    cursor: not-allowed;
}

.date-nav-btn::before {
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    content: "";
    display: block;
    height: 11px;
    width: 11px;
}

.date-nav-prev::before {
    transform: rotate(-135deg);
}

.date-nav-next::before {
    transform: rotate(45deg);
}

.slot-card {
    min-height: 110px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    background: #fff;
    text-align: left;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.slot-card:not(:disabled):hover,
.slot-card.active {
    border-color: var(--field);
    box-shadow: 0 10px 24px rgba(var(--field-rgb), .16);
    transform: translateY(-1px);
}

.slot-card.needs-selection:not(:disabled) {
    border-color: #e88700;
    box-shadow: 0 12px 26px rgba(232,135,0,.18);
}

.slot-card.is-combined-single:not(:disabled) {
    border-color: #e88700;
    box-shadow: 0 12px 26px rgba(232,135,0,.14);
}

.slot-card:disabled {
    opacity: .55;
    background: #eef1ed;
}

.slot-card.active:disabled {
    background: #fff;
    border-color: var(--field);
    box-shadow: 0 10px 24px rgba(var(--field-rgb), .16);
    opacity: 1;
}

.slot-time {
    font-weight: 700;
    display: block;
}

.public-booking-body .slot-time {
    font-size: calc(1rem - 1px);
}

.slot-price {
    color: var(--field-dark);
    font-weight: 700;
}

.slot-combined-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: .45rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: rgba(47, 132, 89, .1);
    color: #1f6f4d;
    font-size: .78rem;
    font-weight: 700;
}

.slot-card.is-combined-single .slot-combined-count {
    background: rgba(232,135,0,.13);
    color: #9a5200;
}

.slot-state-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    margin-top: 10px;
    padding: 5px 10px;
}

.slot-state-available {
    background: rgba(53,153,87,.12);
    border: 1px solid rgba(53,153,87,.22);
    color: var(--field-dark);
}

.slot-state-booked {
    background: #f8d7da;
    border: 1px solid #efadb5;
    color: #842029;
}

.slot-state-overlapped {
    background: #eef2ff;
    border: 1px solid #b7c6ff;
    color: #33478f;
}

.slot-state-otp_pending {
    background: #fff7e8;
    border: 1px solid #f4c36b;
    color: #8a5200;
}

.slot-state-payment_pending {
    background: #e8f1ff;
    border: 1px solid #99bff7;
    color: #0f4f96;
}

.slot-state-blocked {
    background: #f8d7da;
    border: 1px solid #efadb5;
    color: #842029;
}

.booking-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(112px, 1fr));
    gap: 6px;
    flex: 1 1 540px;
}

.step-pill {
    align-items: center;
    background: #f3f8f5;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #66756e;
    display: flex;
    font-size: .9rem;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    min-height: 44px;
    padding: 8px 12px;
    position: relative;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.step-pill span {
    align-items: center;
    background: rgba(109,118,130,.12);
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    height: 24px;
    justify-content: center;
    min-width: 24px;
}

.step-pill.active {
    background: #fff;
    box-shadow: 0 8px 22px rgba(53,153,87,.14);
    color: var(--field-dark);
    border-color: var(--field);
}

.step-pill.active span {
    background: var(--field);
    color: #fff;
}

.btn.is-loading {
    cursor: wait;
    pointer-events: none;
}

.summary-box {
    background: linear-gradient(180deg, #fbfdfb, #f5faf7);
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    box-shadow: inset 4px 0 0 rgba(53,153,87,.18);
    padding: 14px 16px;
}

.booking-selection-summary {
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.booking-selection-kicker {
    color: var(--ink);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.booking-selection-title {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.booking-selection-details {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.booking-selected-row {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 9px 10px;
}

.booking-selected-row span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.25;
}

.booking-selected-row strong {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.booking-selected-cost-breakdown {
    display: grid;
    gap: 6px;
}

.booking-selected-cost-breakdown.d-none {
    display: none !important;
}

.booking-selected-cost-row {
    align-items: center;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    color: #597064;
    display: flex;
    font-size: .86rem;
    font-weight: 700;
    justify-content: space-between;
    line-height: 1.25;
    padding: 8px 10px;
}

.booking-selected-cost-row strong {
    color: var(--field-dark);
    font-weight: 700;
}

.booking-selected-total {
    background: rgba(53,153,87,.12);
    border: 1px solid rgba(53,153,87,.24);
    border-radius: 8px;
    color: var(--field-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    padding: 10px 12px;
    transform-origin: center left;
}

.booking-selected-total.fee-flash {
    animation: bookingFeeFlash .78s ease;
}

.booking-selected-minimum {
    background: rgba(232,135,0,.11);
    border: 1px solid rgba(232,135,0,.22);
    border-radius: 8px;
    color: #955500;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35;
    padding: 8px 10px;
}

.booking-date-area {
    transition: background .18s ease, box-shadow .18s ease, outline-color .18s ease, transform .18s ease;
}

.booking-date-area.needs-selection {
    background: rgba(255, 248, 232, .78);
    box-shadow: 0 14px 30px rgba(232,135,0,.12);
    outline: 2px solid #e88700;
    outline-offset: 6px;
}

.booking-date-area.attention-pulse {
    animation: customerPulse 1.15s ease;
}

.booking-selection-summary.has-date {
    background: linear-gradient(135deg, #f0fff5, #ffffff);
    border-color: rgba(53,153,87,.42);
    box-shadow: 0 12px 28px rgba(53,153,87,.12), inset 4px 0 0 var(--field);
}

.booking-selection-summary.is-selected {
    background: linear-gradient(135deg, #e7fff0, #ffffff);
    border-color: var(--field);
    box-shadow: 0 16px 34px rgba(53,153,87,.18), inset 4px 0 0 var(--field-dark);
    transform: translateY(-1px);
}

.booking-selection-summary.needs-selection {
    background: linear-gradient(135deg, #fff8e8, #ffffff);
    border-color: #e88700;
    box-shadow: 0 16px 34px rgba(232,135,0,.14), inset 4px 0 0 #e88700;
}

.booking-selection-summary.attention-pulse {
    animation: customerPulse 1.15s ease;
}

.form-stage {
    background: linear-gradient(180deg, #ffffff, #fbfdfb);
    border: 1px solid rgba(16,32,26,.10);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(9,45,30,.05);
    padding: 18px;
}

#capacityStage {
    background: linear-gradient(135deg, #e9f9ef 0%, #ffffff 68%);
    border-color: rgba(53,153,87,.42);
    box-shadow: 0 16px 34px rgba(53,153,87,.14), inset 5px 0 0 var(--field);
}

#capacityStage .form-stage-title {
    color: var(--field-dark);
}

.form-stage .row {
    --bs-gutter-x: .9rem;
    --bs-gutter-y: .9rem;
}

.customer-stage {
    opacity: .74;
    transition: border-color .18s ease, box-shadow .18s ease, opacity .18s ease, background-color .18s ease;
}

.customer-stage.is-ready {
    background: linear-gradient(180deg, #ffffff, #f6fff9);
    border-color: rgba(53,153,87,.52);
    box-shadow: 0 14px 34px rgba(53,153,87,.18), inset 4px 0 0 var(--field);
    opacity: 1;
}

.customer-stage.is-ready .form-stage-title {
    color: var(--field-dark);
}

.customer-stage.attention-pulse {
    animation: customerPulse 1.15s ease;
}

.next-step-hint {
    background: #e9f9ee;
    border: 1px solid rgba(53,153,87,.24);
    border-radius: 8px;
    color: #183f2a;
    margin-bottom: 14px;
    padding: 12px 14px;
}

.next-step-kicker {
    color: var(--field-dark);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.stage-confirmation {
    background: #ecfdf3;
    border: 1px solid rgba(53,153,87,.30);
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(53,153,87,.12);
    padding: 14px 16px;
}

.stage-confirmation-title {
    color: var(--field-dark);
    font-weight: 700;
}

.stage-confirmation-copy {
    color: #334a3d;
    margin-top: 2px;
}

.form-stage-muted {
    background: #fbfcfa;
}

.form-stage-title {
    align-items: center;
    color: var(--field-dark);
    display: flex;
    font-size: .84rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.form-label {
    color: #26372f;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.form-label-row {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 7px;
    min-height: 22px;
}

.field-inline-help {
    background: #f4f6f5;
    border: 1px solid #dce3df;
    border-radius: 999px;
    color: #63736a;
    display: inline-flex;
    flex: 0 1 auto;
    font-size: .7rem;
    font-weight: 700;
    line-height: 1.05;
    max-width: 68%;
    overflow: hidden;
    padding: .25rem .48rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.field-inline-help:empty {
    display: none;
}

.customer-suggestion-anchor {
    position: relative;
}

.customer-suggestion-menu {
    background: #ffffff;
    border: 1px solid #cfe0d5;
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(18, 49, 34, .16);
    max-height: min(360px, calc(100vh - 96px));
    overflow: auto;
    position: fixed;
    z-index: 1085;
}

.customer-suggestion-header {
    align-items: center;
    background: #f2f8f4;
    border-bottom: 1px solid #dbe9e0;
    color: #243b31;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding: 9px 11px;
}

.customer-suggestion-header strong {
    font-size: .78rem;
    font-weight: 700;
}

.customer-suggestion-header span {
    color: #607369;
    font-size: .7rem;
    font-weight: 600;
}

.customer-suggestion-item {
    align-items: flex-start;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf2ef;
    color: #26372f;
    display: grid;
    gap: 9px;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    padding: 10px 11px;
    text-align: left;
    width: 100%;
}

.customer-suggestion-item:last-child {
    border-bottom: 0;
}

.customer-suggestion-item:hover,
.customer-suggestion-item:focus-visible {
    background: #f7fbf8;
}

.customer-suggestion-icon {
    align-items: center;
    background: #e7f5ec;
    border-radius: 10px;
    color: #247a43;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.customer-suggestion-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.customer-suggestion-line {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.customer-suggestion-line strong {
    color: #17261f;
    font-size: .9rem;
    font-weight: 700;
}

.customer-suggestion-line span,
.customer-suggestion-body small,
.customer-suggestion-meta {
    color: #63736a;
    font-size: .74rem;
    font-weight: 600;
}

.customer-suggestion-body small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customer-suggestion-meta {
    white-space: nowrap;
}

.form-control,
.form-select {
    background-color: #fbfdfb;
    border-color: #d4e1d9;
    border-radius: 8px;
    border-width: 1px;
    min-height: 44px;
    padding: .62rem .78rem;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.form-control:hover,
.form-select:hover {
    border-color: #b8d5c3;
}

.form-control:focus,
.form-select:focus {
    background-color: #fff;
    border-color: var(--field);
    box-shadow: 0 0 0 .22rem rgba(53,153,87,.14);
}

.form-control::placeholder {
    color: #9aa8a1;
}

.theme-color-field {
    align-items: stretch;
    display: flex;
    gap: 8px;
    min-width: 0;
}

.theme-color-field .theme-color-text {
    flex: 1 1 auto;
    min-width: 0;
}

.theme-color-picker {
    background: #fff;
    border: 1px solid #d4e1d9;
    border-radius: 8px;
    cursor: pointer;
    flex: 0 0 48px;
    height: 44px;
    min-height: 44px;
    padding: 4px;
    width: 48px;
}

.theme-color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.theme-color-picker::-webkit-color-swatch {
    border: 0;
    border-radius: 6px;
}

.theme-color-picker::-moz-color-swatch {
    border: 0;
    border-radius: 6px;
}

.theme-color-field .form-control-sm + .theme-color-picker,
.theme-color-field .form-control-sm ~ .theme-color-picker {
    flex-basis: 40px;
    height: 38px;
    min-height: 38px;
    width: 40px;
}

.wallet-clipboard-group {
    align-items: stretch;
    flex-wrap: nowrap;
}

.wallet-clipboard-group > .form-control {
    flex: 1 1 auto;
    min-width: 0;
    width: 1%;
}

.wallet-clipboard-group > .btn {
    align-items: center;
    display: inline-flex;
    justify-content: center;
    min-width: 46px;
}

.selected-wallet-number {
    align-items: center;
    background: #f3fbf6;
    border: 1px solid rgba(53,153,87,.20);
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 8px;
    padding: 8px 10px;
}

.selected-wallet-number > span {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
}

.selected-wallet-number > strong {
    color: var(--field-dark);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .01em;
    margin-right: auto;
}

.selected-wallet-number .btn {
    align-items: center;
    display: inline-flex;
    gap: 5px;
    line-height: 1;
}

.direct-booking-slot-select {
    color: #173528;
    font-weight: 700;
}

.direct-booking-slot-select option {
    color: #173528;
    font-weight: 650;
}

.direct-booking-slot-select option:disabled {
    color: #8a968f;
}

.direct-slot-selected-card {
    align-items: center;
    background: linear-gradient(180deg, #f7fbf8, #eef8f1);
    border: 1px solid rgba(53, 153, 87, .22);
    border-radius: 10px;
    box-shadow: inset 4px 0 0 rgba(53, 153, 87, .22);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 8px;
    min-height: 0;
    padding: 8px 10px;
}

.direct-slot-selected-main {
    min-width: 0;
}

.direct-slot-selected-title {
    color: #173528;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.direct-slot-selected-time {
    color: #5d7066;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 3px;
}

.direct-slot-selected-badges {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.direct-slot-selected-badges-only {
    justify-content: flex-start;
    width: 100%;
}

.direct-slot-info-badge {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53, 153, 87, .18);
    border-radius: 999px;
    color: #334a3d;
    display: inline-flex;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.1;
    padding: .34rem .52rem;
    white-space: nowrap;
}

.direct-slot-info-badge.is-fee {
    background: rgba(53, 153, 87, .13);
    border-color: rgba(53, 153, 87, .26);
    color: var(--field-dark);
}

.direct-slot-info-badge.is-minimum {
    background: rgba(232, 135, 0, .12);
    border-color: rgba(232, 135, 0, .24);
    color: #955500;
}

.direct-slot-info-badge.is-capacity {
    background: rgba(37, 99, 235, .10);
    border-color: rgba(37, 99, 235, .22);
    color: #1d4ed8;
}

.direct-slot-info-badge.is-resource {
    background: rgba(29, 33, 70, .07);
    border-color: rgba(29, 33, 70, .14);
    color: var(--ink);
}

.direct-slot-info-badge.is-state {
    background: #eef4f0;
    border-color: #d9e6de;
    color: #53645b;
}

.direct-slot-info-badge.is-available {
    background: rgba(53, 153, 87, .14);
    border-color: rgba(53, 153, 87, .28);
    color: var(--field-dark);
}

.direct-slot-info-badge.is-overlapped {
    background: #eef2ff;
    border-color: #b7c6ff;
    color: #33478f;
}

.admin-date-stepper {
    max-width: none;
    width: 100%;
}

.direct-booking-slot-field .form-label-row {
    align-items: center;
}

.direct-booking-slot-field .field-inline-help {
    max-width: min(44vw, 360px);
}

.direct-slot-view-toggle,
.direct-slot-refresh {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.direct-slot-view-toggle.active {
    background: rgba(53, 153, 87, .12);
    border-color: rgba(53, 153, 87, .42);
    color: var(--field-dark);
}

.direct-booking-slot-cards {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
}

.direct-booking-slot-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dfe9e3;
    border-radius: 12px;
    color: #173528;
    display: grid;
    gap: 9px;
    grid-template-columns: minmax(0, 1fr);
    min-height: 118px;
    padding: 12px;
    position: relative;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

.direct-booking-slot-card:not(:disabled):hover {
    border-color: rgba(53, 153, 87, .42);
    box-shadow: 0 10px 22px rgba(24, 52, 40, .08);
    transform: translateY(-1px);
}

.direct-booking-slot-card.is-selected {
    background: linear-gradient(180deg, #f7fbf8, #edf8f1);
    border-color: var(--field);
    box-shadow: 0 12px 26px rgba(53, 153, 87, .13);
}

.direct-booking-slot-card:disabled {
    background: #f7f8f7;
    color: #65746b;
    cursor: not-allowed;
    opacity: .84;
}

.direct-booking-slot-card:disabled .direct-slot-card-title {
    text-decoration: line-through;
}

.direct-slot-card-main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.direct-slot-card-title {
    color: inherit;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.direct-slot-card-time {
    color: #61766b;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.2;
}

.direct-slot-card-badges {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    margin-top: auto;
    min-width: 0;
}

.direct-slot-card-badges .direct-slot-info-badge {
    font-size: .68rem;
    padding: .28rem .45rem;
}

.direct-slot-card-empty {
    background: #fff7e8;
    border: 1px solid #f2c879;
    border-radius: 12px;
    color: #8a5200;
    font-weight: 700;
    padding: 12px 14px;
    text-align: center;
}

.direct-slot-booking-modal .modal-body {
    background: #f6faf8;
}

.direct-slot-booking-dialog-card {
    box-shadow: none;
}

.direct-slot-booking-dialog-card .booking-card-body {
    grid-template-columns: 1fr;
}

.direct-slot-booking-dialog-card .booking-card-info em {
    color: #607067;
    display: block;
    font-size: .84rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.direct-capacity-quantity {
    align-items: center;
    background: #f8fbff;
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(90px, auto) minmax(92px, 130px) 1fr;
    margin-top: 8px;
    padding: 8px 10px;
}

.direct-capacity-quantity .form-control {
    min-height: 38px;
    padding-block: .42rem;
}

.direct-capacity-quantity-help {
    color: #1d4ed8;
    font-size: .82rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .direct-capacity-quantity {
        grid-template-columns: 1fr;
    }
}

.direct-slot-info-badge.is-booked,
.direct-slot-info-badge.is-payment_pending,
.direct-slot-info-badge.is-otp_pending {
    background: #fff7e8;
    border-color: #f4c36b;
    color: #8a5200;
}

.direct-slot-info-badge.is-blocked,
.direct-slot-info-badge.is-disabled,
.direct-slot-info-badge.is-past {
    background: #f8d7da;
    border-color: #efadb5;
    color: #842029;
}

@media (max-width: 575.98px) {
    .direct-booking-slot-field .form-label-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .direct-booking-slot-field .form-label-row .ms-auto {
        margin-left: 0 !important;
    }

    .direct-booking-slot-field .field-inline-help {
        max-width: 100%;
    }

    .direct-slot-selected-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .direct-slot-selected-badges {
        justify-content: flex-start;
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .direct-booking-slot-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 359.98px) {
    .direct-booking-slot-cards {
        grid-template-columns: 1fr;
    }
}

textarea.form-control {
    min-height: 104px;
    resize: vertical;
}

.form-text {
    color: #6c7771;
    font-size: .82rem;
    margin-top: 6px;
}

.account-turf-field-required .form-label {
    color: #842029;
}

.account-create-form {
    align-items: flex-start !important;
    margin-top: 0;
}

.account-create-form #accountUsernameHelp {
    line-height: 1.25;
    margin-bottom: 0;
    max-width: 100%;
    white-space: normal;
}

.account-password-group {
    display: block;
    position: relative;
}

.account-password-group .form-control {
    min-width: 0;
    padding-right: 3rem;
}

.account-password-group.has-generate .form-control {
    padding-right: 5.75rem;
}

.account-password-group .password-generate-btn,
.account-password-group .password-visibility-btn {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.20);
    border-radius: 8px;
    color: var(--field-dark);
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color .16s ease, border-color .16s ease, color .16s ease;
    width: 36px;
}

.account-password-group .password-generate-btn {
    right: 6px;
}

.account-password-group .password-visibility-btn {
    background: rgba(29,33,70,.05);
    border-color: rgba(29,33,70,.10);
    color: #51635b;
    right: 6px;
}

.account-password-group.has-generate .password-generate-btn {
    right: 48px;
}

.account-password-group .password-generate-btn:hover,
.account-password-group .password-generate-btn:focus,
.account-password-group .password-visibility-btn:hover,
.account-password-group .password-visibility-btn:focus {
    background: rgba(53,153,87,.18);
    border-color: rgba(53,153,87,.34);
    color: var(--field-dark);
    outline: 0;
}

.account-password-group .password-generate-btn:focus-visible,
.account-password-group .password-visibility-btn:focus-visible {
    box-shadow: 0 0 0 .18rem rgba(53,153,87,.18);
}

.account-password-group .password-generate-btn svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 18px;
}

.account-password-group .password-visibility-btn i {
    line-height: 1;
}

.account-password-group-sm .password-visibility-btn,
.account-password-group-sm .password-generate-btn {
    border-radius: 7px;
    height: 28px;
    right: 4px;
    width: 28px;
}

.booking-actions {
    display: grid;
    gap: 8px;
}

.booking-actions .btn {
    font-weight: 700;
    min-height: 48px;
}

.booking-submit-guard {
    cursor: not-allowed;
    display: grid;
}

.booking-submit-guard .btn:disabled {
    background: #e6f1ea;
    border-color: #c9ddd0;
    color: #63806e;
    pointer-events: none;
    opacity: 1;
}

.payment-instruction-box {
    background: linear-gradient(135deg, #f3fbf6, #ffffff);
    border-color: rgba(53,153,87,.32);
    box-shadow: 0 14px 30px rgba(53,153,87,.10), inset 4px 0 0 var(--field);
}

.payment-instruction-title {
    color: var(--field-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}

.payment-instruction-steps {
    display: grid;
    gap: 10px;
}

.payment-instruction-step {
    align-items: flex-start;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    display: flex;
    gap: 10px;
    padding: 11px;
}

.payment-instruction-number {
    align-items: center;
    background: var(--field);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 26px;
    font-size: .82rem;
    font-weight: 700;
    height: 26px;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
}

.payment-instruction-step-body {
    color: #334a3d;
    min-width: 0;
}

.payment-instruction-step-body span,
.payment-instruction-step-body strong,
.payment-instruction-step-body small {
    display: block;
}

.payment-instruction-step-body > span {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.payment-instruction-step-body > strong {
    color: #173f29;
    font-size: 1.05rem;
    line-height: 1.25;
}

.payment-instruction-step-body > small {
    color: #8a5b00;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 4px;
}

.payment-instruction-wallets {
    display: grid;
    gap: 6px;
}

.payment-instruction-wallet {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.payment-instruction-wallet span {
    background: #e9f9ee;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    padding: 5px 8px;
}

.payment-instruction-wallet strong {
    color: #173f29;
    font-size: 1.02rem;
    letter-spacing: .01em;
}

.tournament-registration-card {
    margin-top: 6px;
}

.public-tournament-selected-card {
    background: linear-gradient(135deg, rgba(53,153,87,.09), rgba(255,255,255,.96));
    border: 1px solid rgba(53,153,87,.2);
    border-radius: 10px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px;
}

.public-tournament-selected-card div {
    display: grid;
    gap: 3px;
}

.public-tournament-selected-card span {
    color: #607067;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.public-tournament-selected-card strong {
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.3;
}

.public-tournament-rich-text {
    color: var(--ink);
    line-height: 1.55;
    margin: 0;
}

.public-tournament-rich-text ul,
.public-tournament-rich-text ol {
    margin: 8px 0 0 20px;
    padding: 0;
}

.public-tournament-video-box {
    overflow: hidden;
}

.public-tournament-video-frame {
    aspect-ratio: 16 / 9;
    background: #0f241b;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
}

.public-tournament-video-frame iframe {
    border: 0;
    display: block;
    height: 100%;
    width: 100%;
}

.public-tournament-registration-form .form-label {
    color: #173f29;
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}

.public-tournament-registration-form .form-control,
.public-tournament-registration-form .form-select {
    min-height: 46px;
    width: 100%;
}

.public-tournament-registration-form .btn {
    white-space: normal;
}

.public-team-card-picker {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.public-team-card-option {
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(53,153,87,.20);
    border-radius: 8px;
    color: #173f29;
    cursor: pointer;
    display: flex;
    gap: 9px;
    line-height: 1.25;
    min-height: 48px;
    padding: 10px 11px;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.public-team-card-option input {
    appearance: none;
    background: #fff;
    border: 2px solid #b8d6c3;
    border-radius: 999px;
    flex: 0 0 16px;
    height: 16px;
    margin: 0;
    width: 16px;
}

.public-team-card-option span {
    font-size: .92rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.public-team-card-name {
    flex: 1 1 auto;
}

.public-team-card-status {
    background: #ecf8f1;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    flex: 0 0 auto;
    font-size: .72rem !important;
    line-height: 1.15;
    padding: 4px 7px;
}

.public-team-card-option:hover {
    background: #f2fbf5;
    border-color: rgba(53,153,87,.42);
}

.public-team-card-option.active,
.public-team-card-option:has(input:checked) {
    background: var(--field);
    border-color: var(--field);
    box-shadow: 0 10px 22px rgba(53,153,87,.18);
    color: #fff;
}

.public-team-card-option.active input,
.public-team-card-option:has(input:checked) input {
    background: #fff;
    border-color: #fff;
    box-shadow: inset 0 0 0 4px var(--field);
}

.public-team-card-option:has(input:disabled) {
    cursor: not-allowed;
    opacity: .58;
}

.public-team-card-option.is-unavailable .public-team-card-status,
.public-team-card-option:has(input:disabled) .public-team-card-status {
    background: #f1f4f2;
    border-color: #d8e0dc;
    color: #718078;
}

.public-tournament-payment-card {
    background: #f7fcf9;
    box-shadow: none;
    margin: 0;
    padding: 14px;
}

.public-sidebar-payment-card {
    background: linear-gradient(180deg, #f8fcf9, #eef8f2);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 10px;
    box-shadow: inset 4px 0 0 rgba(53,153,87,.18);
    display: grid;
    gap: 11px;
    padding: 12px;
}

.public-sidebar-payment-subtitle {
    color: #607067;
    font-size: .84rem;
    font-weight: 700;
    line-height: 1.25;
}

.public-sidebar-payment-fee {
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.15;
    padding: 6px 10px;
    text-align: right;
    white-space: nowrap;
}

.public-sidebar-payment-card .selected-wallet-number {
    margin-top: 8px;
}

.public-sidebar-payment-card .selected-wallet-number > span {
    max-width: 100%;
}

.public-tournament-wallets {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    padding: 10px;
}

.public-tournament-otp-panel {
    background: #f4fbf7;
    border: 1px solid #cfe9da;
    border-radius: 8px;
    padding: 12px;
}

.public-tournament-otp-panel.is-verified {
    background: #e9f8ef;
    border-color: #9bd5ad;
}

.public-tournament-otp-panel.is-error {
    background: #fff7ed;
    border-color: #fdba74;
}

.public-tournament-otp-message {
    color: #52645b;
    font-size: .92rem;
    margin-top: 2px;
}

.public-tournament-success {
    align-items: flex-start;
    background: #ecf9f0;
    border: 1px solid #a9ddb8;
    border-radius: 10px;
    color: #173f29;
    display: flex;
    gap: 12px;
    padding: 14px;
}

.public-tournament-success .success-mark {
    align-items: center;
    background: #2f9d58;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 34px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
}

.public-tournament-success-grid {
    color: #49645a;
    display: grid;
    gap: 3px;
    margin-top: 8px;
}

.tournament-payment-history {
    display: grid;
    gap: 8px;
}

.tournament-payment-mini-card {
    background: #f8fcfa;
    border: 1px solid #dcefe4;
    border-radius: 8px;
    padding: 9px;
}

.public-tournament-grid {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.public-tournament-section {
    box-shadow: inset 4px 0 0 rgba(53,153,87,.2), 0 12px 28px rgba(20,67,43,.05);
    min-width: 0;
}

.public-tournament-section .table-responsive {
    min-width: 0;
}

.count-pill {
    align-items: center;
    background: #e8f7ee;
    border: 1px solid rgba(53,153,87,.2);
    border-radius: 999px;
    color: #173f29;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-width: 34px;
    padding: 5px 11px;
}

.public-team-list,
.public-fixture-list,
.public-round-list {
    display: grid;
    gap: 10px;
}

.public-team-card,
.public-fixture-card {
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 8px;
    padding: 12px;
}

.public-team-card {
    display: grid;
    gap: 9px;
}

.public-team-main {
    display: grid;
    gap: 2px;
}

.public-team-main strong {
    color: #132318;
    font-size: 1rem;
    line-height: 1.25;
}

.public-team-main span,
.public-team-meta,
.public-fixture-meta {
    color: #62736a;
    font-size: .88rem;
}

.public-team-badges,
.public-team-meta,
.public-fixture-head,
.public-fixture-meta,
.public-fixture-result {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-fixture-head {
    justify-content: space-between;
}

.public-fixture-head strong,
.public-round-title {
    color: #132318;
    font-weight: 700;
}

.public-round-block {
    display: grid;
    gap: 8px;
}

.public-round-title {
    background: #edf8f1;
    border: 1px solid rgba(53,153,87,.2);
    border-radius: 8px;
    padding: 7px 10px;
}

.public-match-sides {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    margin-top: 10px;
}

.public-match-team {
    background: #f6fbf8;
    border: 1px solid rgba(53,153,87,.15);
    border-radius: 8px;
    color: #173f29;
    font-weight: 700;
    min-width: 0;
    padding: 8px 9px;
}

.public-match-team:last-child {
    text-align: right;
}

.public-match-team.is-winner {
    background: #dff7e7;
    border-color: rgba(53,153,87,.45);
}

.public-match-vs {
    color: #7a8a82;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.public-fixture-meta,
.public-fixture-result {
    margin-top: 9px;
}

.public-fixture-result {
    color: #173f29;
}

.public-standings-table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 640px;
}

.public-standings-table th {
    color: #52665b;
    font-size: .78rem;
    text-transform: uppercase;
}

.public-standings-table td,
.public-standings-table th {
    border-bottom-color: #e3efe8;
    vertical-align: middle;
}

@media (max-width: 575.98px) {
    .public-team-badges,
    .public-team-meta,
    .public-fixture-head,
    .public-fixture-meta,
    .public-fixture-result {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-match-sides {
        grid-template-columns: 1fr;
    }

    .public-match-team:last-child {
        text-align: left;
    }

    .public-match-vs {
        justify-self: start;
    }
}

.booking-success {
    align-items: flex-start;
    background: linear-gradient(135deg, #e9f9ee, #ffffff);
    border: 1px solid rgba(53,153,87,.32);
    border-radius: 8px;
    box-shadow: 0 18px 34px rgba(53,153,87,.16);
    color: #183f2a;
    display: flex;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
}

.booking-success.d-none {
    display: none !important;
}

.success-mark {
    align-items: center;
    background: var(--field);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 38px;
    font-size: 1.25rem;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    line-height: 1;
}

.success-title {
    color: var(--field-dark);
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.25;
}

.success-copy {
    color: #334a3d;
    margin-top: 3px;
}

.success-meta {
    color: #607067;
    font-size: .9rem;
    margin-top: 8px;
}

.success-amount-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin-bottom: 10px;
}

.success-amount-pill {
    background: #ffffff;
    border: 1px solid rgba(53,153,87,.20);
    border-radius: 8px;
    padding: 10px 11px;
}

.success-amount-pill span,
.success-amount-pill strong {
    display: block;
}

.success-amount-pill span {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
}

.success-amount-pill strong {
    color: #183f2a;
    font-size: 1rem;
    line-height: 1.2;
    margin-top: 2px;
}

.success-amount-pill.is-due {
    background: #fff8e8;
    border-color: #f1c96c;
}

.success-amount-pill.is-due strong {
    color: #9a5a00;
}

.success-amount-pill.is-clear {
    background: #ecfdf3;
}

.success-meta-line + .success-meta-line {
    margin-top: 3px;
}

.credit-warning-strip {
    align-items: center;
    background: #fff8e1;
    border: 1px solid #f2d27b;
    border-radius: 8px;
    color: #6b4b00;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.metric-label {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.metric-help {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.20);
    border-radius: 999px;
    color: var(--field-dark);
    cursor: help;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 700;
    height: 18px;
    justify-content: center;
    line-height: 1;
    width: 18px;
}

@keyframes customerPulse {
    0% { transform: translateY(0); }
    35% { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(53,153,87,.24), inset 4px 0 0 var(--field); }
    100% { transform: translateY(0); }
}

@keyframes bookingFeeFlash {
    0% {
        background: rgba(53,153,87,.12);
        border-color: rgba(53,153,87,.24);
        box-shadow: none;
        transform: scale(1);
    }
    35% {
        background: #fff3cd;
        border-color: #e88700;
        box-shadow: 0 12px 28px rgba(232,135,0,.22);
        color: #704900;
        transform: scale(1.02);
    }
    100% {
        background: rgba(53,153,87,.12);
        border-color: rgba(53,153,87,.24);
        box-shadow: none;
        transform: scale(1);
    }
}

.admin-panel.row {
    align-items: flex-start;
    margin-left: 0;
    margin-right: 0;
    row-gap: 16px;
}

.admin-panel.row > [class*="col-"] {
    min-width: 0;
}

.admin-panel.row > .admin-form-action-col {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
}

.admin-panel.row > .admin-form-action-col .btn {
    white-space: nowrap;
}

.admin-panel.row > .accessory-create-action {
    align-items: flex-start;
    padding-top: 30px;
}

.admin-panel .row {
    --bs-gutter-x: .95rem;
    --bs-gutter-y: 1rem;
    align-items: flex-start;
}

.admin-panel .form-label,
.toolbar-card .form-label {
    color: #31463b;
    font-size: .82rem;
    letter-spacing: .01em;
    margin-bottom: 6px;
}

.admin-panel .form-control,
.admin-panel .form-select,
.toolbar-card .form-control,
.toolbar-card .form-select {
    background-color: #fbfdfb;
    width: 100%;
}

.turf-qr-panel {
    overflow: hidden;
}

.turf-qr-preview {
    width: min(100%, 220px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 14px;
    border: 1px solid rgba(36, 122, 67, .18);
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 6px #f6faf8;
}

.turf-qr-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.turf-qr-turf-select {
    max-width: 420px;
}

.turf-qr-downloads {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 22px 14px;
}

.turf-qr-download-group {
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(36, 122, 67, .14);
    border-radius: 10px;
    background: #fbfdfb;
}

.toolbar-card {
    align-items: flex-start !important;
    row-gap: 12px !important;
}

.toolbar-card > div {
    flex: 1 1 190px;
    min-width: min(100%, 190px);
}

.toolbar-card .btn {
    white-space: nowrap;
}

.block-filter-toolbar {
    align-items: flex-end !important;
    gap: 12px 14px !important;
    margin-bottom: 1rem !important;
}

.block-filter-toolbar > div {
    min-width: 0;
}

.block-filter-toolbar .block-filter-type {
    flex: 0 1 340px;
    max-width: 100%;
}

.block-filter-toolbar .block-filter-action {
    flex: 0 0 auto;
}

.block-filter-toolbar .btn {
    min-height: 44px;
    min-width: 96px;
}

.block-create-form {
    margin-top: 1rem !important;
}

.turf-search-toolbar {
    align-items: flex-start !important;
}

.toolbar-card .turf-search-input {
    flex: 1 1 360px;
    min-width: min(100%, 280px);
}

.toolbar-card .turf-sort-input {
    flex: 0 0 230px;
    min-width: min(100%, 230px);
}

.turf-search-toolbar .turf-search-button {
    align-self: flex-end;
    flex: 0 0 auto;
    min-width: 92px;
}

.turf-create-form .turf-create-actions .btn {
    min-width: 132px;
}

.turf-create-form .facility-settings-field .form-label {
    align-items: flex-end;
    display: flex;
    min-height: 2.45rem;
}

.turf-create-form .form-text {
    line-height: 1.35;
}

.facility-settings-grid {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facility-settings-item {
    align-content: start;
    display: grid;
    gap: 6px;
    min-width: 0;
}

.facility-settings-item .form-check {
    height: 100%;
    margin: 0;
}

.facility-settings-item .form-text {
    margin: 0;
}

@media (max-width: 991.98px) {
    .facility-settings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .facility-settings-grid {
        grid-template-columns: 1fr;
    }

    .turf-create-form .facility-settings-field .form-label {
        min-height: 0;
    }
}

.wallet-account-row {
    align-items: stretch;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 128px;
}

.wallet-account-row-sm {
    grid-template-columns: minmax(0, 1fr) 116px;
}

.wallet-account-row .form-control,
.wallet-account-row .form-select {
    min-width: 0;
}

.turf-selector-toolbar {
    display: block;
    position: relative;
}

.turf-selector-combobox {
    max-width: 620px;
    position: relative;
}

.turf-selector-combobox .input-group {
    align-items: stretch;
    flex-wrap: nowrap;
}

.turf-selector-combobox .input-group-text {
    flex: 0 0 auto;
}

.toolbar-card .turf-selector-combobox .form-control {
    flex: 1 1 auto;
    min-width: 0;
    width: 1% !important;
}

.turf-selector-toggle {
    flex: 0 0 46px !important;
    min-width: 46px;
    width: 46px !important;
}

.turf-selector-menu {
    background: #fff;
    border: 1px solid rgba(36, 122, 67, .16);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(17, 58, 38, .16);
    display: none;
    left: 0;
    margin-top: 8px;
    max-height: 318px;
    overflow: auto;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 1040;
}

.turf-selector-toolbar.is-open .turf-selector-menu {
    display: grid;
    gap: 4px;
}

.turf-selector-option {
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: #173326;
    display: grid;
    gap: 2px;
    line-height: 1.25;
    padding: 10px 11px;
    text-align: left;
    width: 100%;
}

.turf-selector-option:hover,
.turf-selector-option:focus,
.turf-selector-option.is-active {
    background: #eef8f1;
    outline: 0;
}

.turf-selector-option[data-selected="1"] {
    background: #e4f4e9;
    color: #176637;
}

.turf-selector-option-name {
    font-weight: 700;
}

.turf-selector-option-meta {
    color: #64766d;
    font-size: .82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turf-selector-empty {
    color: #6b7c73;
    padding: 12px;
    text-align: center;
}

.current-turf-header {
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f2fbf5 100%);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(22,64,45,.06);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
}

.current-turf-main {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.current-turf-icon {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 12px;
    color: var(--field-dark);
    display: inline-flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.current-turf-logo {
    border-radius: 10px;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.current-turf-copy {
    min-width: 0;
}

.current-turf-label {
    color: #607067;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.1;
    text-transform: uppercase;
}

.current-turf-name {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.current-turf-meta {
    color: #63746a;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.3;
    margin-top: 3px;
    white-space: pre-line;
}

.current-turf-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.current-turf-badge {
    background: #eef8f2;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 7px 10px;
}

a.current-turf-badge {
    text-decoration: none;
}

a.current-turf-badge:hover,
a.current-turf-badge:focus {
    border-color: rgba(53,153,87,.34);
    color: var(--field-dark);
    text-decoration: none;
}

.current-turf-credit.is-zero {
    background: #fff1f1;
    border-color: rgba(220,53,69,.22);
    color: #b42330;
}

.booking-search-toolbar {
    align-items: flex-start !important;
}

.toolbar-card .booking-search-input {
    flex: 0 1 320px;
    min-width: min(100%, 260px);
}

.booking-search-toolbar .booking-search-button {
    align-self: flex-end;
    flex: 0 0 auto;
    min-width: 92px;
}

.booking-status-filter-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 10px;
}

.booking-status-filter-tab {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(36,122,67,.14);
    border-radius: 999px;
    color: #405149;
    display: inline-flex;
    font-size: .9rem;
    font-weight: 650;
    justify-content: center;
    line-height: 1.2;
    min-height: 36px;
    min-width: 92px;
    padding: 8px 14px;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.booking-status-filter-tab:hover,
.booking-status-filter-tab:focus {
    background: #eef8f2;
    border-color: rgba(36,122,67,.28);
    color: var(--field-dark);
    text-decoration: none;
}

.booking-status-filter-tab.active {
    background: var(--field);
    border-color: var(--field);
    box-shadow: 0 10px 20px rgba(36,122,67,.16);
    color: #fff;
}

.payment-status-filter-tab.filter-pending.active {
    background: #d97706;
    border-color: #d97706;
    box-shadow: 0 10px 20px rgba(217,119,6,.16);
    color: #fff;
}

.payment-status-filter-tab.filter-verified.active {
    background: #247a43;
    border-color: #247a43;
    box-shadow: 0 10px 20px rgba(36,122,67,.18);
    color: #fff;
}

.payment-status-filter-tab.filter-rejected.active {
    background: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 10px 20px rgba(220,53,69,.14);
    color: #fff;
}

.payment-status-filter-tab.filter-edited.active {
    background: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 10px 20px rgba(79,70,229,.14);
    color: #fff;
}

.date-filter-toolbar {
    align-items: flex-start !important;
}

.toolbar-card .date-filter-input {
    flex: 0 0 180px;
    min-width: min(100%, 180px);
}

.date-filter-toolbar .date-filter-button {
    align-self: flex-end;
    flex: 0 0 auto;
    min-width: 86px;
}

.filter-summary-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-summary-chip {
    align-items: center;
    background: #f5f7fa;
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 999px;
    color: #45515f;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    min-height: 32px;
    padding: 7px 11px;
}

.filter-summary-chip.is-due,
.filter-summary-chip.is-pending {
    background: #fff7e6;
    border-color: rgba(232,135,0,.22);
    color: #9a4d00;
}

.filter-summary-chip.is-total {
    background: #eefaf3;
    border-color: rgba(36,122,67,.22);
    color: #247a43;
}

.filter-summary-chip.is-method {
    background: #f8fbf9;
    border-color: rgba(36,122,67,.12);
    color: #39493f;
}

.admin-panel .form-check {
    align-items: center;
    background: #fbfdfb;
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    display: flex;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
}

.admin-panel .form-check-input {
    flex: 0 0 auto;
    margin: 0;
}

.admin-panel .form-check.form-check-baseline {
    align-items: center;
}

.admin-panel .form-check.form-check-baseline .form-check-input {
    transform: none;
}

.admin-panel .form-check.form-check-baseline .form-check-text {
    display: block;
    line-height: 1.35;
}

.block-slot-picker {
    background: #f8fbf8;
    border: 1px solid rgba(36, 122, 67, .14);
    border-radius: 12px;
    padding: 12px;
}

.block-slot-picker-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.block-slot-group-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.block-slot-group {
    background: #fff;
    border: 1px solid rgba(16, 32, 26, .08);
    border-radius: 10px;
    padding: 10px;
}

.block-slot-group-title {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 8px;
}

.block-slot-group-title span {
    color: #10201a;
    font-weight: 700;
}

.block-slot-group-title small {
    color: #68766e;
    font-weight: 600;
}

.block-slot-option-list {
    display: grid;
    gap: 8px;
}

.block-slot-option {
    align-items: flex-start;
    background: #fbfdfb;
    border: 1px solid rgba(16, 32, 26, .08);
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    gap: 9px;
    padding: 9px 10px;
}

.block-slot-option:has(.form-check-input:checked) {
    background: #eefaf3;
    border-color: rgba(36, 122, 67, .36);
}

.block-slot-option.is-disabled {
    opacity: .72;
}

.block-slot-option .form-check-input {
    margin-top: 3px;
}

.block-slot-option-copy {
    display: grid;
    gap: 2px;
    line-height: 1.25;
}

.block-slot-option-copy strong,
.block-slot-option-copy span {
    color: #10201a;
}

.block-slot-option-copy small {
    color: #68766e;
    font-weight: 600;
}

.block-create-form.is-whole-day .block-slot-picker {
    opacity: .68;
}

.booking-accessory-list {
    display: grid;
    gap: 10px;
}

.booking-accessory-list {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.booking-accessory-picker {
    background: #f7fbf8;
    border: 1px solid rgba(53, 153, 87, .14);
    border-radius: 12px;
    padding: 12px;
}

.booking-accessory-picker .form-label {
    color: #173528;
    margin-bottom: 10px !important;
}

.booking-accessory-picker .row {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .75rem;
}

.booking-accessory-picker .row > [class*="col-"] {
    display: flex;
}

.accessory-qty-card,
.booking-accessory-option {
    align-items: center;
    background: #f8fbf8;
    border: 1px solid rgba(53, 153, 87, .18);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 11px 12px;
}

.accessory-thumb,
.accessory-photo-preview {
    background: #ffffff;
    border: 1px solid rgba(53, 153, 87, .18);
    border-radius: 10px;
    flex: 0 0 auto;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.accessory-thumb-empty,
.accessory-photo-empty {
    align-items: center;
    color: #6d8175;
    display: inline-flex;
    justify-content: center;
}

.accessory-thumb-empty::before,
.accessory-photo-empty::before {
    content: "\26BD";
    font-size: 1.1rem;
}

.accessory-photo-admin {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 220px;
}

.accessory-photo-admin .form-control {
    min-width: 150px;
}

.accessory-qty-card {
    cursor: pointer;
    flex: 1 1 auto;
    min-height: 68px;
    width: 100%;
}

.booking-accessory-option {
    cursor: pointer;
    min-height: 68px;
    width: 100%;
}

.accessory-qty-card > span {
    flex: 1 1 auto;
    min-width: 0;
}

.booking-accessory-option > span:not(.accessory-thumb) {
    flex: 1 1 auto;
    min-width: 0;
}

.accessory-qty-card:hover,
.booking-accessory-option:hover {
    border-color: rgba(53, 153, 87, .36);
}

.accessory-qty-card .form-control,
.booking-accessory-option .form-control {
    flex: 0 0 82px;
    max-width: 82px;
    text-align: center;
}

.booking-accessory-option .form-control {
    height: 40px;
    padding-left: 8px;
    padding-right: 8px;
}

.accessory-qty-card strong,
.booking-accessory-option strong {
    color: #173528;
    display: block;
    font-size: .96rem;
    line-height: 1.2;
}

.accessory-qty-card small,
.booking-accessory-option small {
    color: #64756c;
    display: block;
    font-weight: 700;
    margin-top: 2px;
}

.admin-panel .form-check-label,
.admin-panel .form-check {
    color: #334a3d;
    font-weight: 700;
}

.turf-create-toggle-col {
    align-self: flex-end;
}

.turf-create-toggle-col .form-check {
    width: 100%;
}

.discount-toggle-cell {
    align-items: flex-end;
    align-self: flex-start;
    display: flex;
    min-height: 73px;
    padding-top: 0;
}

.admin-panel .discount-icon-btn {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    font-size: 1.05rem;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 42px;
}

.admin-panel .discount-icon-btn.has-value,
.admin-panel .discount-icon-btn.is-expanded {
    background: rgba(53,153,87,.12);
    border-color: rgba(53,153,87,.42);
    color: var(--field-dark);
}

.discount-field {
    min-width: min(100%, 220px);
}

.form-control[type="file"] {
    padding-bottom: .52rem;
    padding-top: .52rem;
}

.turf-logo-help {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 650;
    line-height: 1.25;
    max-width: 260px;
}

.turf-admin-table .turf-logo-help {
    max-width: 190px;
}

.report-actions {
    padding: 16px;
}

.report-view-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 16px;
}

.report-view-title {
    color: var(--ink);
    font-weight: 700;
}

.report-view-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.report-preview-panel {
    padding: 18px;
}

.report-preview-header {
    align-items: flex-start;
    border-bottom: 1px solid rgba(53,153,87,.14);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
}

.report-preview-metrics {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.report-preview-metrics > div {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    display: grid;
    gap: 3px;
    padding: 10px 12px;
}

.report-preview-metrics .metric-label,
.report-preview-metrics > div > span {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.report-preview-metrics strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.report-preview-table td,
.report-preview-table th {
    vertical-align: top;
}

.cache-refresh-panel {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.cache-refresh-button {
    flex: 0 0 auto;
}

.report-account-name {
    overflow-wrap: anywhere;
}

.report-download-btn,
.report-email-btn {
    width: 100%;
    white-space: nowrap;
}

.report-download-btn.disabled {
    opacity: .65;
    pointer-events: none;
}

.report-email-actions,
.report-download-actions {
    width: 100%;
}

.report-email-actions .report-email-btn {
    width: 100%;
}

.report-email-form .row {
    --bs-gutter-x: .5rem;
    --bs-gutter-y: .5rem;
}

.report-email-form .form-control {
    min-height: 42px;
}

.date-filter-toolbar-reports {
    align-items: flex-end !important;
}

.date-filter-toolbar-reports .date-filter-button {
    align-self: flex-end;
}

.resource-filter-toolbar {
    align-items: flex-end !important;
}

.resource-filter-toolbar .resource-filter-input {
    flex: 0 1 340px;
    min-width: min(100%, 260px);
}

.resource-filter-toolbar .date-filter-button {
    align-items: center;
    align-self: flex-end;
    display: inline-flex;
    justify-content: center;
    min-height: 42px;
}

.payment-bkash-field {
    transition: opacity .16s ease;
}

.operator-credit-form {
    background: linear-gradient(135deg, rgba(53, 153, 87, .10), rgba(255, 255, 255, .96));
    border-color: rgba(53, 153, 87, .22);
    box-shadow: 0 14px 34px rgba(31, 111, 67, .08);
    margin-top: 1.35rem;
}

.operator-credit-button {
    min-height: 48px;
}

@media (min-width: 768px) {
    .operator-credit-button {
        width: 100%;
    }
}

.admin-panel.table-responsive {
    padding: 12px;
}

.admin-panel.table-responsive .table {
    margin-bottom: 0;
}

.admin-panel .table > :not(caption) > * > *,
.toolbar-card .table > :not(caption) > * > * {
    vertical-align: top;
}

.table:not(.slot-admin-table) .form-control,
.table:not(.slot-admin-table) .form-select {
    background-color: #fff;
    min-width: 138px;
}

.resource-fee-rule-grid {
    display: grid;
    grid-template-columns: minmax(150px, 1.4fr) repeat(4, minmax(82px, .8fr));
    gap: 8px;
    align-items: start;
    min-width: 520px;
}

.resource-management-form {
    align-items: end;
}

.resource-management-form .form-label {
    min-height: 1.35em;
}

.resource-booking-visible-field .form-check {
    width: 100%;
}

.resource-booking-visible-help {
    border-radius: 8px;
    display: flex;
    line-height: 1.35;
    margin-top: 6px;
    max-width: 100%;
    overflow: visible;
    white-space: normal;
}

.resource-create-action {
    align-items: center;
    display: flex;
    justify-content: flex-end;
}

.resource-admin-table {
    border-collapse: separate;
    display: block;
    margin-bottom: 0;
    min-width: 0;
    width: 100%;
}

.resource-admin-table thead {
    display: none;
}

.resource-admin-table tbody {
    display: grid;
    gap: 14px;
    width: 100%;
}

.resource-admin-table tr {
    align-content: start;
    align-items: start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid rgba(53,153,87,.15);
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 14px 34px rgba(9,45,30,.07);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding: 14px;
    width: 100%;
}

.resource-admin-table td {
    border: 0;
    display: block;
    grid-column: span 2;
    min-width: 0;
    padding: 0;
    vertical-align: top;
}

.resource-admin-table td::before {
    color: #607067;
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.resource-admin-table td:not([data-label])::before {
    display: none;
}

.resource-admin-table td:nth-child(1) {
    grid-column: span 3;
}

.resource-admin-table td:nth-child(4),
.resource-admin-table td:nth-child(5),
.resource-admin-table td:nth-child(8) {
    grid-column: span 1;
}

.resource-admin-table td:nth-child(6),
.resource-admin-table td:nth-child(7) {
    grid-column: 1 / -1;
}

.resource-admin-table td:nth-child(9) {
    grid-column: 10 / -1;
}

.resource-admin-table tr:has(td[colspan]) td {
    grid-column: 1 / -1;
}

.resource-admin-table tr.table-light {
    background: #f7faf8;
    box-shadow: none;
}

.resource-admin-table .form-control,
.resource-admin-table .form-select {
    min-width: 0 !important;
    width: 100%;
}

.resource-admin-table .resource-fee-rule-grid {
    min-width: 0;
    grid-template-columns: minmax(190px, 1.4fr) repeat(4, minmax(100px, .8fr));
}

.resource-admin-table .row-action-cell {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
}

.resource-admin-table .row-action-cell::before {
    flex: 0 0 100%;
    text-align: right;
}

.resource-admin-table .row-action-cell .btn,
.resource-admin-table .row-action-cell form {
    margin: 0;
}

.resource-admin-table .row-action-cell form {
    display: inline-flex;
}

@media (max-width: 991.98px) {
    .resource-fee-rule-grid {
        min-width: 0;
        grid-template-columns: 1fr 1fr;
    }

    .resource-fee-rule-grid .form-select {
        grid-column: 1 / -1;
    }

    .resource-admin-table tr {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .resource-admin-table td,
    .resource-admin-table td:nth-child(1),
    .resource-admin-table td:nth-child(4),
    .resource-admin-table td:nth-child(5),
    .resource-admin-table td:nth-child(8) {
        grid-column: span 1;
    }

    .resource-admin-table td:nth-child(6),
    .resource-admin-table td:nth-child(7),
    .resource-admin-table .row-action-cell {
        grid-column: 1 / -1;
    }

    .resource-admin-table .row-action-cell,
    .resource-admin-table .row-action-cell::before {
        text-align: left;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    .resource-create-action {
        align-items: stretch;
    }

    .resource-create-action .btn {
        width: 100%;
    }

    .resource-admin-table tr {
        grid-template-columns: 1fr;
    }

    .resource-admin-table td,
    .resource-admin-table td:nth-child(1),
    .resource-admin-table td:nth-child(4),
    .resource-admin-table td:nth-child(5),
    .resource-admin-table td:nth-child(6),
    .resource-admin-table td:nth-child(7),
    .resource-admin-table td:nth-child(8),
    .resource-admin-table .row-action-cell {
        grid-column: 1 / -1;
    }

    .resource-admin-table .resource-fee-rule-grid {
        grid-template-columns: 1fr;
    }

    .resource-admin-table .row-action-cell {
        align-items: stretch;
        flex-direction: column;
    }

    .resource-admin-table .row-action-cell::before {
        text-align: left;
    }

    .resource-admin-table .row-action-cell .btn,
    .resource-admin-table .row-action-cell form {
        width: 100%;
    }
}

.turf-admin-table .turf-compact-input {
    min-width: 0 !important;
}

.turf-admin-table td {
    vertical-align: top;
}

.turf-admin-table {
    border-collapse: separate;
    display: block;
    margin-bottom: 0;
    min-width: 0;
    width: 100%;
}

.turf-admin-table thead {
    display: none;
}

.turf-admin-table tbody {
    display: grid;
    gap: 14px;
    width: 100%;
}

.turf-admin-table tr {
    align-items: start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid rgba(53,153,87,.15);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(9,45,30,.07);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding: 14px;
    width: 100%;
}

.turf-admin-table td {
    border: 0;
    display: block;
    grid-column: span 3;
    min-width: 0;
    padding: 0;
    vertical-align: top;
}

.turf-admin-table td::before {
    color: #607067;
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.turf-admin-table td:not([data-label])::before {
    display: none;
}

.turf-admin-table td:nth-child(1),
.turf-admin-table td:nth-child(2) {
    grid-column: span 3;
}

.turf-admin-table td:nth-child(3) {
    grid-column: span 6;
}

.turf-admin-table .turf-sms-cell,
.turf-admin-table .turf-credit-cell {
    grid-column: span 4;
}

.turf-admin-table .row-action-cell,
.turf-admin-table tr:has(td[colspan]) td {
    grid-column: 1 / -1;
}

.turf-admin-table .form-control,
.turf-admin-table .form-select {
    min-width: 0 !important;
    width: 100%;
}

.turf-admin-table .turf-compact-input {
    max-width: none;
    text-align: left;
}

.turf-admin-table .form-check {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 8px;
    display: flex;
    min-height: 38px;
    padding: 8px 10px;
}

.turf-admin-table td > .form-check-input {
    margin-left: 0;
}

.turf-admin-table .row-action-cell {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
}

.turf-admin-table .row-action-cell::before {
    flex: 0 0 100%;
}

.turf-admin-table .row-action-cell .btn,
.turf-admin-table .row-action-cell form:not(.row-save-form) {
    margin: 0;
}

.turf-admin-table .row-action-cell form:not(.row-save-form) {
    display: inline-flex;
}

.turf-admin-table .brand-mark {
    flex: 0 0 auto;
}

.turf-logo-upload-meta {
    align-items: center;
    display: flex;
    gap: .55rem;
    margin-top: .45rem;
}

.turf-logo-preview {
    flex: 0 0 auto;
    height: 64px;
    width: 64px;
}

.turf-admin-table input[type="file"] {
    font-size: .84rem;
}

.turf-admin-table .turf-logo-help {
    line-height: 1.35;
}

.turf-account-list-panel {
    padding: 14px;
}

.turf-account-list {
    display: grid;
    gap: 12px;
}

.turf-account-card {
    background: #fff;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(9,45,30,.05);
    overflow: hidden;
}

.turf-account-card[open] {
    border-color: rgba(53,153,87,.28);
    box-shadow: 0 16px 36px rgba(9,45,30,.08);
}

.turf-account-summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(260px, 1fr) minmax(220px, auto) auto;
    list-style: none;
    padding: 14px 16px;
}

.turf-account-summary::-webkit-details-marker {
    display: none;
}

.turf-account-summary::marker {
    content: "";
}

.turf-account-summary-main {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.turf-account-summary-logo {
    border-radius: 10px;
    flex: 0 0 auto;
    height: 52px;
    object-fit: cover;
    width: 52px;
}

.turf-account-summary-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.turf-account-summary-title strong {
    color: var(--ink);
    font-size: 1.03rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turf-account-summary-title small {
    color: var(--muted);
    font-size: .8rem;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turf-account-summary-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
}

.turf-account-chip {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 999px;
    color: #44534b;
    display: inline-flex;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1;
    max-width: 100%;
    min-height: 32px;
    overflow: hidden;
    padding: 8px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.turf-account-chip.is-success {
    background: rgba(53,153,87,.10);
    border-color: rgba(53,153,87,.20);
    color: #247a43;
}

.turf-account-chip.is-danger {
    background: rgba(220,53,69,.08);
    border-color: rgba(220,53,69,.18);
    color: #b02a37;
}

.turf-account-chip.is-muted {
    background: rgba(109,118,130,.10);
    border-color: rgba(109,118,130,.18);
    color: #5b6570;
}

.turf-account-chip.is-warning {
    background: rgba(245,158,11,.12);
    border-color: rgba(245,158,11,.24);
    color: #92400e;
}

.turf-account-summary-toggle {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    line-height: 1;
    min-height: 34px;
    padding: 9px 12px;
    white-space: nowrap;
}

.turf-account-summary-toggle::after {
    content: "+";
    font-size: 1rem;
    line-height: .7;
}

.turf-account-card[open] .turf-account-summary-toggle {
    background: var(--field-dark);
    border-color: var(--field-dark);
    color: #fff;
}

.turf-account-card[open] .turf-account-summary-toggle::after {
    content: "-";
}

.turf-account-body {
    background: linear-gradient(180deg, #fbfdfb 0%, #ffffff 100%);
    border-top: 1px solid rgba(53,153,87,.13);
    padding: 16px;
}

.turf-account-body .form-control,
.turf-account-body .form-select {
    min-width: 0;
}

.turf-account-body .form-check {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 8px;
    display: flex;
    min-height: 38px;
    padding: 8px 10px;
}

.turf-account-actions {
    align-items: center;
    border-top: 1px solid rgba(53,153,87,.10);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 16px;
    padding-top: 14px;
}

.turf-account-actions form {
    margin: 0;
}

.staff-account-list-panel {
    padding: 14px;
}

.staff-account-list {
    display: grid;
    gap: 12px;
}

.staff-account-facility-group {
    background: linear-gradient(180deg, #f7fbf9 0%, #ffffff 100%);
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(18,55,39,.06);
    display: grid;
    gap: 10px;
    padding: 12px;
}

.staff-account-facility-header {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.staff-account-facility-title {
    align-items: center;
    color: var(--field-dark);
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 9px;
    min-width: 0;
}

.staff-account-facility-title > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.staff-account-facility-icon {
    align-items: center;
    background: rgba(53,153,87,.12);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 10px;
    color: var(--field-green);
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.staff-account-facility-list {
    display: grid;
    gap: 10px;
}

.staff-account-card .turf-account-summary {
    grid-template-columns: minmax(280px, 1fr) minmax(240px, auto) auto;
}

.staff-account-avatar {
    align-items: center;
    background: rgba(53,153,87,.10);
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 12px;
    color: var(--field-dark);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.25rem;
    height: 46px;
    justify-content: center;
    width: 46px;
}

.resource-account-card.is-muted {
    background: #f7faf8;
}

.resource-account-avatar {
    color: var(--field-dark);
}

.public-resource-group-panel {
    overflow: hidden;
}

.public-resource-group-list {
    margin-top: 12px;
}

.public-resource-group-card.is-muted {
    background: #f7faf8;
}

.public-resource-group-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.public-resource-group-option {
    align-items: flex-start;
    background: #f8fcfa;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 10px;
    color: var(--ink);
    display: flex;
    gap: 10px;
    line-height: 1.35;
    min-height: 70px;
    padding: 12px;
}

.public-resource-group-option .form-check-input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.public-resource-group-option strong {
    display: block;
    font-weight: 700;
}

.public-resource-group-option small {
    color: var(--muted);
    display: block;
    font-size: .82rem;
}

.public-resource-group-option em {
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.22);
    border-radius: 999px;
    color: #92400e;
    display: inline-flex;
    font-size: .74rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    margin-top: 7px;
    max-width: 100%;
    overflow: hidden;
    padding: 5px 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.public-resource-group-option.is-muted {
    background: #f5f7f6;
    color: #5d6963;
}

.public-group-active-check {
    align-items: center;
    min-height: 58px;
}

.staff-account-body .form-control,
.staff-account-body .form-select {
    min-width: 0;
}

.staff-account-check-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.staff-account-check-grid .form-check {
    margin: 0;
}

.staff-account-actions .account-password-group {
    flex: 1 1 280px;
    margin: 0;
    max-width: 360px;
}

.readonly-chip {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.12);
    border-radius: 8px;
    color: #334a3d;
    display: flex;
    font-weight: 700;
    min-height: 42px;
    padding: 10px 12px;
}

@media (max-width: 991.98px) {
    .staff-account-card .turf-account-summary,
    .resource-account-card .turf-account-summary {
        grid-template-columns: 1fr;
    }

    .staff-account-card .turf-account-summary-meta,
    .resource-account-card .turf-account-summary-meta {
        justify-content: flex-start;
    }

    .staff-account-card .turf-account-summary-toggle,
    .resource-account-card .turf-account-summary-toggle {
        justify-self: flex-start;
    }

    .staff-account-check-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .staff-account-list-panel {
        padding: 10px;
    }

    .staff-account-check-grid {
        grid-template-columns: 1fr;
    }

    .staff-account-actions .account-password-group {
        max-width: none;
        width: 100%;
    }
}

.row-save-form {
    display: none !important;
}

.row-action-cell {
    min-width: 112px;
}

.row-action-cell .btn,
.row-action-cell form {
    margin: 0 4px 6px 0;
}

.turf-access-list {
    display: grid;
    gap: 8px;
    min-width: 280px;
}

.turf-access-item,
.turf-access-add {
    background: #f7fbf8;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 8px;
    padding: 8px;
}

.turf-access-title {
    color: #18352a;
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.turf-access-controls,
.turf-access-actions,
.turf-access-add {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.turf-access-controls .form-select {
    min-width: 142px;
}

.turf-access-controls .form-check,
.turf-access-add .form-check {
    margin-bottom: 0;
}

.turf-access-actions {
    margin-top: 6px;
}

.turf-access-add {
    margin-top: 10px;
}

.turf-access-add .form-select {
    min-width: 150px;
}

.account-admin-table {
    border-collapse: separate;
    display: block;
    margin-bottom: 0;
    min-width: 0;
    width: 100%;
}

.account-admin-table thead {
    display: none;
}

.account-admin-table tbody {
    align-items: start;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
    width: 100%;
}

.account-admin-table tbody:not(:has(tr))::before {
    background: #f6fbf8;
    border: 1px dashed rgba(53,153,87,.24);
    border-radius: 12px;
    color: #607067;
    content: "No staff accounts yet.";
    font-weight: 700;
    padding: 18px;
    text-align: center;
}

html[lang="bn"] .account-admin-table tbody:not(:has(tr))::before {
    content: "\098f\0996\09a8\0993 \0995\09cb\09a8\09cb \09b8\09cd\099f\09be\09ab \0985\09cd\09af\09be\0995\09be\0989\09a8\09cd\099f \09a8\09c7\0987\0964";
}

.account-admin-table tr {
    align-content: start;
    align-items: start;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
    border: 1px solid rgba(53,153,87,.15);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(9,45,30,.07);
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding: 14px;
    width: 100%;
}

.account-admin-table td {
    border: 0;
    display: block;
    grid-column: span 4;
    min-width: 0;
    padding: 0;
    vertical-align: top;
}

.account-admin-table td::before {
    color: #607067;
    content: attr(data-label);
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.25;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.account-admin-table td:not([data-label])::before {
    display: none;
}

.account-admin-table td:nth-child(2),
.account-admin-table td:has(.turf-access-list),
.account-admin-table td:has(.turf-access-add),
.account-admin-table .row-action-cell {
    grid-column: 1 / -1;
}

.account-admin-table .form-control,
.account-admin-table .form-select {
    min-width: 0 !important;
    width: 100%;
}

.account-admin-table td > .form-check-input {
    margin-left: 0;
}

.account-admin-table .turf-access-list {
    min-width: 0;
}

.account-admin-table .turf-access-item,
.account-admin-table .turf-access-add {
    background: #f6fbf8;
}

.account-admin-table .turf-access-controls .form-select,
.account-admin-table .turf-access-add .form-select {
    flex: 1 1 150px;
    min-width: 150px !important;
    width: auto;
}

.account-admin-table .row-action-cell {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    min-width: 0;
}

.account-admin-table .row-action-cell::before {
    grid-column: 1 / -1;
}

.account-admin-table .row-action-cell .account-password-group {
    margin-bottom: 0 !important;
}

.account-admin-table .row-action-cell .btn,
.account-admin-table .row-action-cell form:not(.row-save-form) {
    margin: 0;
}

.account-admin-table .row-action-cell form:not(.row-save-form) {
    display: inline-flex;
}

@media (max-width: 575.98px) {
    .account-admin-table tbody,
    .account-admin-table tr {
        display: grid;
        grid-template-columns: 1fr;
    }

    .account-admin-table td,
    .account-admin-table td:nth-child(2),
    .account-admin-table td:has(.turf-access-list),
    .account-admin-table td:has(.turf-access-add),
    .account-admin-table .row-action-cell {
        grid-column: 1 / -1;
    }

    .account-admin-table .row-action-cell {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .account-admin-table .row-action-cell .btn,
    .account-admin-table .row-action-cell form:not(.row-save-form) {
        width: 100%;
    }

    .account-admin-table .turf-access-controls .form-select,
    .account-admin-table .turf-access-add .form-select {
        flex-basis: 100%;
        min-width: 0 !important;
        width: 100%;
    }
}

.turf-credit-balance {
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.turf-credit-balance:hover,
.turf-credit-balance:focus {
    text-decoration: none;
}

.turf-credit-add-form .input-group {
    flex-wrap: nowrap;
}

.turf-credit-add-form .form-control {
    min-width: 88px !important;
}

.reset-summary-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.reset-summary-panel {
    padding-bottom: 22px;
}

.reset-summary-grid > div {
    background: #f6fbf7;
    border: 1px solid rgba(36, 122, 67, .12);
    border-radius: 10px;
    padding: 12px 14px;
}

.reset-summary-grid span {
    color: var(--muted);
    display: block;
    font-size: .82rem;
    font-weight: 700;
}

.reset-summary-grid strong {
    color: var(--field-dark);
    display: block;
    font-size: 1.35rem;
    line-height: 1.2;
}

.table .form-control-sm {
    min-height: 38px;
    padding-bottom: .45rem;
    padding-top: .45rem;
}

.slot-admin-table th,
.slot-admin-table td {
    overflow: visible;
    padding: .55rem .38rem;
    vertical-align: top;
}

.slot-admin-table th {
    font-size: .75rem;
    letter-spacing: 0;
    line-height: 1.15;
    overflow-wrap: normal;
    text-transform: none;
    white-space: nowrap;
}

.slot-admin-table {
    table-layout: fixed;
    width: 100%;
}

.slot-col-title { width: 15%; }
.slot-col-resource { width: 13%; }
.slot-col-time { width: 15%; }
.slot-col-days { width: 16%; }
.slot-col-duration { width: 8%; }
.slot-col-rate { width: 7%; }
.slot-col-minimum { width: 8%; }
.slot-col-status { width: 7%; }
.slot-col-update { width: 11%; }

.slot-resource-group-row td {
    background: #eef8f1 !important;
    border-bottom: 1px solid #cfe7d6;
    border-top: 1px solid #cfe7d6;
    padding: .58rem .75rem !important;
}

.slot-resource-group-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    display: flex;
    gap: 10px;
    padding: 0;
    text-align: left;
    width: 100%;
}

.slot-resource-group-toggle:focus-visible {
    border-radius: 8px;
    box-shadow: 0 0 0 .2rem rgba(53,153,87,.18);
    outline: 0;
}

.slot-resource-group-icon {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 999px;
    color: var(--field-dark);
    display: inline-flex;
    flex: 0 0 28px;
    height: 28px;
    justify-content: center;
    transition: transform .18s ease;
    width: 28px;
}

.slot-resource-group-row.is-collapsed .slot-resource-group-icon {
    transform: rotate(-90deg);
}

.slot-resource-group-title {
    align-items: center;
    color: #173327;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-weight: 700;
}

.slot-resource-group-title small {
    background: rgba(53, 153, 87, .13);
    border: 1px solid rgba(53, 153, 87, .18);
    border-radius: 999px;
    color: #2e6d44;
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 8px;
}

.slot-admin-table tr[hidden] {
    display: none !important;
}

.slot-admin-table .form-control,
.slot-admin-table .form-select {
    background-color: #fff;
    font-size: .86rem;
    max-width: 100%;
    min-height: 38px;
    padding: .46rem .5rem;
    width: 100%;
}

.slot-admin-table .form-control:disabled,
.slot-admin-table .form-select:disabled {
    background: #f1f5f3;
    color: #6a746f;
    cursor: not-allowed;
}

.slot-lock-note {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.slot-lock-note small,
.slot-admin-table .field-inline-help {
    color: #68756f;
    font-size: .76rem;
    line-height: 1.35;
}

.slot-admin-table .slot-time-cell .field-inline-help {
    border-radius: 8px;
    display: block;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.slot-admin-table .slot-rate-cell .form-control,
.slot-admin-table .slot-minimum-cell .form-control {
    font-size: .82rem;
    padding-left: .4rem;
    padding-right: .4rem;
}

.slot-admin-table .slot-time-inputs {
    align-items: center;
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr;
}

.slot-time-field {
    display: grid;
    gap: 3px;
    margin: 0;
}

.slot-time-field span {
    color: #607067;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.slot-admin-table .slot-time-separator {
    display: none;
}

.slot-time-separator {
    color: #6d7d74;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.slot-duration-preview,
.slot-duration-value {
    align-items: center;
    background: #f4f8f5;
    border: 1px solid #dce8df;
    border-radius: 8px;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .84rem;
    font-weight: 700;
    min-height: 42px;
    padding: .45rem .65rem;
    white-space: nowrap;
}

.slot-admin-table .slot-duration-value {
    justify-content: center;
    min-height: 38px;
    padding: .42rem .36rem;
    width: 100%;
}

.slot-day-checks {
    align-items: center;
    gap: 4px !important;
}

.admin-panel .slot-day-checks .btn {
    flex: 0 0 auto;
    width: auto;
}

.slot-day-checks .btn {
    align-items: center;
    background: #f4f6f5;
    border-color: #dce3df;
    border-radius: 999px;
    color: #6b7770;
    display: inline-flex;
    font-size: .74rem;
    gap: 4px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    padding: .32rem .46rem;
}

.slot-day-checks .btn:hover {
    background: #eef2f0;
    border-color: #c9d4ce;
    color: var(--field-dark);
}

.slot-day-checks .btn-check:checked + .btn {
    background: var(--field);
    border-color: var(--field);
    box-shadow: 0 7px 16px rgba(53,153,87,.22);
    color: #fff;
}

.slot-day-checks .btn-check:disabled + .btn {
    background: #eef2f0;
    border-color: #d5ddd8;
    color: #7f8a84;
    cursor: not-allowed;
    opacity: .82;
}

.slot-day-checks .btn-check:checked:disabled + .btn {
    background: #78a98b;
    border-color: #78a98b;
    color: #fff;
}

.slot-day-icon {
    align-items: center;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    width: .85rem;
}

.slot-day-icon-on {
    display: none;
}

.slot-day-icon-off {
    color: #9aa5a0;
    display: inline-block;
}

.slot-day-checks .btn-check:checked + .btn .slot-day-icon-on {
    color: #fff;
    display: inline-block;
}

.slot-day-checks .btn-check:checked + .btn .slot-day-icon-off {
    display: none;
}

.slot-day-checks .btn-check:focus + .btn,
.slot-day-checks .btn:focus {
    box-shadow: 0 0 0 .18rem rgba(53,153,87,.18);
}

.slot-row-actions {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-panel .slot-row-actions .btn {
    font-size: .78rem;
    min-height: 34px;
    padding: .36rem .5rem;
    width: 100%;
}

.table td:last-child .btn,
.table td:last-child form {
    margin-bottom: 4px;
}

.table td:last-child .slot-row-actions .btn,
.table td:last-child .slot-row-actions form {
    margin-bottom: 0 !important;
}

.admin-panel .btn,
.toolbar-card .btn {
    font-weight: 700;
    min-height: 42px;
}

.btn-primary {
    --bs-btn-bg: var(--field);
    --bs-btn-border-color: var(--field);
    --bs-btn-hover-bg: var(--field-dark);
    --bs-btn-hover-border-color: var(--field-dark);
}

.btn-warning {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
}

.table thead th {
    color: #607067;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.status-badge {
    border-radius: 999px;
    padding: .35rem .6rem;
    font-weight: 700;
    font-size: .78rem;
}

.booking-time-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1;
    padding: .38rem .58rem;
}

.booking-time-ongoing {
    background: #dcfce7;
    border: 1px solid rgba(36,122,67,.24);
    color: #166534;
}

.booking-time-upcoming {
    background: #e8f1ff;
    border: 1px solid rgba(37,99,235,.22);
    color: #1d4ed8;
}

.booking-row-ongoing > td {
    background: rgba(34,197,94,.08);
}

.booking-row-upcoming > td {
    background: rgba(59,130,246,.06);
}

.booking-row-past > td {
    background: #f2f4f7;
    color: #667085;
}

.booking-row-past .fw-bold,
.booking-row-past .due-text {
    color: #475467;
}

.booking-row-past .btn {
    opacity: .86;
}

.booking-row-due > td {
    box-shadow: inset 4px 0 0 #f59e0b;
}

.due-text {
    color: #9a5b00;
    font-weight: 700;
}

.booking-timeline-list {
    display: grid;
    gap: 10px;
}

.booking-timeline-item {
    align-items: center;
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
    text-decoration: none;
}

.booking-timeline-item > div:first-child {
    flex: 1 1 360px;
    min-width: 0;
}

.booking-timeline-item:hover {
    border-color: var(--field);
    box-shadow: 0 10px 24px rgba(53,153,87,.12);
}

.booking-timeline-item.booking-row-ongoing {
    background: #effaf2;
    border-color: rgba(36,122,67,.18);
}

.booking-timeline-item.booking-row-upcoming {
    background: #f0f6ff;
    border-color: rgba(37,99,235,.16);
}

.booking-timeline-item.booking-row-due {
    border-color: rgba(245,158,11,.34);
    box-shadow: inset 4px 0 0 #f59e0b;
}

.booking-timeline-date {
    color: #0f64b3;
    font-weight: 700;
    margin-bottom: 8px;
}

.booking-timeline-grid {
    color: #607067;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 12px;
    line-height: 1.35;
}

.booking-timeline-phone {
    color: var(--field-dark);
    font-weight: 700;
}

.booking-timeline-money {
    color: #607067;
    display: grid;
    gap: 4px;
    min-width: 168px;
}

.booking-timeline-money > div {
    align-items: baseline;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.booking-timeline-money span {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.booking-timeline-money strong {
    color: var(--ink);
}

.booking-management-list {
    display: grid;
    gap: 12px;
}

.activity-log-table td {
    vertical-align: top;
}

.activity-log-details summary {
    cursor: pointer;
    font-weight: 700;
}

.activity-json {
    background: #f6faf7;
    border: 1px solid #d8eadf;
    border-radius: 8px;
    color: #21342a;
    font-size: .78rem;
    line-height: 1.35;
    margin: 6px 0 0;
    max-height: 260px;
    overflow: auto;
    padding: 10px;
    white-space: pre-wrap;
}

.booking-management-card {
    background: #fff;
    border: 1px solid rgba(16,32,26,.10);
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(9,45,30,.05);
    color: inherit;
    padding: 14px;
}

.booking-management-card.booking-row-ongoing {
    background: linear-gradient(135deg, #effaf2, #ffffff);
    border-color: rgba(36,122,67,.22);
}

.booking-management-card.booking-row-upcoming {
    background: linear-gradient(135deg, #f0f6ff, #ffffff);
    border-color: rgba(37,99,235,.18);
}

.booking-management-card.booking-row-past {
    background: #f2f4f7;
    color: #667085;
}

.booking-management-card.booking-row-past .booking-card-code,
.booking-management-card.booking-row-past .booking-card-info strong,
.booking-management-card.booking-row-past .booking-money-chip strong {
    color: #475467;
}

.booking-management-card.booking-row-past .btn {
    opacity: .86;
}

.booking-management-card.booking-row-due {
    border-color: rgba(245,158,11,.36);
    box-shadow: inset 4px 0 0 #f59e0b, 0 10px 24px rgba(9,45,30,.05);
}

.booking-card-header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.booking-card-title-block {
    min-width: 0;
}

.booking-card-code {
    color: var(--ink);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.booking-card-code .booking-code-link {
    font-size: inherit;
}

.booking-card-meta {
    color: #607067;
    display: flex;
    flex-wrap: wrap;
    font-size: .82rem;
    gap: 4px 12px;
    line-height: 1.35;
    margin-top: 4px;
}

.booking-card-badges {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 7px;
}

.booking-card-body {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(220px, 1.2fr) minmax(220px, 1fr) minmax(180px, .85fr) minmax(260px, 1.25fr);
}

.booking-card-info {
    align-items: flex-start;
    background: rgba(246,250,248,.78);
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    display: grid;
    gap: 9px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 10px;
}

.booking-card-date-slot {
    grid-template-columns: 34px minmax(0, 1fr);
}

.booking-card-date-slot .booking-card-icon:nth-of-type(2) {
    grid-column: 1;
}

.booking-card-date-slot > div:nth-of-type(2) {
    grid-column: 2;
}

.booking-card-icon {
    align-items: center;
    background: rgba(53,153,87,.10);
    border-radius: 9px;
    color: var(--field-dark);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.booking-card-info span:not(.booking-card-icon) {
    color: #607067;
    display: block;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-card-info strong {
    color: var(--ink);
    display: block;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.booking-card-submeta {
    color: #607067;
    display: block;
    font-size: .82rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 3px;
}

.booking-card-info .booking-card-phone {
    align-items: center;
    color: var(--field-dark);
    display: inline-flex;
    font-size: .92rem;
    font-weight: 700;
    gap: 6px;
    letter-spacing: 0;
    margin-top: 4px;
    text-decoration: none;
    text-transform: none;
}

.booking-card-info .booking-card-phone:hover,
.booking-card-info .booking-card-phone:focus {
    color: var(--field);
}

.booking-card-money {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-money-chip {
    background: #fbfdfb;
    border: 1px solid rgba(16,32,26,.08);
    border-radius: 8px;
    padding: 9px 10px;
}

.booking-money-chip span {
    color: #607067;
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-money-chip strong {
    color: var(--ink);
    display: block;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2px;
}

.booking-money-chip.is-due {
    background: #fff8e8;
    border-color: rgba(245,158,11,.32);
}

.booking-money-chip.is-due strong {
    color: #9a5b00;
}

.booking-money-chip.is-discount {
    background: #fff1f2;
    border-color: rgba(225,29,72,.16);
}

.booking-money-chip.is-discount strong {
    color: #be123c;
}

.booking-card-actions {
    border-top: 1px solid rgba(16,32,26,.08);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
    padding-top: 12px;
}

.booking-card-actions .btn {
    min-height: 34px;
}

.booking-empty-state {
    border: 1px dashed rgba(53,153,87,.26);
    border-radius: 10px;
    color: #607067;
    font-weight: 700;
    padding: 28px;
    text-align: center;
}

.compact-metric {
    height: 100%;
    padding: 14px 16px;
}

.compact-metric-link {
    color: inherit;
    display: block;
    position: relative;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.compact-metric-link:hover,
.compact-metric-link:focus {
    border-color: rgba(53,153,87,.34);
    box-shadow: 0 16px 36px rgba(9,45,30,.12);
    color: inherit;
    transform: translateY(-1px);
}

.compact-metric-arrow {
    color: #247a43;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.payment-method-breakdown {
    padding: 14px 16px;
}

.payment-method-breakdown-title {
    color: var(--ink);
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-method-breakdown-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.payment-method-breakdown-item {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.payment-method-breakdown-link:hover,
.payment-method-breakdown-link:focus {
    border-color: rgba(53,153,87,.42);
    box-shadow: 0 8px 18px rgba(53,153,87,.12);
    color: inherit;
    transform: translateY(-1px);
}

.payment-method-breakdown-item.active {
    background: #eefaf3;
    border-color: rgba(53,153,87,.52);
    box-shadow: inset 0 0 0 1px rgba(53,153,87,.12);
}

.platform-monitor-source-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 190px;
}

.platform-monitor-source-chips span {
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.16);
    border-radius: 999px;
    color: #49645a;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.2;
    padding: .3rem .5rem;
}

.platform-monitor-source-chips .is-empty {
    background: #f3f5f4;
    border-color: rgba(16,32,26,.08);
    color: #758278;
}

.payment-method-breakdown-item span {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.payment-method-breakdown-item strong {
    color: var(--ink);
    font-size: 1.05rem;
}

.payment-method-breakdown-item small {
    color: #607067;
}

.resource-type-summary {
    padding: 14px;
}

.resource-type-summary-header {
    margin-bottom: 10px;
}

.resource-type-summary-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.resource-type-summary-card {
    background: #f7fbf8;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 10px;
    display: grid;
    gap: 7px;
    padding: 10px 12px;
}

.resource-type-summary-title {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    line-height: 1.2;
}

.resource-type-summary-title span {
    color: var(--ink);
    font-weight: 700;
}

.resource-type-summary-title small {
    align-items: center;
    background: rgba(53,153,87,.1);
    border-radius: 999px;
    color: #247a43;
    display: inline-flex;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    min-height: 20px;
    padding: 3px 8px;
    white-space: nowrap;
}

.resource-summary-card .resource-type-summary-title {
    flex-direction: column;
    gap: 5px;
    justify-content: flex-start;
}

.resource-summary-card .resource-type-summary-title small {
    align-self: flex-start;
}

.resource-summary-subtitle {
    color: #607067;
    font-size: .82rem;
    font-weight: 700;
}

.resource-type-summary-card strong {
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1;
}

.resource-type-summary-meta {
    color: #607067;
    display: grid;
    font-size: .84rem;
    gap: 2px;
}

.verified-payment-report-table td,
.verified-payment-report-table th {
    vertical-align: top;
}

.verified-payment-report-list .status-badge {
    white-space: nowrap;
}

.verified-payment-tabs {
    gap: 8px;
    margin-bottom: 12px;
}

.verified-payment-tab {
    align-items: flex-start;
    border: 1px solid rgba(53,153,87,.16) !important;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 142px;
    padding: 9px 12px;
}

.verified-payment-tab span {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.verified-payment-tab strong {
    font-size: .98rem;
}

.verified-payment-tab.active {
    background: var(--field) !important;
    border-color: var(--field) !important;
}

.verified-payment-method-groups {
    display: grid;
    gap: 12px;
}

.verified-payment-method-group {
    background: #fbfcfa;
    border: 1px solid rgba(53,153,87,.14);
    border-radius: 10px;
    overflow: hidden;
}

.verified-payment-method-group-header {
    align-items: center;
    background: #f3faf6;
    border-bottom: 1px solid rgba(53,153,87,.14);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.verified-payment-method-name {
    color: var(--ink);
    font-weight: 700;
}

.status-pending_otp { background: #fff3cd; color: #8a6500; }
.status-pending { background: #fff3cd; color: #8a6500; }
.status-payment_pending { background: #dff3ff; color: #075985; }
.status-payment_verification { background: #ede9fe; color: #5b21b6; }
.status-checkout_created { background: #e0f2fe; color: #075985; }
.status-confirmed { background: #d8f3dc; color: #166534; }
.status-verified { background: #d8f3dc; color: #166534; }
.status-paid { background: #d8f3dc; color: #166534; }
.status-credit { background: #dcfce7; color: #166534; }
.status-debit { background: #fee2e2; color: #991b1b; }
.status-adjustment { background: #dbeafe; color: #1d4ed8; }
.status-amount_mismatch,
.status-expired,
.status-check_failed,
.status-failed,
.status-rejected,
.status-cancelled { background: #f8d7da; color: #842029; }

.section-title-with-icon {
    align-items: center;
    display: inline-flex;
    gap: .5rem;
}

.section-status-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    height: 24px;
    justify-content: center;
    line-height: 1;
    width: 24px;
}

.section-status-icon-paid {
    background: #d8f3dc;
    color: #166534;
}

.sidebar {
    background: linear-gradient(180deg, #1d2146, #247a43);
    min-height: 100vh;
}

.management-sidebar-top {
    margin-bottom: 14px;
}

.management-sidebar-panel .sidebar-account {
    margin-bottom: 1.5rem;
}

.sidebar-menu-search {
    align-items: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    display: flex;
    gap: 8px;
    margin: 0 0 12px;
    padding: 6px 10px;
}

.sidebar-menu-search i {
    color: rgba(255,255,255,.76);
    flex: 0 0 auto;
    font-size: .95rem;
}

.sidebar-menu-search .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #fff;
    font-size: .88rem;
    min-height: 28px;
    padding: 0;
}

.sidebar-menu-search .form-control::placeholder {
    color: rgba(255,255,255,.62);
}

.sidebar-menu-search .form-control:focus {
    background: transparent;
    color: #fff;
}

.sidebar-search-empty {
    border: 1px dashed rgba(255,255,255,.22);
    border-radius: 10px;
    color: rgba(255,255,255,.72);
    font-size: .85rem;
    padding: 12px;
    text-align: center;
}

.management-nav-toggle {
    align-items: center;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #fff;
    display: none;
    flex: 0 0 auto;
    height: 44px;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 44px;
}

.management-nav-toggle span {
    background: currentColor;
    border-radius: 999px;
    display: block;
    height: 2px;
    left: 13px;
    position: absolute;
    transition: opacity .18s ease, transform .18s ease, top .18s ease;
    width: 18px;
}

.management-nav-toggle span:nth-child(1) {
    top: 14px;
}

.management-nav-toggle span:nth-child(2) {
    top: 21px;
}

.management-nav-toggle span:nth-child(3) {
    top: 28px;
}

.sidebar.is-management-menu-open .management-nav-toggle span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}

.sidebar.is-management-menu-open .management-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.sidebar.is-management-menu-open .management-nav-toggle span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

.sidebar a {
    color: rgba(255,255,255,.76);
    border-radius: 8px;
    display: block;
    padding: 10px 12px;
    text-decoration: none;
}

.sidebar nav > a {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.sidebar-nav {
    align-content: start;
    display: grid;
    gap: 8px;
}

.sidebar-nav-group {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-nav-group-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.88);
    display: flex;
    font-size: .76rem;
    font-weight: 700;
    gap: 10px;
    justify-content: space-between;
    letter-spacing: .04em;
    line-height: 1.15;
    padding: 10px 11px;
    text-align: left;
    text-transform: uppercase;
    width: 100%;
}

.sidebar-nav-group-toggle:hover,
.sidebar-nav-group-toggle:focus {
    background: rgba(255,255,255,.08);
    color: #fff;
    outline: 0;
}

.sidebar-nav-group-toggle i {
    font-size: .86rem;
    transition: transform .18s ease;
}

.sidebar-nav-group.is-open .sidebar-nav-group-toggle i {
    transform: rotate(180deg);
}

.sidebar-nav-group-links {
    display: none;
    gap: 2px;
    padding: 4px;
}

.sidebar-nav-group.is-open .sidebar-nav-group-links {
    display: grid;
}

.sidebar.is-sidebar-searching .sidebar-nav-group-links {
    display: grid;
}

.sidebar-nav-group-links a {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    min-width: 0;
    padding: 8px 10px;
}

.sidebar-nav-group-links a > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav-badge {
    align-items: center;
    background: #ffead1;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 999px;
    color: #8a3a00;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .72rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    min-width: 24px;
    padding: 5px 7px;
}

.sidebar a.active .sidebar-nav-badge,
.sidebar a:hover .sidebar-nav-badge {
    background: #fff;
    color: #1f6d3f;
}

.sidebar a.management-brand-link {
    display: inline-block;
    padding: 0;
}

.sidebar a.management-brand-link:hover,
.sidebar a.management-brand-link:focus {
    background: transparent;
}

.sidebar a.active,
.sidebar a:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.sidebar-credit-balance {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: 7px;
    line-height: 1.2;
    margin: 2px 0 12px;
    padding: 7px 10px;
    width: fit-content;
}

.sidebar a.sidebar-credit-balance {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    padding: 7px 10px;
    width: fit-content;
}

.sidebar a.sidebar-credit-balance:hover,
.sidebar a.sidebar-credit-balance:focus {
    color: #fff;
    transform: translateY(-1px);
}

.sidebar-credit-balance::before {
    border-radius: 999px;
    content: "";
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.sidebar-credit-balance.is-ok {
    background: rgba(120,217,157,.16);
    border-color: rgba(120,217,157,.28);
    color: #dfffe9;
}

.sidebar-credit-balance.is-ok:hover,
.sidebar-credit-balance.is-ok:focus {
    background: rgba(120,217,157,.24);
    border-color: rgba(120,217,157,.42);
}

.sidebar-credit-balance.is-ok::before {
    background: #78d99d;
    box-shadow: 0 0 0 3px rgba(120,217,157,.15);
}

.sidebar-credit-balance.is-low {
    background: rgba(255,193,7,.18);
    border-color: rgba(255,193,7,.32);
    color: #ffe8a3;
}

.sidebar-credit-balance.is-low:hover,
.sidebar-credit-balance.is-low:focus {
    background: rgba(255,193,7,.26);
    border-color: rgba(255,193,7,.46);
}

.sidebar-credit-balance.is-low::before {
    background: #ffc107;
    box-shadow: 0 0 0 3px rgba(255,193,7,.16);
}

.sidebar-credit-balance.is-zero {
    background: rgba(255,91,91,.18);
    border-color: rgba(255,91,91,.34);
    color: #ffd1d1;
}

.sidebar-credit-balance.is-zero:hover,
.sidebar-credit-balance.is-zero:focus {
    background: rgba(255,91,91,.26);
    border-color: rgba(255,91,91,.48);
}

.sidebar-credit-balance.is-zero::before {
    background: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255,91,91,.16);
}

.sidebar-account {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px 12px;
}

.sidebar-account-label {
    color: rgba(255,255,255,.58);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.sidebar-account-name {
    color: #fff;
    font-weight: 700;
    line-height: 1.25;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-account-role {
    color: rgba(255,255,255,.72);
    font-size: .78rem;
    line-height: 1.25;
    margin-top: 2px;
}

.sidebar-account-turf {
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    display: flex;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 9px;
    padding-top: 9px;
}

.sidebar-account-turf-logo {
    background: #fff;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 12px;
    flex: 0 0 48px;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.sidebar-account-turf span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-support {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
    padding: 12px;
}

.sidebar-support-label {
    color: rgba(255,255,255,.56);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.sidebar-support a {
    color: #fff;
    display: inline-flex;
    font-weight: 700;
    padding: 3px 0 0;
}

.login-brand-block {
    text-align: center;
}

.login-brand-logo {
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: min(320px, 92%);
    width: 320px;
}

.login-support {
    color: var(--muted);
}

.login-support a {
    color: var(--field-dark);
    font-weight: 700;
    text-decoration: none;
}

.login-captcha-box {
    align-items: center;
    background: #f6faf8;
    border: 1px solid rgba(53,153,87,.22);
    border-radius: 8px;
    color: var(--field-dark);
    display: flex;
    font-size: 1.12rem;
    font-weight: 700;
    justify-content: center;
    margin-bottom: 8px;
    min-height: 48px;
}

@media (max-width: 1199px) {
    .booking-card-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .health-channel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .app-nav .container {
        align-items: center;
        flex-direction: row;
        gap: 10px;
        justify-content: space-between;
    }

    .app-nav .navbar-brand {
        justify-content: flex-start;
        margin-right: 0;
        min-width: 0;
        width: auto;
    }

    .app-nav .landing-home-logo {
        height: 76px;
        margin-left: 0;
        margin-right: 0;
        max-width: min(230px, calc(100vw - 92px));
    }

    .public-menu-collapsible .public-nav-toggle {
        display: inline-flex;
    }

    .public-nav-actions {
        align-items: stretch;
        display: grid;
        flex-basis: 100%;
        gap: 9px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        padding-top: 8px;
        transition: max-height .22s ease, opacity .18s ease, padding .18s ease, transform .18s ease;
        width: 100%;
    }

    .public-menu-collapsible .app-nav:not(.is-public-menu-open) .public-nav-actions {
        max-height: 0;
        opacity: 0;
        padding-top: 0;
        pointer-events: none;
        transform: translateY(-4px);
    }

    .public-menu-collapsible .app-nav.is-public-menu-open .public-nav-actions {
        background: rgba(255,255,255,.94);
        border: 1px solid rgba(53,153,87,.16);
        border-radius: 16px;
        box-shadow: 0 16px 40px rgba(29,33,70,.10);
        margin-top: 2px;
        max-height: 260px;
        opacity: 1;
        padding: 12px;
        pointer-events: auto;
        transform: translateY(0);
    }

    .public-nav-actions .language-switcher {
        grid-column: 1 / -1;
        justify-self: center;
    }

    .public-nav-actions .public-support-link {
        border-radius: 8px;
        grid-column: 1 / -1;
        justify-content: center;
        min-height: 44px;
        width: 100%;
    }

    .public-nav-actions .public-home-btn,
    .public-nav-actions .public-management-btn {
        min-width: 0;
        white-space: normal;
        width: 100%;
    }

    .sidebar {
        min-height: auto;
        position: static;
        top: auto;
        z-index: auto;
        padding: 12px !important;
    }

    .management-sidebar-top {
        align-items: center;
        display: flex;
        gap: 12px;
        justify-content: space-between;
        margin-bottom: 0 !important;
        width: 100%;
    }

    .management-nav-toggle {
        display: inline-flex;
    }

    .management-sidebar-panel {
        max-height: calc(100vh - 82px);
        opacity: 1;
        overflow-x: hidden;
        overflow-y: auto;
        padding-top: 12px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        pointer-events: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        transform: translateY(0);
        transition: max-height .24s ease, opacity .18s ease, padding .18s ease, transform .18s ease;
    }

    .sidebar:not(.is-management-menu-open) .management-sidebar-panel {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
        transform: translateY(-6px);
    }

    .sidebar a.management-brand-link {
        display: flex;
        justify-content: flex-start;
        min-width: 0;
        width: auto;
    }

    .sidebar .brand-wordmark {
        margin: 0 !important;
        width: min(222px, calc(100vw - 92px));
    }

    .sidebar-account {
        margin-bottom: 12px !important;
        max-width: none;
        text-align: center;
        width: 100%;
    }

    .sidebar-menu-search {
        margin-bottom: 10px;
    }

    .sidebar-account-turf {
        justify-content: center;
    }

    .sidebar nav {
        align-items: stretch;
        display: grid !important;
        gap: 8px;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        overflow-x: visible;
        padding-bottom: 0;
        width: 100%;
    }

    .sidebar nav.sidebar-nav {
        grid-template-columns: 1fr;
    }

    .sidebar nav.sidebar-nav .sidebar-nav-group {
        grid-column: 1 / -1;
        width: 100%;
    }

    .sidebar nav.sidebar-nav .sidebar-nav-group-toggle {
        min-height: 42px;
        padding: 10px 12px;
    }

    .sidebar nav.sidebar-nav .sidebar-nav-group-links {
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        padding: 6px;
    }

    .sidebar nav a,
    .sidebar nav .small {
        align-items: center;
        width: auto;
        display: flex;
        flex: 1 1 auto;
        max-width: 100%;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        color: rgba(255,255,255,.86);
        font-size: .86rem;
        font-weight: 700;
        justify-content: center;
        line-height: 1.1;
        min-height: 42px;
        padding: 9px 11px;
        text-align: center;
        white-space: normal;
        width: 100%;
    }

    .sidebar nav > a {
        justify-content: center;
    }

    .sidebar nav.sidebar-nav .sidebar-nav-group-links a {
        justify-content: center;
    }

    .sidebar-nav-badge {
        margin-left: 6px;
    }

    .sidebar .sidebar-credit-balance {
        justify-content: center;
        justify-self: center;
        width: min(100%, 260px);
    }

    .sidebar nav a.active,
    .sidebar nav a:hover {
        background: #fff;
        border-color: #fff;
        color: var(--ink);
    }

    .sidebar nav .small {
        color: #d6f8de !important;
        background: rgba(36,122,67,.46);
    }

    .sidebar-support {
        align-items: center;
        display: flex;
        gap: 8px;
        margin-top: 10px !important;
        padding: 9px 11px;
    }

    .sidebar-support-label {
        font-size: .72rem;
    }

    .sidebar-support a {
        padding-top: 0;
        white-space: nowrap;
    }

    .cache-refresh-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .cache-refresh-button {
        width: 100%;
    }

    .health-volume-strip {
        justify-content: flex-start;
    }

    .health-gateway-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .health-login-grid {
        grid-template-columns: 1fr;
    }

    .health-retention-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-band {
        padding-top: 28px;
    }

    .landing-hero {
        min-height: 390px;
        margin-top: 18px;
        padding: 26px;
    }

    .landing-actions .btn {
        width: 100%;
    }

    .landing-hero .app-download-btn {
        justify-content: center;
        text-align: center;
    }

    .landing-feature-grid {
        grid-template-columns: 1fr;
    }

    .landing-section-muted {
        padding: 18px;
    }

    .landing-section-heading,
    .landing-contact {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .landing-pricing,
    .landing-growth-grid,
    .landing-steps,
    .landing-faq-grid,
    .landing-split {
        grid-template-columns: 1fr;
    }

    .landing-pricing {
        padding: 20px;
    }

    .landing-pricing-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-hero {
        align-items: stretch;
        grid-template-columns: 1fr;
        margin-top: 18px;
        padding: 26px;
    }

    .onboarding-hero-note {
        min-width: 0;
    }

    .onboarding-benefit-grid {
        grid-template-columns: 1fr;
    }

    .public-tournament-selected-card {
        grid-template-columns: 1fr;
    }

    .public-tournament-registration-form {
        --bs-gutter-y: .95rem;
    }

    .public-tournament-registration-form > [class*="col-"],
    .public-tournament-registration-form .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .public-tournament-registration-form .btn,
    .public-tournament-registration-form .btn-lg,
    .public-tournament-otp-panel .btn {
        width: 100%;
    }

    .public-tournament-otp-panel > .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }

    .public-tournament-payment-card {
        padding: 12px;
    }

    .onboarding-submit-row,
    .onboarding-success {
        align-items: stretch;
        flex-direction: column;
    }

    .onboarding-logo-field {
        align-items: stretch;
        flex-direction: column;
    }

    .onboarding-logo-preview {
        flex-basis: auto;
        width: 86px;
    }

    .onboarding-otp-mobile-row {
        align-items: stretch;
        flex-direction: column;
    }

    .onboarding-otp-mobile-row .btn,
    .onboarding-otp-panel .btn {
        border-radius: 8px !important;
        width: 100%;
    }

    .onboarding-otp-panel {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .onboarding-submit-row .btn {
        width: 100%;
    }

    .landing-contact-actions {
        justify-content: flex-start;
    }

    .landing-contact-actions > * {
        flex: 1 1 100%;
    }

    .landing-contact,
    .landing-contact .public-support-link,
    .landing-contact .app-download-link,
    .landing-address {
        text-align: left;
    }

    .landing-contact .public-support-link,
    .landing-contact .app-download-link,
    .landing-address {
        justify-content: flex-start;
    }

    .hero-identity {
        align-items: flex-start;
        gap: 12px;
    }

    .hero-identity-row {
        gap: 10px;
    }

    .public-hero-language-switcher a {
        padding: 6px 8px;
    }

    .hero-actions {
        align-items: flex-end;
        flex-direction: column;
        gap: 6px;
    }

    .hero-phone-link {
        min-height: 34px;
        padding: 5px 9px 5px 7px;
    }

    .hero-phone-icon {
        height: 22px;
        width: 22px;
    }

    .hero-phone-number {
        font-size: .84rem;
    }

    .turf-hero-logo {
        width: 58px;
        height: 58px;
        border-radius: 12px;
    }

    .dashboard-main {
        padding: 16px !important;
    }

    .admin-panel,
    .toolbar-card {
        padding: 14px;
    }

    .admin-panel.row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 12px;
    }

    .admin-panel.row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .toolbar-card {
        align-items: stretch !important;
    }

    .toolbar-card > div,
    .toolbar-card .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .toolbar-card .turf-search-input,
    .toolbar-card .turf-sort-input,
    .turf-search-toolbar .turf-search-button,
    .turf-selector-combobox,
    .toolbar-card .booking-search-input,
    .booking-search-toolbar .booking-search-button,
    .toolbar-card .date-filter-input,
    .date-filter-toolbar .date-filter-button {
        flex: 1 1 100%;
        min-width: 0;
        width: 100%;
    }

    .current-turf-header {
        align-items: stretch;
        flex-direction: column;
        padding: 13px;
    }

    .current-turf-actions {
        justify-content: flex-start;
    }

    .current-turf-actions .btn {
        width: 100%;
    }

    .current-turf-name {
        white-space: normal;
    }

    .turf-account-list-panel {
        padding: 10px;
    }

    .turf-account-summary {
        align-items: stretch;
        gap: 10px;
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .turf-account-summary-logo {
        height: 46px;
        width: 46px;
    }

    .turf-account-summary-meta {
        justify-content: flex-start;
    }

    .turf-account-summary-toggle {
        justify-self: flex-start;
    }

    .turf-account-body {
        padding: 12px;
    }

    .turf-account-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .turf-account-actions .btn,
    .turf-account-actions form {
        width: 100%;
    }

    .admin-panel .btn,
    .toolbar-card .btn {
        width: 100%;
    }

    .report-view-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .report-view-buttons {
        justify-content: stretch;
    }

    .report-view-buttons .btn {
        flex: 1 1 100%;
    }

    .booking-management-card {
        padding: 12px;
    }

    .booking-card-header {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .booking-card-badges {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .booking-card-body,
    .booking-card-money {
        grid-template-columns: 1fr;
    }

    .booking-card-actions {
        justify-content: stretch;
    }

    .booking-card-actions form,
    .booking-card-actions .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .admin-panel .discount-toggle-cell {
        flex: 0 0 auto;
        max-width: max-content;
        width: auto;
    }

    .admin-panel .discount-icon-btn {
        flex: 0 0 42px;
        width: 42px;
    }

    .health-volume-strip {
        justify-content: flex-start;
    }

    .health-card-head {
        align-items: stretch;
        flex-direction: column;
    }

    .health-status-pill {
        align-self: flex-start;
    }

    .health-card-metrics,
    .health-queue-grid {
        grid-template-columns: 1fr;
    }

    .report-actions .report-email-form .row > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .report-email-actions .report-email-btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .admin-panel .d-flex.align-items-end,
    .admin-panel .d-flex.justify-content-end {
        align-items: stretch !important;
        justify-content: stretch !important;
    }

    .admin-panel.row > .admin-form-action-col {
        align-items: stretch;
    }

    .admin-panel.row > .accessory-create-action {
        padding-top: 0;
    }

    .admin-panel .d-flex.gap-1,
    .admin-panel .d-flex.gap-2 {
        flex-wrap: wrap;
    }

    .admin-panel .form-check {
        width: 100%;
    }

    .admin-panel.table-responsive {
        overflow-x: visible;
        padding: 10px;
    }

    .slot-admin-table,
    .turf-admin-table,
    .account-admin-table,
    .slot-admin-table tbody,
    .turf-admin-table tbody,
    .account-admin-table tbody,
    .slot-admin-table tr,
    .turf-admin-table tr,
    .account-admin-table tr,
    .slot-admin-table td {
        display: block;
        width: 100%;
    }

    .turf-admin-table td,
    .account-admin-table td {
        display: block;
        width: 100%;
    }

    .slot-admin-table {
        border-collapse: separate;
        border-spacing: 0 12px;
        table-layout: auto;
    }

    .turf-admin-table,
    .account-admin-table {
        border-collapse: separate;
        border-spacing: 0 12px;
        min-width: 0;
        width: 100%;
    }

    .slot-admin-table thead,
    .turf-admin-table thead,
    .account-admin-table thead {
        display: none;
    }

    .slot-admin-table tbody tr,
    .turf-admin-table tbody tr,
    .account-admin-table tbody tr {
        background: #fff;
        border: 1px solid rgba(53,153,87,.14);
        border-radius: 8px;
        box-shadow: 0 10px 24px rgba(9,45,30,.06);
        margin-bottom: 12px;
        overflow: hidden;
        padding: 12px;
    }

    .slot-admin-table tbody td,
    .turf-admin-table tbody td,
    .account-admin-table tbody td {
        border: 0;
        padding: 9px 0;
    }

    .slot-admin-table tbody td::before,
    .turf-admin-table tbody td::before,
    .account-admin-table tbody td::before {
        color: #607067;
        content: attr(data-label);
        display: block;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .05em;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .slot-admin-table tbody td:not([data-label])::before,
    .turf-admin-table tbody td:not([data-label])::before,
    .account-admin-table tbody td:not([data-label])::before {
        display: none;
    }

    .slot-admin-table tbody td:empty,
    .turf-admin-table tbody td:empty,
    .account-admin-table tbody td:empty {
        display: none;
    }

    .turf-admin-table .turf-compact-input,
    .account-admin-table .form-control,
    .account-admin-table .form-select {
        max-width: none;
        text-align: left;
        width: 100%;
    }

    .turf-admin-table .brand-mark {
        height: 36px;
        width: 36px;
    }

    .turf-admin-table input[type="file"] {
        font-size: .84rem;
    }

    .wallet-account-row,
    .wallet-account-row-sm {
        grid-template-columns: 1fr;
    }

    .turf-admin-table .form-check,
    .account-admin-table .form-check {
        align-items: center;
        background: #f6faf8;
        border: 1px solid rgba(53,153,87,.12);
        border-radius: 8px;
        display: flex;
        min-height: 38px;
        padding: 8px 10px;
    }

    .account-admin-table td[data-label="Active"] .form-check-input,
    .turf-admin-table td[data-label="Active"] .form-check-input,
    .account-admin-table td[data-label="সক্রিয়"] .form-check-input,
    .turf-admin-table td[data-label="সক্রিয়"] .form-check-input {
        margin-left: 0;
    }

    .row-action-cell {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
        min-width: 0;
    }

    .turf-admin-table td[data-label] .btn,
    .account-admin-table td[data-label] .btn {
        margin: 0;
        width: 100%;
    }

    .turf-admin-table td[data-label] form,
    .account-admin-table td[data-label] form {
        display: block;
        margin: 0;
        width: 100%;
    }

    .turf-admin-table td[data-label] .turf-credit-add-form .btn {
        flex: 0 0 auto;
        width: auto;
    }

    .slot-admin-table .slot-time-inputs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .slot-admin-table .slot-duration-value {
        justify-content: flex-start;
        width: auto;
    }

    .slot-admin-table .slot-day-checks {
        gap: 6px !important;
    }

    .slot-admin-table .slot-day-checks .btn {
        min-height: 32px;
        padding: .36rem .58rem;
    }

    .slot-row-actions {
        gap: 8px;
    }

    .credit-warning-strip {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-timeline-item {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-timeline-money {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
        text-align: left !important;
        width: 100%;
    }

    .booking-timeline-money > div {
        justify-content: space-between;
    }
}

@media (max-width: 575px) {
    .public-booking-tabs-section {
        gap: 10px;
        margin-bottom: 12px;
        padding: 10px;
    }

    .public-booking-main-tabs,
    .public-booking-resource-row,
    .public-resource-tab-list {
        width: 100%;
    }

    .public-booking-main-tab,
    .public-resource-tab {
        flex: 1 1 auto;
        min-height: 40px;
        white-space: normal;
    }

    .public-booking-main-tab.active::after {
        bottom: -7px;
        left: 12px;
        right: 12px;
    }

    .public-booking-resource-row {
        padding-left: 12px;
    }

    .public-booking-resource-row::before {
        height: 58%;
        top: 21%;
    }

    .public-tournament-date-row {
        align-items: stretch;
        padding: 10px;
    }

    .public-tournament-date-field {
        min-width: 0;
        width: 100%;
    }

    .public-tournament-sidebar {
        position: static;
    }

    .booking-panel {
        padding: 14px;
    }

    .booking-toolbar {
        padding: 12px;
    }

    .booking-toast {
        left: 14px;
        right: 14px;
        top: calc(env(safe-area-inset-top, 0px) + 70px);
        width: auto;
    }

    .date-stepper {
        --date-control-height: 42px;
        gap: 6px;
        grid-template-columns: var(--date-control-height) minmax(210px, 1fr) var(--date-control-height);
        max-width: 100%;
        width: 100%;
    }

    .date-display-text {
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .booking-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .step-pill {
        text-align: center;
        padding: 8px;
    }

    .form-stage {
        padding: 14px;
    }

    .form-label {
        font-size: .84rem;
    }

    .form-control,
    .form-select {
        min-height: 46px;
    }

    .btn-lg {
        --bs-btn-padding-y: .65rem;
        --bs-btn-font-size: 1rem;
    }
}

.expense-summary-card {
    min-height: 100%;
}

.expense-wallet-balance-card {
    display: grid;
    gap: 10px;
    min-height: 100%;
}

.expense-wallet-balance-head {
    align-items: center;
    display: flex;
    gap: 10px;
}

.expense-wallet-icon {
    align-items: center;
    background: rgba(53, 153, 87, .12);
    border: 1px solid rgba(53, 153, 87, .2);
    border-radius: 12px;
    color: var(--field-green);
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.expense-wallet-current {
    color: var(--field-dark);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
}

.expense-wallet-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.expense-wallet-flow span {
    background: #f6faf8;
    border: 1px solid #dbece2;
    border-radius: 999px;
    color: #4b5f54;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 8px;
}

.expense-wallet-balance-mini {
    background: #f6faf8;
    border: 1px solid #dbece2;
    border-radius: 12px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.expense-wallet-balance-mini span {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.expense-wallet-balance-mini strong {
    color: var(--field-dark);
    font-size: 1.08rem;
    font-weight: 700;
}

.expense-wallet-ledger-panel {
    background: #fbfdfc;
}

.expense-wallet-ledger-card {
    background: #fff;
    border: 1px solid #dbeee3;
    border-radius: 10px;
    display: grid;
    gap: 12px;
    height: 100%;
    padding: 14px;
}

.expense-wallet-ledger-head,
.expense-wallet-ledger-row {
    align-items: flex-start;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.expense-wallet-ledger-totals {
    align-items: flex-end;
    display: grid;
    gap: 4px;
    text-align: right;
    white-space: nowrap;
}

.expense-wallet-ledger-totals span,
.expense-wallet-ledger-row-side strong {
    font-weight: 700;
}

.expense-wallet-ledger-list {
    display: grid;
    gap: 8px;
}

.expense-wallet-ledger-row {
    background: #f6faf8;
    border: 1px solid #dbece2;
    border-radius: 10px;
    padding: 10px;
}

.expense-wallet-ledger-row.is-expense {
    background: #fff7f7;
    border-color: #f3d2d2;
}

.expense-wallet-ledger-row-title {
    color: var(--field-dark);
    font-weight: 700;
}

.expense-wallet-ledger-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.expense-wallet-ledger-meta span {
    background: #fff;
    border: 1px solid #e2ece6;
    border-radius: 999px;
    color: #52655b;
    font-size: .76rem;
    font-weight: 700;
    padding: 3px 7px;
}

.expense-wallet-ledger-row-side {
    display: grid;
    flex: 0 0 auto;
    gap: 3px;
    text-align: right;
}

.expense-wallet-ledger-row-side span,
.expense-wallet-ledger-empty {
    color: var(--muted);
    font-size: .82rem;
}

.expense-wallet-ledger-row.is-collection .expense-wallet-ledger-row-side strong {
    color: #247a43;
}

.expense-wallet-ledger-row.is-expense .expense-wallet-ledger-row-side strong {
    color: #b42318;
}

.expense-wallet-ledger-empty {
    background: #f6faf8;
    border: 1px dashed #cfe5d7;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.expense-breakdown-list {
    display: grid;
    gap: 8px;
}

.expense-breakdown-list > div {
    align-items: center;
    background: #f5fbf7;
    border: 1px solid #dbeee3;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 8px 10px;
}

.expense-create-form {
    align-items: start;
    margin-top: 1rem;
}

.expense-create-action {
    align-self: end;
}

.expense-create-form .field-inline-help,
.expense-card .field-inline-help {
    border-radius: 8px;
    line-height: 1.25;
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.expense-category-row {
    align-items: center;
    background: #fbfdfc;
    border: 1px solid #dbeee3;
    border-radius: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(160px, 1fr) auto auto auto;
    padding: 10px;
}

.expense-list-panel {
    background: #fbfdfc;
}

.expense-card-list {
    display: grid;
    gap: 12px;
}

.expense-card {
    background: #fff;
    border: 1px solid #dbeee3;
    border-radius: 10px;
    padding: 14px;
}

.expense-card-main,
.expense-card-foot {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.expense-title {
    color: #14213d;
    font-weight: 700;
}

.expense-meta,
.expense-card-foot,
.expense-note {
    color: #5f6f67;
    font-size: .92rem;
}

.expense-amount {
    color: #247a43;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.expense-note {
    border-top: 1px solid #edf4f0;
    margin-top: 10px;
    padding-top: 10px;
}

.expense-receipt-link {
    align-items: center;
    background: #f5fbf7;
    border: 1px solid #dbeee3;
    border-radius: 10px;
    color: #176b3a;
    display: inline-flex;
    gap: 10px;
    margin-top: 10px;
    padding: 8px 10px;
    text-decoration: none;
}

.expense-receipt-link:hover {
    background: #ecf8f1;
    color: #0f5132;
}

.expense-receipt-thumb {
    border-radius: 8px;
    height: 48px;
    object-fit: cover;
    width: 48px;
}

.expense-edit-form {
    background: #f8fcfa;
    border: 1px solid #e0efe6;
    border-radius: 10px;
    padding: 12px;
}

.expense-edit-actions {
    align-items: end;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-help-panel {
    background: linear-gradient(135deg, rgba(53, 153, 87, .10), rgba(255, 255, 255, .98));
    border-color: rgba(53, 153, 87, .20);
}

.tool-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tool-run-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
    min-height: 220px;
}

.tool-run-card h2,
.tool-run-card h3 {
    color: #14213d;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 7px;
}

.tool-run-card p {
    color: #51655a;
    font-size: .92rem;
    line-height: 1.45;
    margin: 0;
}

.tool-run-category {
    color: #607067;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 8px;
    text-transform: uppercase;
    word-break: break-word;
}

.tool-output-panel {
    display: grid;
    gap: 14px;
}

.tool-output-head {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.tool-summary-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.tool-summary-grid > div,
.cron-meta-list > div {
    background: #f6faf8;
    border: 1px solid #dbeee3;
    border-radius: 9px;
    display: grid;
    gap: 3px;
    padding: 9px 10px;
}

.tool-summary-grid span,
.cron-meta-list span {
    color: #607067;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tool-summary-grid strong,
.cron-meta-list strong {
    color: #14213d;
    font-size: .98rem;
    line-height: 1.2;
}

.tool-result-list {
    display: grid;
    gap: 10px;
}

.tool-result-row {
    background: #fff;
    border: 1px solid #dbeee3;
    border-radius: 10px;
    padding: 12px;
}

.tool-result-row p {
    color: #51655a;
    margin: 8px 0 0;
}

.tool-result-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-detail-grid {
    display: grid;
    gap: 4px 10px;
    grid-template-columns: minmax(110px, auto) 1fr;
    margin: 10px 0 0;
}

.tool-detail-grid dt {
    color: #607067;
    font-size: .78rem;
    font-weight: 700;
}

.tool-detail-grid dd {
    color: #2f4539;
    font-size: .84rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.tool-raw-output {
    background: #11251b;
    border-radius: 10px;
    color: #dff4e6;
    font-size: .84rem;
    margin: 0;
    max-height: 460px;
    overflow: auto;
    padding: 13px;
    white-space: pre-wrap;
}

.tool-error-output {
    background: #fff5f4;
    border: 1px solid #ffd5cf;
    border-radius: 9px;
    color: #9f2f1f;
    font-size: .88rem;
    padding: 10px 12px;
}

.cron-meta-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.cron-command-box {
    background: #11251b;
    border: 1px solid #254535;
    border-radius: 9px;
    display: grid;
    gap: 5px;
    margin-top: 8px;
    padding: 9px 10px;
}

.cron-command-box span {
    color: #a7c7b3;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cron-command-box code {
    color: #e5f7eb;
    display: block;
    font-size: .8rem;
    line-height: 1.35;
    overflow-x: auto;
    padding-bottom: 1px;
    white-space: nowrap;
}

.cron-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.cron-summary-chips span {
    background: #eef8f1;
    border: 1px solid #cfe7d6;
    border-radius: 999px;
    color: #24593a;
    font-size: .8rem;
    font-weight: 700;
    padding: 5px 8px;
}

.package-booking-panel {
    background: linear-gradient(135deg, #f4fbf6, #fff);
    border-color: #cfe9d8;
}

.package-card-grid,
.package-items,
.package-item-list {
    display: grid;
    gap: 14px;
}

.package-card {
    display: grid;
    gap: 16px;
}

.tournament-card-grid.is-list-view .tournament-edit-form,
.tournament-card-grid.is-list-view .package-edit-actions,
.tournament-card-grid.is-list-view .package-items {
    display: none;
}

.tournament-card-grid.is-list-view .tournament-card {
    gap: 10px;
}

.tournament-detail-tabs {
    align-items: center;
    background: #f4fbf6;
    border: 1px solid #d9ecdf;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 7px;
}

.tournament-detail-tab {
    appearance: none;
    background: #fff;
    border: 1px solid #d7e7dc;
    border-radius: 999px;
    color: #174431;
    cursor: pointer;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    min-height: 36px;
    padding: 8px 13px;
    transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.tournament-detail-tab:hover,
.tournament-detail-tab:focus {
    border-color: #359957;
    color: #0e5f35;
}

.tournament-detail-tab.active {
    background: #174431;
    border-color: #174431;
    box-shadow: 0 10px 24px rgba(23, 68, 49, .14);
    color: #fff;
}

.tournament-detail-panel {
    display: none;
}

.tournament-detail-panel.active {
    display: grid;
    gap: 12px;
}

.tournament-detail-panel > .tournament-edit-form {
    margin-left: 0;
    margin-right: 0;
}

.tournament-detail-nav {
    align-items: center;
    background: #f4fbf6;
    border: 1px solid #d9ecdf;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 8px;
}

.tournament-detail-nav a {
    background: #fff;
    border: 1px solid #d7e7dc;
    border-radius: 999px;
    color: #174431;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 8px 11px;
    text-decoration: none;
}

.tournament-detail-nav a:hover,
.tournament-detail-nav a:focus {
    border-color: #359957;
    color: #0e5f35;
}

.tournament-series-panel {
    background: linear-gradient(135deg, #f4fbf6, #fff);
    border: 1px solid #d9ecdf;
    border-radius: 10px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.tournament-detail-panel:not(.active) {
    display: none;
}

.tournament-series-list {
    display: grid;
    gap: 8px;
}

.tournament-series-item {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--ink);
    display: grid;
    gap: 8px;
    grid-template-columns: 86px minmax(180px, 1fr) minmax(160px, auto) auto;
    padding: 10px 12px;
    text-decoration: none;
}

.tournament-series-item.is-current {
    border-color: #359957;
    box-shadow: 0 10px 24px rgba(53, 153, 87, .12);
}

.tournament-series-actions {
    align-items: end;
    border-top: 1px solid #d9ecdf;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
}

.tournament-series-extend-form {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: auto 96px auto;
}

.package-create-form {
    margin-top: 18px;
}

.booking-package-public {
    background: linear-gradient(135deg, #f3fbf6, #ffffff);
    border: 1px solid rgba(53,153,87,.18);
    border-radius: 10px;
    padding: 16px;
}

.booking-package-public.needs-selection {
    background: linear-gradient(135deg, #fff8e8, #ffffff);
    border-color: #e88700;
    box-shadow: 0 16px 34px rgba(232,135,0,.12);
}

.booking-package-public-head {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.booking-package-public-head h2 {
    color: var(--ink);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.booking-package-public-head p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
    margin: 0;
    max-width: 420px;
}

.public-package-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    padding: 14px;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.public-package-card:not(:disabled):hover,
.public-package-card.active {
    border-color: var(--field);
    box-shadow: 0 12px 26px rgba(var(--field-rgb), .16);
    transform: translateY(-1px);
}

.public-package-card.needs-selection:not(:disabled) {
    border-color: #e88700;
    box-shadow: 0 12px 26px rgba(232,135,0,.18);
}

.public-package-card:disabled {
    opacity: .68;
}

.public-package-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 2px 0 0;
}

.public-package-description {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
    margin: 0;
}

.public-package-items {
    display: grid;
    gap: 8px;
}

.public-package-line {
    background: #f8fcfa;
    border: 1px solid #e0efe6;
    border-radius: 8px;
    display: grid;
    gap: 2px;
    padding: 8px 10px;
}

.public-package-line strong {
    color: var(--ink);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
}

.public-package-line span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.3;
}

.package-card.is-disabled,
.package-item-row.is-disabled {
    opacity: .72;
}

.package-card-head,
.package-title-row,
.package-edit-actions {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.package-summary-chips {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.package-summary-chips span,
.package-item-meta {
    background: #f3faf6;
    border: 1px solid #d7ebdf;
    border-radius: 999px;
    color: #24593a;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 9px;
}

.package-items {
    border-top: 1px solid #e5f1ea;
    padding-top: 14px;
}

.package-items-title {
    color: #14213d;
    font-weight: 700;
}

.package-item-add {
    background: #f8fcfa;
    border: 1px solid #e0efe6;
    border-radius: 12px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 12px;
    width: 100%;
}

.package-item-add.row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(300px, 2.5fr) minmax(130px, 1fr) repeat(3, minmax(66px, .55fr)) minmax(96px, .75fr) minmax(66px, .5fr) minmax(78px, .6fr);
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.package-item-add.row > [class*="col-"] {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
}

.package-item-add .form-select,
.package-item-edit .form-select {
    min-width: 0;
}

.package-item-row {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dcebe3;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    padding: 12px;
}

.package-item-edit {
    align-items: flex-start;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(280px, 2.4fr) minmax(130px, 1fr) repeat(5, minmax(70px, .55fr));
}

.package-item-meta {
    align-self: end;
    border-radius: 10px;
    display: grid;
    gap: 2px;
    grid-column: 1 / span 2;
    justify-self: start;
    line-height: 1.2;
}

.package-item-edit > .btn {
    align-self: center;
    grid-column: -2 / -1;
    justify-self: end;
    min-width: 86px;
}

.package-item-meta span {
    color: #607067;
    font-size: .72rem;
    font-weight: 700;
}

.package-item-status-form {
    justify-self: end;
    margin: 0;
}

@media (max-width: 1199.98px) {
    .package-item-add.row {
        grid-template-columns: minmax(280px, 2fr) minmax(130px, 1fr) repeat(3, minmax(72px, .7fr));
    }

    .package-item-edit {
        grid-template-columns: minmax(260px, 2fr) minmax(130px, 1fr) repeat(3, minmax(74px, .7fr));
    }

    .package-item-meta {
        grid-column: 1 / -2;
    }

    .package-item-edit > .btn {
        grid-column: -2 / -1;
    }
}

@media (max-width: 767.98px) {
    .expense-category-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .expense-category-row .btn {
        width: 100%;
    }

    .expense-wallet-ledger-head,
    .expense-wallet-ledger-row {
        align-items: stretch;
        flex-direction: column;
    }

    .expense-wallet-ledger-totals,
    .expense-wallet-ledger-row-side {
        align-items: start;
        text-align: left;
    }

    .package-card-head,
    .booking-package-public-head,
    .package-title-row,
    .package-edit-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .package-item-edit {
        grid-template-columns: 1fr;
    }

    .package-item-add.row {
        grid-template-columns: 1fr;
    }

    .tournament-series-item {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .tournament-series-actions,
    .tournament-series-actions .btn,
    .tournament-series-extend-form {
        align-items: stretch;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .package-item-meta,
    .package-item-edit > .btn {
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }

    .package-item-status-form,
    .package-item-status-form .btn {
        justify-self: stretch;
        width: 100%;
    }
}
