:root {
    --create-match-green: #079b3d;
    --create-match-green-dark: #047d31;
    --create-match-green-soft: #eef8f2;
    --create-match-ink: #121713;
    --create-match-muted: #747d78;
    --create-match-line: #dfe4e1;
    --create-match-surface: #fff;
}

.create-match-premium-modal {
    padding: 0 !important;
    background: rgba(8, 24, 15, .38) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.create-match-premium-modal .custom-modal-content {
    width: min(100%, 920px) !important;
    min-width: 0 !important;
    max-width: 920px !important;
    height: min(96dvh, 1080px) !important;
    max-height: 100dvh !important;
    border: 0 !important;
    border-radius: 26px 26px 0 0 !important;
    background: var(--create-match-surface) !important;
    box-shadow: 0 -22px 70px rgba(3, 30, 14, .24) !important;
}

.create-match-premium-modal .custom-modal-header {
    display: none !important;
}

.create-match-premium-modal .custom-modal-body {
    padding: 0 !important;
    color: var(--create-match-ink);
    background: var(--create-match-surface) !important;
    overscroll-behavior: contain;
}

.create-match-premium {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: var(--create-match-ink);
    background: var(--create-match-surface);
}

.create-match-premium button,
.create-match-facility-modal button,
.create-match-premium select,
.create-match-facility-modal select {
    font-family: inherit;
}

.create-match-page-header {
    position: sticky;
    z-index: 30;
    top: 0;
    display: grid;
    grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
    align-items: center;
    min-height: 68px;
    padding: max(10px, env(safe-area-inset-top)) clamp(14px, 4vw, 30px) 10px;
    border-bottom: 1px solid #edf0ee;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.create-match-page-header h1 {
    margin: 0;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.create-match-page-header button {
    border: 0;
    background: transparent;
}

.create-match-close-current {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--create-match-ink);
    border-radius: 0;
    box-shadow: none !important;
}

.create-match-save-exit {
    justify-self: end;
    padding: 9px 0;
    color: var(--create-match-green);
    font-weight: 900;
    white-space: nowrap;
}

.create-match-content {
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 28px) clamp(16px, 4vw, 32px) 20px;
}

.create-match-progress {
    display: grid;
    gap: 18px;
    margin-bottom: 28px;
}

.create-match-progress__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.create-match-progress__copy strong {
    color: var(--create-match-ink);
    font-weight: 900;
    white-space: nowrap;
}

.create-match-progress__copy span {
    min-width: 0;
    color: var(--create-match-muted);
    text-align: right;
}

.create-match-progress__rail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, .35fr);
    align-items: center;
    gap: 9px;
}

.create-match-progress__rail i {
    display: block;
    height: 6px;
    border-radius: 99px;
    background: #e8ebe9;
}

.create-match-progress__rail i.is-active {
    background: var(--create-match-green);
}

.create-match-progress__rail b {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d3d8d5;
}

.create-match-team-note,
.create-match-rival-note {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding: 13px 16px;
    border-radius: 13px;
    background: linear-gradient(90deg, #eef8f2, #f7fbf8);
}

.create-match-rival-note {
    grid-template-columns: 46px minmax(0, 1fr);
    margin-top: -16px;
}

.create-match-team-note p,
.create-match-rival-note p {
    min-width: 0;
    margin: 0;
    color: #3f4843;
}

.create-match-team-note p strong,
.create-match-rival-note p strong {
    color: var(--create-match-green);
    font-weight: 900;
}

.create-match-team-note button {
    padding: 9px 0 9px 12px;
    border: 0;
    color: var(--create-match-green);
    background: transparent;
    font-weight: 900;
}

.create-match-round-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--create-match-green);
    background: var(--create-match-green-soft);
}

.create-match-team-note .create-match-round-icon,
.create-match-rival-note .create-match-round-icon {
    background: #ddf2e5;
}

.create-match-section {
    margin-bottom: 28px;
}

.create-match-section-title {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.create-match-section-title h2 {
    min-width: 0;
    margin: 0;
    color: var(--create-match-ink);
    font-weight: 900;
    line-height: 1.2;
}

.create-match-location-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 62px;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid var(--create-match-line);
    border-radius: 14px;
    color: var(--create-match-ink);
    background: #fff;
    text-align: left;
}

.create-match-location-row > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-location-row > strong {
    color: var(--create-match-green);
    font-weight: 900;
}

.create-match-selected-facility-wrap {
    margin-top: 12px;
}

