/* ============================================================
   FILE: Changes.css
   ============================================================
   SECTIONS:
   1. GENERAL / SITE-WIDE CSS
   2. SIDEBAR CSS
   3. DATATABLE CSS
   4. TABLE CONTAINERS & GAME LIST TABLE CSS
   5. PLAYER CHIP (POOL) CSS          ← WIZARD RELATED
   6. PITCH AREA CSS                  ← WIZARD RELATED
   7. FORMATION SLOT CSS              ← WIZARD RELATED
   8. FORMATION FLIP (SIDE SELECT) CSS← WIZARD RELATED
   ============================================================ */


/* ============================================================
   SECTION 1: GENERAL / SITE-WIDE CSS
   ============================================================ */

table.dataTable tbody tr {
    background-color: transparent !important;
}

table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: transparent;
}

table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1 {
    background-color: transparent;
}

.game-video-ttl-cntnr {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

    .game-video-ttl-cntnr img {
        height: 30px;
        width: 30px;
    }

.disabled-rating {
    pointer-events: none;
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    color: red;
}

.help-block-error {
    color: red;
}

.is-invalid {
    border: 1px solid red !important;
}

.error-text {
    color: red;
    font-size: 13px;
    display: block;
}

.readonly-itp {
    background: #ffffff42 !important;
}

.video-big-screen-popup-main-container {
    display: none;
}

    .video-big-screen-popup-main-container.active {
        display: flex !important;
    }

.change-team-tabs-wrapper,
.change-team-panel {
    display: none;
}

    .change-team-tabs-wrapper.is-ready {
        display: flex;
    }

    .change-team-panel.active {
        display: block;
    }

.content-wrapper.sortable-chosen {
    border: 2px solid #4f8cff;
    background: rgba(79, 140, 255, 0.08);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

#main-content {
    width: calc(100% - 0px) !important;
    padding: 0px 0px !important;
    margin-top: 0px !important;
}

.formation-analyzer-dpdn-box-main .form-select:disabled {
    background-color: #ffffff42 !important;
}

.player-profile-main-box-container .profile-dob svg {
    width: fit-content;
    height: fit-content;
    transform: unset;
}

.player-profile-main-box-container .main-card .form-body .btn-grid button i {
    font-size: 18px;
}

.player-profile-main-box-container .select-wrap svg {
    width: 18px;
    height: 18px;
}

.player-profile-main-box-container .avatar-overlay {
    gap: 8px;
}

    .player-profile-main-box-container .avatar-overlay i {
        font-size: 24px;
    }

.player-profile-main-box-container .popup-icon {
    font-size: 24px;
}

select#PrimaryPositionId,
#SecondaryPositionId {
    height: 49px;
}

.gale-player-full-details-title .vdo-btn-botoon-mn-box-sec {
    width: fit-content;
    margin-bottom: 0px;
}

.view-highlight-and-select-video-btn-box .btn-grid button i {
    font-size: 20px;
}

#SelectVideoFilePopupMn .select-video-file-inside-box-main .select-video-submit-button-box {
    margin-top: 42px;
}

#SelectVideoFilePopupMn .select-video-file-inside-box-main .select-video-open-file #UrlBox div {
    margin: auto;
}

.opponent-team-selecting .col-12 {
    padding: 0px !important;
}

.opponent-team-selecting #TeamTwoId2 {
    margin-left: 0px;
}

.create-custom-clip-modal-box-inside-main {
    overflow: visible !important;
}

#customFolderDropdown {
    position: relative;
}

#customFolderList {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    z-index: 99999;
}

#UploadVideo .modal-dialog .modal-content {
    border-radius: 10px;
    background-color: #131D37;
    border: 1px solid #002D5B;
}

    #UploadVideo .modal-dialog .modal-content .modal-header h6 {
        width: 100%;
        text-align: center;
        color: white;
        font-size: 20px;
        font-family: 'Inter 18pt Medium';
    }

/* ==== Circular Progress Loader ==== */
.loader-container-two {
    position: relative;
    width: 150px;
    height: 150px;
    margin: auto;
    display: none;
}

svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

circle {
    fill: none;
    stroke-width: 12;
    stroke-linecap: round;
}

.bg-circle {
    stroke: #e0e0e0;
}

.progress-circle {
    stroke: #007bff;
    stroke-dasharray: 370;
    stroke-dashoffset: 370;
    transform-origin: 50% 50%;
    animation: rotate 1s linear infinite;
    transition: stroke-dashoffset 0.3s linear;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.inner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

/* ==== PDF Export ==== */
.pdf-hide {
    display: none !important;
}

#pdfTempArea,
#pdfTempArea * {
    box-sizing: border-box !important;
}

#pdfTempArea {
    width: 1100px !important;
    max-width: 1100px !important;
    background: #111a33 !important;
    padding: 20px !important;
    margin: 0 !important;
    overflow: visible !important;
}

    #pdfTempArea .dashboard-header-top-container,
    #pdfTempArea .sidebar-opn-close-db-prt,
    #pdfTempArea .idp-date-and-extract-pdf-btn-box-main button,
    #pdfTempArea .all-players-goal-save-button-main,
    #pdfTempArea .back-to-page-btn-box,
    #pdfTempArea #mainLoader,
    #pdfTempArea #UserEvaluationsUpdatedSuccessfully {
        display: none !important;
    }

    #pdfTempArea .dashboard-right-side-container-main,
    #pdfTempArea .dashboard-contant-main-container,
    #pdfTempArea #printArea {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    #pdfTempArea table {
        width: 100% !important;
        table-layout: fixed !important;
    }

    #pdfTempArea th:first-child,
    #pdfTempArea td:first-child {
        width: 75% !important;
    }

    #pdfTempArea th:last-child,
    #pdfTempArea td:last-child {
        width: 25% !important;
        text-align: center !important;
    }

    #pdfTempArea textarea {
        width: 100% !important;
        resize: none !important;
    }

    #pdfTempArea .possession-summary-card-main,
    #pdfTempArea .idp-table-container {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }


/* ── SweetAlert2 z-index fix ──
   Wizard popup has very high z-index. SweetAlert2 default container
   z-index (1060) is lower than the wizard, so popups appear behind it.
   .swal-over-wizard is passed as customClass.container in every
   Swal.fire() call inside SubmitWizard.js to fix this.              */
.swal-over-wizard {
    z-index: 999999 !important;
}

.swal2-container {
    z-index: 999999 !important;
}


/* ============================================================
   SECTION 2: SIDEBAR CSS
   ============================================================ */

#sidebar .dropdown-link.active {
    background: #0d6efd;
    color: #fff !important;
    border-radius: 6px;
}

#sidebar .has-dropdown.active .drop-btn,
#sidebar .drop-btn.active {
    color: #fff !important;
}

#sidebar .has-dropdown.open .chevron {
    transform: rotate(180deg);
}

#SupportMenu.open #support-dropdown {
    display: block !important;
}


/* ============================================================
   SECTION 3: DATATABLE CSS
   ============================================================ */

/* Pagination buttons hide karo — table still works */
.dataTables_wrapper .dataTables_paginate {
    display: none !important;
}

.player-image-ad-name {
    width: 18%;
}


/* ============================================================
   SECTION 4: TABLE CONTAINERS & GAME LIST TABLE CSS
   ============================================================ */

.idp-table-container {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    margin-top: 18px;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: auto;
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: #314158 #0f172a;
}

    .idp-table-container::-webkit-scrollbar {
        width: 6px;
    }

    .idp-table-container::-webkit-scrollbar-track {
        background: #0f172a;
    }

    .idp-table-container::-webkit-scrollbar-thumb {
        background-color: #314158;
        border-radius: 10px;
    }

.idp-table-container-Game {
    width: 100%;
    background-color: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    margin-top: 18px;
    position: relative;
}

#HomeGameListTable {
    width: 100%;
    border-collapse: collapse;
}

    #HomeGameListTable thead {
        background-color: #314158;
        position: sticky;
        top: 0;
        z-index: 2;
    }

        #HomeGameListTable thead th {
            color: white;
            padding: 15px 30px 15px 10px;
            font-size: 14px;
            font-family: 'Inter 18pt Bold';
            border-bottom: 1px solid #1a2533;
            white-space: nowrap;
        }

    #HomeGameListTable tbody td {
        color: white;
        padding: 12px 10px;
        font-size: 14px;
        border-bottom: 1px solid #1a2533;
        font-family: 'Inter 18pt Regular';
    }