.create-match-selected-facility {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr) 22px;
    align-items: center;
    width: 100%;
    min-height: 148px;
    gap: 20px;
    padding: 12px 20px 12px 12px;
    border: 1px solid var(--create-match-line);
    border-radius: 16px;
    color: var(--create-match-ink);
    background: #fff;
    text-align: left;
}

.create-match-selected-facility > img,
.create-match-facility-image-skeleton {
    display: block;
    width: 168px;
    height: 122px;
    border-radius: 14px;
    object-fit: cover;
    background: #e8edea;
}

.create-match-facility-image-skeleton {
    background: linear-gradient(100deg, #eef1ef 20%, #f8faf9 38%, #eef1ef 58%);
    background-size: 200% 100%;
    animation: createMatchSkeleton 1.2s linear infinite;
}

@keyframes createMatchSkeleton {
    to { background-position-x: -200%; }
}

.create-match-facility-copy {
    display: grid;
    justify-items: start;
    min-width: 0;
    gap: 7px;
}

.create-match-facility-copy strong,
.create-match-facility-copy small {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-facility-copy strong {
    color: var(--create-match-ink);
    font-weight: 900;
}

.create-match-facility-copy small {
    color: var(--create-match-muted);
}

.create-match-facility-copy small .fa-star {
    color: #f7bb05;
}

.create-match-facility-copy em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 9px;
    border-radius: 99px;
    color: var(--create-match-green);
    background: #e8f7ed;
    font-style: normal;
    font-weight: 800;
}

.create-match-reference-dates {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(6px, 1.4vw, 12px);
    width: 100%;
    margin-top: 12px;
    overflow: visible;
}

.create-match-quick-date,
.create-match-other-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    min-height: 84px;
    gap: 5px;
    padding: 8px 4px;
    overflow: hidden;
    border: 1px solid #d8ddda;
    border-radius: 13px;
    color: var(--create-match-ink);
    background: #fff;
}

.create-match-quick-date small,
.create-match-quick-date strong,
.create-match-other-date span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-quick-date small {
    font-weight: 750;
}

.create-match-quick-date strong {
    font-weight: 900;
}

.create-match-quick-date.is-selected {
    border-color: var(--create-match-green);
    color: #fff;
    background: linear-gradient(135deg, #0aad45, #058d38);
    box-shadow: 0 8px 20px rgba(7, 155, 61, .18);
}

.create-match-other-date {
    color: var(--create-match-green);
}

.create-match-other-date span {
    color: var(--create-match-ink);
    font-weight: 750;
}

.create-match-reference-date-selects {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--create-match-line);
    border-radius: 13px;
    background: #f8faf9;
}

.create-match-reference-date-selects.is-open {
    display: grid;
}

.create-match-reference-date-selects label,
.create-match-facility-filters label {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
}

.create-match-reference-date-selects label > span,
.create-match-facility-filters label > span {
    color: var(--create-match-muted);
    font-weight: 800;
}

.create-match-reference-date-selects select,
.create-match-facility-filters select {
    width: 100%;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--create-match-line);
    border-radius: 11px;
    color: var(--create-match-ink);
    background: #fff;
}

.create-match-calendar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.create-match-live-note {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--create-match-muted);
    text-align: right;
}

.create-match-live-note > i {
    display: block;
    width: 10px;
    min-width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #21b64e;
    box-shadow: 0 0 0 4px rgba(33, 182, 78, .1);
}