.player-name-and-team-logo {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

    .player-name-and-team-logo h6 {
        color: white;
        font-size: 14px;
        font-family: 'Inter 18pt Regular';
        margin: 0;
    }

.player-image-ad-name {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .player-image-ad-name img {
        width: 32px;
        min-width: 32px;
        height: 32px;
        border-radius: 100px;
    }

    .player-image-ad-name span {
        font-size: 16px;
        color: white;
    }

#HomeGameListLoader {
    text-align: center;
    padding: 12px;
    color: #aaa;
    font-size: 14px;
    background-color: #0f172a;
    position: sticky;
    bottom: 0;
}

.scheduled-game-step-one-box .scheduled-game-step-two-box-sec input {
    width: 100%;
}


/* ============================================================
   SECTION 5: WIZARD — PLAYER POOL CHIPS (Step 8, top list)
   Player chips: dark circle jersey number + player name beside it
   ============================================================ */

.player-source-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border-radius: 20px;
    background-color: #e9edf2;
    cursor: pointer;
    min-width: 130px;
    max-width: 180px;
    height: 38px;
    font-weight: 700;
    font-size: 13px;
    color: #1e2d3d;
    border: 1.5px solid transparent;
    transition: background-color 0.2s, border-color 0.2s;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}

    /* Jersey number circle */
    .player-source-pill .jersey-num {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 50%;
        background-color: #2f3944;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Player name */
    .player-source-pill .player-pill-name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        font-size: 12px;
        font-weight: 700;
        color: #1e2d3d;
    }

    /* Selected state */
    .player-source-pill.selected {
        background-color: #22c55e;
        border-color: #16a34a;
        color: #ffffff;
    }

        .player-source-pill.selected .player-pill-name {
            color: #ffffff;
        }

        .player-source-pill.selected .jersey-num {
            background-color: #ffffff;
            color: #16a34a;
        }

    /* Disabled / already assigned */
    .player-source-pill.disabled {
        opacity: 0.4;
        pointer-events: none;
        cursor: not-allowed;
    }

    /* Hover */
    .player-source-pill:not(.disabled):hover {
        background-color: #d1d9e2;
        border-color: #9ddfc4;
    }


/* ============================================================
   SECTION 6: WIZARD — PITCH AREA (Step 8)
   ============================================================ */

.pitch-area {
    position: relative;
    flex: 1;
    min-height: 380px;
    background: #f5f7fa;
    border-top: 3px solid #c2cdd9;
    border-bottom: 3px solid #c2cdd9;
    overflow: visible;
}

/* === Formation Right Side: Mirror goal post visual elements to the right === */
.pitch-area.formation-right .goal-marking {
    left: auto;
    right: 0;
    border-left: 2px solid #ffffff80;
    border-right: none;
}

.pitch-area.formation-right .penalty-arc {
    left: auto;
    right: 85px;
    border-radius: 75px 0 0 75px;
    border-right: unset;
    border-left: 2px solid #ffffff80;
}

.pitch-area.formation-right .center-half-circle {
    right: auto;
    left: -2px;
    border-radius: 0 75px 75px 0;
    border-left: none;
    border-right: 2px solid #ffffff80;
}

.available-players-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    min-height: 54px;
    align-items: flex-start;
    align-content: flex-start;
}

.player-drag-reorder-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

.divider {
    height: 1px;
    background: #c2cdd9;
    margin: 0;
}

.footer-note {
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #444;
}


/* ============================================================
   SECTION 7: WIZARD — FORMATION SLOTS (Step 8, on pitch)
   ============================================================ */