.create-match-premium__calendar-content:empty {
    min-height: 200px;
    border-radius: 16px;
    background: linear-gradient(100deg, #f3f6f4 20%, #fff 38%, #f3f6f4 58%);
    background-size: 200% 100%;
    animation: createMatchSkeleton 1.2s linear infinite;
}

.create-match-premium__calendar-content > [data-create-match-selected-facility-card] {
    display: none;
}

.create-match-premium__pitch-switch {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    width: 100%;
    margin-bottom: 12px;
}

.create-match-premium__pitch {
    min-width: 0; 
    padding: 8px 10px;
    border: 0;
    border-radius: 11px;
    color: #313733;
    background: #f3f4f3;
    font-weight: 850;
}

.create-match-premium__pitch.active,
.create-match-premium__pitch.is-active {
    color: #fff;
    background: linear-gradient(135deg, #0aac45, #058e38);
}

.create-match-premium__calendar-panel {
    margin: 0;
}

.create-match-premium__calendar-panel-head {
    margin: 0 0 10px;
}

.create-match-premium__calendar-panel-head strong {
    color: var(--create-match-ink);
    font-weight: 900;
}

.create-match-empty-fields {
    margin: 12px 0 0;
    padding: 18px;
    border-radius: 12px;
    color: var(--create-match-muted);
    background: #f5f7f6;
    text-align: center;
}

.create-match-premium-modal .premium-field-calendar {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.create-match-premium-modal .premium-field-calendar__body {
    padding: 0 !important;
}

.create-match-premium-modal .premium-field-calendar__grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0 !important;
}

.create-match-premium-modal .premium-field-calendar__grid > .col-12 {
    grid-column: 1 / -1;
    width: auto !important;
    padding: 0 !important;
}

.create-match-premium-modal .premium-field-slot-col {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.create-match-premium-modal .premium-field-calendar__summary {
    margin: 0 0 2px;
}

.create-match-premium-modal .premium-field-calendar__summary-row {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.create-match-premium-modal .premium-field-calendar__field-name {
    display: none !important;
}

.create-match-premium-modal .premium-field-calendar__meta {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}

.create-match-premium-modal .premium-field-calendar__meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    margin: 0 !important;
    padding: 7px 5px;
    overflow: hidden;
    border: 1px solid var(--create-match-line);
    border-radius: 10px;
    color: #48504b !important;
    background: #fff;
    opacity: 1 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-premium-modal .premium-field-calendar__meta > span i {
    color: var(--create-match-green) !important;
}

.create-match-premium-modal .premium-field-slot__content.is-create-match-selected {
    color: #fff !important;
    background: linear-gradient(135deg, #0aad45, #058c37) !important;
    border-color: var(--create-match-green) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important;
}

 

.create-match-premium-modal .loadFieldCalendarArea .premium-field-slot__content.is-create-match-selected .row * {
    color: #fff !important;
    font-weight: 900 !important;
}

.create-match-premium-modal .loadFieldCalendarArea .premium-field-slot__content.is-create-match-selected .row .fs-07 {
    color: #fff !important;
    font-weight: 900 !important;
}

.create-match-selection-footer {
    position: sticky;
    z-index: 25;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 34%);
    align-items: center;
    gap: 18px;
    min-height: 96px;
    padding: 14px clamp(16px, 4vw, 32px) max(14px, env(safe-area-inset-bottom));
    border-top: 1px solid #e8ebe9;
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -12px 34px rgba(15, 38, 25, .1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.create-match-selection-summary {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.create-match-selection-summary strong,
.create-match-selection-summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-selection-summary strong {
    color: var(--create-match-ink);
    font-weight: 900;
}

.create-match-selection-summary span {
    color: var(--create-match-muted);
}

#CreateMatchContinue {
    min-height: 54px;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #0aad45, #058b37);
    box-shadow: 0 10px 22px rgba(7, 155, 61, .18);
    font-weight: 900;
}

#CreateMatchContinue:disabled {
    color: #9ca39f;
    background: #eef0ef;
    box-shadow: none;
}

.create-match-facility-modal {
    padding: 0 !important;
    background: rgba(8, 24, 15, .45) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.create-match-facility-modal .custom-modal-content {
    width: min(100%, 760px) !important;
    min-width: 0 !important;
    max-width: 760px !important;
    height: min(88dvh, 820px) !important;
    border: 0 !important;
    border-radius: 24px 24px 0 0 !important;
    background: #fff !important;
}

.create-match-facility-modal .custom-modal-header {
    min-height: 62px;
    padding: 14px 18px !important;
    border-bottom: 1px solid #edf0ee;
    background: #fff;
}

.create-match-facility-modal .custom-modal-header > span {
    color: var(--create-match-ink) !important;
    font-weight: 900 !important;
}

.create-match-facility-modal .custom-modal-body {
    padding: 0 !important;
    background: #fff !important;
}

.create-match-facility-sheet {
    padding: 18px clamp(16px, 4vw, 28px) max(24px, env(safe-area-inset-bottom));
}

.create-match-facility-sheet__intro {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}

.create-match-facility-sheet__intro h2,
.create-match-facility-sheet__intro p {
    margin: 0;
}

.create-match-facility-sheet__intro h2 {
    color: var(--create-match-ink);
    font-weight: 900;
}

.create-match-facility-sheet__intro p {
    margin-top: 3px;
    color: var(--create-match-muted);
}

.create-match-facility-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px;
    border-radius: 14px;
    background: #f6f9f7;
}

.create-match-facility-list {
    display: grid;
    gap: 10px;
}

.create-match-facility-option {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 20px;
    align-items: center;
    width: 100%;
    min-height: 112px;
    gap: 14px;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--create-match-line);
    border-radius: 15px;
    color: var(--create-match-ink);
    background: #fff;
    text-align: left;
}

.create-match-facility-option.is-selected {
    border-color: rgba(7, 155, 61, .48);
    box-shadow: 0 8px 20px rgba(7, 155, 61, .08);
}

.create-match-facility-option > img {
    width: 112px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    background: #edf0ee;
}

.create-match-facility-option__copy {
    display: grid;
    justify-items: start;
    min-width: 0;
    gap: 7px;
}

.create-match-facility-option__copy strong,
.create-match-facility-option__copy small {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.create-match-facility-option__copy strong {
    font-weight: 900;
}

.create-match-facility-option__copy small {
    color: var(--create-match-muted);
}

.create-match-facility-option__copy em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--create-match-green);
    font-style: normal;
    font-weight: 900;
}

.create-match-facility-empty {
    margin: 12px 0 0;
    padding: 22px;
    border-radius: 13px;
    color: var(--create-match-muted);
    background: #f5f7f6;
    text-align: center;
}

@media (max-width: 680px) {
    .create-match-premium-modal .custom-modal-content {
        width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
    }

    .create-match-content {
        padding: 18px 14px 12px;
    }

    .create-match-progress {
        gap: 14px;
        margin-bottom: 22px;
    }

    .create-match-team-note,
    .create-match-rival-note {
        margin-bottom: 24px;
        padding: 11px 12px;
    }

    .create-match-rival-note {
        margin-top: -14px;
    }

    .create-match-section {
        margin-bottom: 24px;
    }

    .create-match-selected-facility {
        grid-template-columns: 112px minmax(0, 1fr) 16px;
        min-height: 122px;
        gap: 13px;
        padding: 9px 13px 9px 9px;
    }

    .create-match-selected-facility > img,
    .create-match-facility-image-skeleton {
        width: 112px;
        height: 100px;
        border-radius: 12px;
    }

    .create-match-reference-dates {
        gap: 6px;
    }

    .create-match-quick-date,
    .create-match-other-date {
        min-height: 76px;
        padding-inline: 2px;
    }

    .create-match-calendar-title {
        align-items: center;
    }
 

    .create-match-premium-modal .premium-field-calendar__grid {
        gap: 8px;
    }

    .create-match-selection-footer {
        grid-template-columns: minmax(0, 1fr) minmax(130px, 36%);
        min-height: 86px;
        gap: 10px;
        padding: 11px 14px max(11px, env(safe-area-inset-bottom));
        border-radius: 18px 18px 0 0;
    }

    #CreateMatchContinue {
        min-height: 50px;
    }
}

@media (max-width: 430px) {
    .create-match-page-header {
        grid-template-columns: minmax(78px, 1fr) auto minmax(78px, 1fr);
        min-height: 60px;
        padding-inline: 12px;
    }

    .create-match-progress__copy {
        gap: 8px;
    }

    .create-match-progress__copy span {
        max-width: 44%;
    }

    .create-match-team-note {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .create-match-round-icon {
        width: 20px;
        min-width: 20px;
        height: 20px;
    }

    .create-match-location-row {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        min-height: 58px;
        padding-inline: 12px;
    }

    .create-match-selected-facility {
        grid-template-columns: 96px minmax(0, 1fr) 14px;
        min-height: 112px;
        gap: 10px;
    }

    .create-match-selected-facility > img,
    .create-match-facility-image-skeleton {
        width: 96px;
        height: 90px;
    }

    .create-match-reference-dates {
        gap: 4px;
    }

    .create-match-quick-date,
    .create-match-other-date {
        min-height: 70px;
        border-radius: 10px;
    }

    .create-match-premium-modal .premium-field-calendar__meta > span {
        min-height: 34px;
        gap: 4px;
        padding-inline: 4px;
    }

    .create-match-premium-modal .premium-field-calendar__grid {
        gap: 6px;
    }

    .create-match-facility-filters {
        grid-template-columns: 1fr;
    }

    .create-match-facility-option {
        grid-template-columns: 92px minmax(0, 1fr) 14px;
        gap: 10px;
        padding-right: 12px;
    }

    .create-match-facility-option > img {
        width: 92px;
        height: 82px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .create-match-facility-image-skeleton,
    .create-match-premium__calendar-content:empty {
        animation: none;
    }
}