.formation-slot {
    position: absolute;
    width: 85px;
    height: 28px;
    border: 2px solid #9ddfc4;
    border-radius: 18px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px 0 5px;
    transform: translate(-50%, -50%); /* NO scaleX here — pitch handles flip */
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 9;
}

    .formation-slot.empty {
        background-color: transparent;
    }

    /* Drag-over and selected highlight */
    .formation-slot.slot-selected,
    .formation-slot.drag-over {
        box-shadow: 0 0 0 3px rgba(11, 103, 208, 0.3);
        background-color: #eef6ff;
    }

    /* Filled slot */
    .formation-slot:not(.empty) {
        background-color: #ffffff;
    }

    /* Jersey number circle inside slot */
    .formation-slot .slot-no {
        width: 22px;
        min-width: 22px;
        height: 22px;
        border-radius: 50%;
        background-color: #0b67d0;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        flex-shrink: 0;
    }

    /* Player name inside slot */
    .formation-slot .slot-name {
        flex: 1;
        min-width: 0;
        font-weight: 700;
        font-size: 11px;
        color: #1e2d3d;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1;
    }


/* ============================================================
   SECTION 8: WIZARD — FORMATION FLIP (Step 6 side select)

   LOGIC:
   - Step 6: User "Right Side" select kare
   - Step 7: Formation cards na pitch preview flip thay (goal right baju jaay)
   - Step 8: #wizardPitchArea ne scaleX(-1) apply thay (JS thi)
             #formationSlots INSIDE pitchArea chhe — thi slots automatically
             visually mirror thaay. Slot position rawX as-is rehshe (no JS mirror).
             Pan pitchArea mirror thava thi slot ni andar ni content (jersey + name)
             pan mirror thay — .slot-right-side CSS counter-flip thi text seedhu rahe.
   ============================================================ */

/* --- Step 7: Formation card grid preview flip --- */
.formation-card.formation-flipped .pitch-preview {
    transform: scaleX(-1);
}

.formation-card.formation-flipped .formation-name {
    transform: none;
}

/* --- Step 8: Slot content counter-flip when right side selected ---
     pitchArea scaleX(-1) thi slot content mirror thay.
     .slot-right-side class JS thi add thaay chhe.
     Aa rule thi jersey number + player name seedha rahe.            */
#wizardPitchArea .slot-right-side .slot-no,
#wizardPitchArea .slot-right-side .slot-name {
    transform: scaleX(-1);
    display: inline-flex;
}



/* ============================================================
   WIZARD MODAL — X CLOSE BUTTON (top right)
   Everything else uses existing site CSS classes as-is.
   ============================================================ */

/* X button — positioned absolute top-right of wizard popup */
.wiz-x-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dc2626;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.15s;
    padding: 0;
    line-height: 1;
}

    .wiz-x-close-btn:hover {
        background: #b91c1c;
    }



/* Remove old wzard-frm-bton-smit-mn override — let it show normally */
.wzard-frm-bton-smit-mn {
    display: flex !important;
    justify-content: end;
}

/* ============================================================
   STEP 5 — LINEUP TOGGLE BUTTONS
   Replaces Starter / Sub / No Play checkboxes
   ============================================================ */

.lineup-toggle-group {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.lineup-toggle-btn {
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.4;
}

    .lineup-toggle-btn:hover {
        border-color: rgba(255,255,255,0.5);
        color: #fff;
        background: rgba(255,255,255,0.07);
    }

    /* Starter — green active */
    .lineup-toggle-btn.starter-btn.active {
        background: #22c55e;
        border-color: #16a34a;
        color: #fff;
    }

    /* Sub — blue active */
    .lineup-toggle-btn.sub-btn.active {
        background: #3b82f6;
        border-color: #2563eb;
        color: #fff;
    }

    /* No Play — red active */
    .lineup-toggle-btn.noplay-btn.active {
        background: #ef4444;
        border-color: #dc2626;
        color: #fff;
    }



    /*////////////////////////////////////////////////////*/


/* ==== popup head close button ane popup footer saprate start ==== */

.scheduled-wizard-popup-main-cntntre {
    padding: 0px;
}

    .scheduled-wizard-popup-main-cntntre .possession-summary-heading-box {
        padding: 16px 24px;
        border-bottom: 1px solid #002D5B;
    }

    .scheduled-wizard-popup-main-cntntre #frmWizard .form-step {
        padding: 0px 20px 20px 20px;
    }

.wizard-progrss-line-sec {
    width: 100%;
    padding: 20px 20px 0px 20px;
}

.wzard-frm-bton-smit-mn,
.filter-and-close-btn-box {
    padding: 16px;
    border-top: 1px solid #002D5B;
}

.event-main-dpdn-inside-container {
    padding: 0px;
}

.upload-wizard-form-video-text,
.video-input-add-link-box,
.upload-winzard-video-btn {
    padding: 0px 24px;
}

#UploadVideoPopupMnbx .possession-summary-heading-box {
    margin-bottom: 20px;
}

#SubmitVideoPopupMnbx .upload-wizard-form-video-text {
    margin-top: 20px;
}

#LineupPopupMnbx .lineup-popup-inside-main-cntner {
    padding: 0px;
}

#LineupPopupMnbx .scheduled-table-step-fiva-main-container {
    margin: 20px;
}

.possession-summary-heading-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.popup-cloe-icon-rd {
    font-size: 18px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-family: 'Inter 18pt Regular';
    border-radius: 6px;
    color: white;
    background-color: #EB5757;
    border: 1px solid #EB5757;
}

    .popup-cloe-icon-rd:hover {
        background-color: transparent;
        color: #EB5757;
    }

.advance-search-popup-container .opponent-team-selecting,
.advance-search-popup-container .from-date-to-date-itp-box {
    padding: 0px 24px;
}

#ScheduledAdvanceSearchPopupMain .event-popup-filter-inside-box-main .event-main-dpdn-inside-container {
    padding-top: 16px;
}
.scheduled-table-step-fiva-main-container table .table-wzard-itp {
    width: 90px;
}

#passesPerMinuteTableBody tr td:nth-child(1) {
    text-align: left;
}

.add-player-ipt-fieldbox-grid {
    padding: 20px 20px 0px 20px;
}

#LineupPopupMnbx .lineup-popup-inside-main-cntner .possession-summary-heading-box {
    border-bottom: 1px solid #002D5B;
}

/* ==== popup head close button ane popup footer saprate end ==== */

/* ============================================================
   LINEUP POPUP — TOGGLE BUTTON ACTIVE STATES
   Mirrors wizard Step 5 (.starter-btn / .sub-btn / .noplay-btn)
   but for the lp- prefixed classes used in #LineupPopupMnbx
   ============================================================ */

/* Starter — green active */
.lineup-toggle-btn.lp-starter-btn.active {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
}

/* Sub — blue active */
.lineup-toggle-btn.lp-sub-btn.active {
    background: #3b82f6;
    border-color: #2563eb;
    color: #fff;
}

/* No Play — red active */
.lineup-toggle-btn.lp-noplay-btn.active {
    background: #ef4444;
    border-color: #dc2626;
    color: #fff;
}

.hm-pg-new-csmtmize .vdo-btn-botoon-mn-box-sec {
    background-color: transparent;
    border-radius: unset;
    padding: 0px;
    height: fit-content;
    width: 100%;
    margin-top: 18px;
}

.hm-pg-new-csmtmize .game-video-container-box-main video {
    border-radius: 12px;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-in-out-mn {
    margin-bottom: 0px;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-main {
    width: 58%;
    background-color: transparent;
    border-radius: 12px;
    padding: 0;
    height: fit-content;
    position: relative;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-in-out-mn {
    background-color: #131D37;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: relative;
    width: 100%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.hm-pg-new-csmtmize .video-markers-container {
    bottom: 51px;
}







.dashboard-container {
    background-color: #131D37;
    border: 1px solid white;
    border-radius: 10px;
    width: 100%;
    max-width: 1112px;
    padding: 30px;
    margin: auto;
    margin-top: 18px;
    position: relative;
}

.shot-map-arena {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.top-outer-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.main-arena-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.left-outer-container,
.right-outer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    flex-shrink: 0;
}

.shot-box.outside {
    background-color: transparent;
    background-image: url('https://touchlynk.s3.us-east-1.amazonaws.com/Intges/big-ball.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    color: #ffffff;
    width: 105px;
    height: 105px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px 13px 14px;
}

    .shot-box.outside .box-value {
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), -1.5px -1.5px 0 rgba(0, 0, 0, 0.8), 1.5px -1.5px 0 rgba(0, 0, 0, 0.8), -1.5px 1.5px 0 rgba(0, 0, 0, 0.8), 1.5px 1.5px 0 rgba(0, 0, 0, 0.8);
    }

.football-shots-container-main {
    width: 100%;
    height: fit-content;
    padding: 45px 40px 30px 40px;
    background-image: url(../images/football-goal-side.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

.game-clips-dpdn {
    position: relative;
    width: 180px;
    user-select: none;
    margin-left: auto;
    margin-bottom: 12px;
    z-index: 100;
}

    .game-clips-dpdn .game-clips-dpdn-header {
        background-color: rgba(255, 255, 255, 0.95);
        border: 1.5px solid #cbd5e1;
        padding: 8px 14px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
        font-size: 13px;
        font-weight: 700;
        color: #0f172a;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

        .game-clips-dpdn .game-clips-dpdn-header:hover,
        .game-clips-dpdn.open .game-clips-dpdn-header {
            border-color: #005DBF;
            box-shadow: 0 0 0 3px rgba(0, 93, 191, 0.15);
            background-color: #ffffff;
        }

        .game-clips-dpdn .game-clips-dpdn-header i {
            font-size: 11px;
            transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            color: #005DBF;
        }

    .game-clips-dpdn.open .game-clips-dpdn-header i {
        transform: rotate(180deg);
    }

    .game-clips-dpdn .game-clips-dpdn-list {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        background-color: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
        padding: 4px;
        margin: 0;
        list-style: none;
        max-height: 250px;
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .game-clips-dpdn.open .game-clips-dpdn-list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .game-clips-dpdn .game-clips-dpdn-list li {
        padding: 10px 14px;
        cursor: pointer;
        border-radius: 6px;
        transition: background 0.15s ease, color 0.15s ease;
        font-size: 13px;
        font-weight: 600;
        color: #0f172a;
        text-align: left;
    }

        .game-clips-dpdn .game-clips-dpdn-list li:hover {
            background-color: #005DBF;
            color: #ffffff;
        }

.football-game-score-count-box-main {
    width: 100%;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.football-count-card-box-main {
    width: calc(33.333% - 10px);
    height: 105px;
    background-color: transparent;
    background-image: url('https://touchlynk.s3.us-east-1.amazonaws.com/Intges/big-ball.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    padding: 10px 10px 13px 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), -1.5px -1.5px 0 rgba(0, 0, 0, 0.8), 1.5px -1.5px 0 rgba(0, 0, 0, 0.8), -1.5px 1.5px 0 rgba(0, 0, 0, 0.8), 1.5px 1.5px 0 rgba(0, 0, 0, 0.8);
}

    .football-count-card-box-main:hover {
        transform: translateY(-2px);
    }

.game-clips-dpdn {
    width: 260px !important;
}

.dashboard-container .game-clips-dpdn {
    position: absolute;
    right: 30px;
    top: 30px;
}


.statsTab {
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 15px;
}

.stats-tab-content {
    display: none;
}

.stats-tab-content.active {
    display: block;
}

.mnggm-pg-cstmz .game-video-container-box-main video {
    border-top-right-radius: 12px !important;
    border-top-left-radius: 12px !important;
    border-bottom-right-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.mnggm-pg-cstmz .video-markers-container {
    bottom: 83px !important;
}

.mnggm-pg-cstmz .dsbrd-sec .table-body-scroll {
    max-height: 330px;
}

.hm-pg-new-csmtmize .vdo-btn-botoon-mn-box-sec {
    background-color: transparent;
    border-radius: unset;
    padding: 0px;
    height: fit-content;
    width: 100%;
    margin-top: 18px;
}

.hm-pg-new-csmtmize .game-video-container-box-main video {
    border-radius: 12px;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-in-out-mn {
    margin-bottom: 0px;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-main {
    width: 58%;
    background-color: transparent;
    border-radius: 12px;
    padding: 0;
    height: fit-content;
    position: relative;
}

.hm-pg-new-csmtmize .game-video-clip-container-box-in-out-mn {
    background-color: #131D37;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    position: relative;
    width: 100%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.hm-pg-new-csmtmize .video-markers-container {
    bottom: 51px;
}




.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

/* Tooltip box */
.custom-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease-in-out;
    z-index: 999;
}

    /* Arrow */
    .custom-tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #000 transparent transparent transparent;
    }

/* Hover effect */
.tooltip-wrapper:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
}

.btn-tooltip {
    font-size: 16px;
    padding: 8px 18px;
    font-family: 'Inter 18pt Regular';
    border-radius: 8px;
    color: white;
    background-color: #005DBF;
    border: 1px solid #005DBF;
    box-shadow: 0px 0px 2px 1px transparent;
    position: relative;
}

#frmCustomClip #customFolderHeader:hover {
    background-color: #0B1120;
    border-color: #ffffff42;
}

#frmCustomClip #customFolderDropdown {
    width: 100% !important;
}

    #frmCustomClip #customFolderDropdown.active #customFolderList {
        display: block !important;
    }

    #frmCustomClip #customFolderDropdown li:hover {
        background-color: #f3f4f6;
        color: #141b2b;
    }

.rmv-ovrflw-hdn {
    overflow: unset;
}

#GameSummary1 .game-clips-dpdn {
    margin-left: unset !important;
}

#frmInviteFan .tooltip-wrapper {
    display: flex !important;
}

#MyFanInvitePopup .event-popup-filter-inside-box-main {
    max-width: 550px !important;
}

.games-tab-dropdown {
    position: relative;
    display: inline-block;
}

.games-drop-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

.games-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #1a2238;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    z-index: 9999;
    overflow: hidden;
}

    .games-dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
    }

        .games-dropdown-menu a:hover {
            background: #2d3f73;
        }

.games-tab-dropdown:hover .games-dropdown-menu {
    display: block;
}

#InProcessCardsGrid .card-actions .tooltip-wrapper,
#ia_InProcessCardsGrid .card-actions .tooltip-wrapper {
    width: 40px;
    height: 40px;
}

    #InProcessCardsGrid .card-actions .tooltip-wrapper .action-btn,
    #ia_InProcessCardsGrid .card-actions .tooltip-wrapper .action-btn {
        width: 100%;
    }

#InProcessCardsGrid .card-actions {
    justify-content: end;
}

.match-tbl-dt-cngs-tocrd #ia_InProcessCardsGrid .match-card .card-actions {
    justify-content: end;
}

#ia_InProcessCardsGrid .card-actions .tooltip-wrapper .action-btn {
    width: 100%;
}

.time-type-dpdn-mngli-mn {
    width: 100%;
    max-width: 400px;
    margin: auto;
    margin-bottom: 10px;
}

    .time-type-dpdn-mngli-mn .drk-slsct-opt-mn label {
        text-align: center;
    }

.drk-slsct-opt-mn select.form-select:disabled {
    background-color: #0b1120 !important;
    color: #64748b !important;
    border-color: #1e293b !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Visually obvious disabled states for dark theme controls */
.game-details-pg-acdn-item select:disabled,
.game-details-pg-acdn-item input:disabled,
.game-details-pg-acdn-item button:disabled,
.form-select:disabled,
.form-control:disabled {
    background-color: #0b1120 !important; /* visibly darker background */
    color: #64748b !important;            /* muted/dimmed text color that is still readable */
    opacity: 0.6 !important;               /* reduced opacity similar to old version */
    cursor: not-allowed !important;        /* not-allowed cursor */
    border-color: #1e293b !important;      /* darker/muted border */
}

/* Ensure font-awesome icon and images inside disabled buttons also display properly dimmed */
.game-details-pg-acdn-item button:disabled i,
button:disabled i {
    color: #64748b !important;
    opacity: 0.6 !important;
}
.game-details-pg-acdn-item button:disabled img,
button:disabled img {
    opacity: 0.6 !important;
}

/* Remove hover/focus highlight on disabled controls */
.game-details-pg-acdn-item select:disabled:hover,
.game-details-pg-acdn-item input:disabled:hover,
.game-details-pg-acdn-item button:disabled:hover,
.form-select:disabled:hover,
.form-control:disabled:hover {
    border-color: #1e293b !important;
    background-color: #0b1120 !important;
    box-shadow: none !important;
}

/* Disabled styling for checkbox switches (OverTime / PenaltyKick) */
.toggle-switch input:disabled + .slider {
    background-color: #0b1120 !important;
    border: 1px solid #1e293b !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}
.toggle-switch input:disabled:checked + .slider {
    background-color: #002d5b !important; /* dimmed blue active background */
}
.toggle-switch input:disabled + .slider:before {
    background-color: #475569 !important; /* muted white handle slot */
    cursor: not-allowed !important;
}

/* Disabled styling for camera toggle switch widget */
.formation-camera-angel-switch.toggle-container.disabled-toggle {
    background-color: #0b1120 !important;
    border: 1px solid #1e293b !important;
    opacity: 0.65 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}
.formation-camera-angel-switch.toggle-container.disabled-toggle .toggle-slider,
.formation-camera-angel-switch.toggle-container.disabled-toggle .toggle-text {
    cursor: not-allowed !important;
}
.formation-camera-angel-switch.toggle-container.disabled-toggle[data-state="left"] .toggle-slider,
.formation-camera-angel-switch.toggle-container.disabled-toggle[data-state="right"] .toggle-slider {
    background-color: #002d5b !important; /* dimmed blue active background */
}
.formation-camera-angel-switch.toggle-container.disabled-toggle[data-state="left"] #leftText,
.formation-camera-angel-switch.toggle-container.disabled-toggle[data-state="right"] #rightText {
    color: #475569 !important; /* dimmed/muted active side text */
}

/* Disabled available player chips and ground slots containers */
.disabled-container {
    opacity: 0.55 !important;
    pointer-events: none !important;
}
.disabled-container * {
    cursor: not-allowed !important;
}

.last-ovr-flw-tltp .custom-tooltip {
    left: unset;
    right: 0;
    transform: unset;
}

    .last-ovr-flw-tltp .custom-tooltip::after {
        left: unset;
        right: 14px;
    }

.rgtalighn-btn {
    display: flex;
}

/* ==== video height media start ====  */

@media screen and (min-width:1920px) and (max-width:3840px) {

    .game-video-container-box-main video {
        height: 50vh;
    }

    .game-clips-table-box .table-body-scroll {
        max-height: 44vh;
    }
}

/* ==== video height media end ====  */

.goal-stat-popup-select-opt-main .drk-slsct-opt-mn {
    position: relative;
}

.drk-slsct-opt-mn input {
    height: fit-content;
}

.form-control:focus {
    color: white;
    background-color: #0B1120;
    border-color: #1E293B;
    box-shadow: unset;
}

#ScheduledGameTable_wrapper {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #005DBF rgb(20, 27, 43);
}

/*==== select 2 design changes start ====*/

.select2-container {
    font-size: 12px;
    color: white;
    padding: 12px;
    background-color: #0B1120;
    border: 1px solid #1E293B;
    border-radius: 8px;
    width: 100%;
}

    .select2-container .select2-choice .select2-arrow {
        display: none;
    }

.select2-drop {
    background: #131D37;
    border: 1px solid #1E293B !important;
}

.select2-results .select2-result-label {color: white;}

.select2-search input {
    background: #0B1120;
    border: 1px solid #1E293B;
}

.team-btn-flex-row {
    width: 100%;
    display: flex;
    gap: 10px;
}

    .team-btn-flex-row .btn-mn-box-mn-tltps {
        width: fit-content;
        margin-bottom: 0px;
    }

    .team-btn-flex-row .change-team-footer-stats {
        width: 100%;
    }

.lazy-scroll-container {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #005DBF rgb(20, 27, 43);
}
.lazy-scroll-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.lazy-scroll-container::-webkit-scrollbar-track {
    background: rgb(20, 27, 43);
    border-radius: 8px;
}
.lazy-scroll-container::-webkit-scrollbar-thumb {
    background-color: #005DBF;
    border-radius: 8px;
}

.search-and-follow-row input {
    font-size: 14px;
    color: white;
    padding: 12px;
    background-color: rgb(11, 17, 32);
    border: 1px solid rgb(30, 41, 59);
    border-radius: 8px;
    width: 280px;
}

.player-assocation-left-panel-main .action-btn.btn-success {
    background-color: transparent;
    color: #198754 !important;
    font-size: 24px;
}

.player-assocation-left-panel-main .action-btn:hover {
    background-color: transparent;
}

.player-assocation-left-panel-main .action-btn.btn-warning {
    background-color: transparent;
    color: #ffc107 !important;
    font-size: 24px;
}

.player-assocation-left-panel-main .action-btn.btn-danger {
    background-color: transparent;
    color: #dc3545 !important;
    font-size: 24px;
}




