/* =========================================
   FOXBET - BET SLIP
========================================= */

.bet-slip-page {
    min-height: 100vh;
    background: var(--bg, #071a2b);
    padding-bottom: 82px;
}


/* =========================================
   HEADER
========================================= */

.bet-slip-page .top-header {
    position: sticky;
    top: 0;
    z-index: 50;
}


/* =========================================
   CONTENT
========================================= */

.bet-slip-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 16px 12px 30px;
}


/* =========================================
   TITLE
========================================= */

.bet-slip-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.bet-slip-title {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.bet-slip-subtitle {
    margin: 5px 0 0;
    color: #7891a2;
    font-size: 11px;
    line-height: 1.4;
}

.clear-slip-btn {
    min-width: 58px;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #21455d;
    border-radius: 3px;
    background: #0b2236;
    color: #8ea5b5;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.clear-slip-btn:hover {
    border-color: #35c759;
    color: #35c759;
}

.clear-slip-btn:active {
    transform: scale(.97);
}


/* =========================================
   TABS
========================================= */

.bet-slip-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    padding: 3px;
    margin-bottom: 10px;
    background: #061725;
    border: 1px solid #173a51;
    border-radius: 4px;
}

.bet-slip-tab {
    height: 36px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #7891a2;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.bet-slip-tab:hover {
    color: #ffffff;
}

.bet-slip-tab.active {
    background: #12334c;
    color: #35c759;
}


/* =========================================
   PANELS
========================================= */

.bet-slip-panel {
    display: none;
}

.bet-slip-panel.active {
    display: block;
}


/* =========================================
   SELECTION CONTAINER
========================================= */

.bet-selection-container {
    display: grid;
    gap: 8px;
}


/* =========================================
   BET SELECTION CARD
========================================= */

.bet-selection-card {
    position: relative;
    overflow: hidden;
    padding: 12px;
    background: #0d2940;
    border: 1px solid #1a4059;
    border-radius: 4px;
}

.bet-selection-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #35c759;
}

.bet-selection-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-left: 5px;
    margin-bottom: 10px;
}

.bet-selection-league {
    min-width: 0;
}

.bet-selection-league-name {
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bet-selection-league-country {
    margin-top: 3px;
    color: #6e8798;
    font-size: 9px;
}

.remove-selection-btn {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #284b60;
    border-radius: 3px;
    background: #092035;
    color: #7891a2;
    cursor: pointer;
    transition: .15s ease;
}

.remove-selection-btn svg {
    width: 13px;
    height: 13px;
}

.remove-selection-btn:hover {
    border-color: #d95757;
    color: #ff6b6b;
    background: #241b22;
}


/* =========================================
   MATCH INFORMATION
========================================= */

.bet-selection-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    background: #092136;
    border: 1px solid #163c54;
    border-radius: 3px;
}

.bet-selection-team {
    min-width: 0;
}

.bet-selection-team.home {
    text-align: left;
}

.bet-selection-team.away {
    text-align: right;
}

.bet-selection-team-name {
    overflow: hidden;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
}

.bet-selection-vs {
    color: #587386;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.bet-selection-date {
    margin-top: 5px;
    color: #688193;
    font-size: 9px;
    text-align: center;
}


/* =========================================
   MARKET / ODDS
========================================= */

.bet-selection-market {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 9px 10px;
    background: #102f46;
    border: 1px solid #1b465f;
    border-radius: 3px;
}

.bet-selection-market-label {
    color: #8ba0af;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.bet-selection-pick {
    margin-top: 3px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.bet-selection-odd {
    min-width: 54px;
    padding: 7px 8px;
    border-radius: 3px;
    background: #35c759;
    color: #06131e;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}


/* =========================================
   EMPTY STATE
========================================= */

.empty-bet-slip {
    padding: 42px 18px;
    text-align: center;
    background: #0b2236;
    border: 1px solid #183c54;
    border-radius: 4px;
}

.empty-slip-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 1px solid #20475e;
    border-radius: 4px;
    background: #092035;
    color: #55758a;
}

.empty-slip-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.empty-slip-text {
    max-width: 310px;
    margin: 7px auto 18px;
    color: #71899a;
    font-size: 10px;
    line-height: 1.6;
}

.browse-football-btn {
    min-width: 150px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 3px;
    background: #35c759;
    color: #06131e;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    transition: .15s ease;
}

.browse-football-btn:hover {
    background: #45d869;
}

.browse-football-btn:active {
    transform: scale(.98);
}


/* =========================================
   SUMMARY
========================================= */

.bet-summary {
    margin-top: 9px;
    padding: 11px 12px;
    background: #0b2236;
    border: 1px solid #183c54;
    border-radius: 4px;
}

.summary-row {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #17384e;
    color: #8399a9;
    font-size: 10px;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
}

.summary-row:nth-child(3) strong {
    color: #35c759;
}


/* =========================================
   STAKE INPUT
========================================= */

.stake-input-wrap {
    width: 130px;
    height: 30px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid #24495f;
    border-radius: 3px;
    background: #071a2b;
}

.stake-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.stake-input-wrap input::placeholder {
    color: #526b7c;
}

.stake-input-wrap span {
    flex: 0 0 auto;
    color: #688294;
    font-size: 8px;
    font-weight: 800;
}


/* =========================================
   DEMO NOTICE
========================================= */

.demo-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 9px;
    padding: 10px 11px;
    background: #092136;
    border: 1px solid #1a4059;
    border-radius: 3px;
    color: #7891a2;
    font-size: 9px;
    line-height: 1.4;
}

.demo-notice-icon {
    flex: 0 0 auto;
    display: flex;
    color: #35c759;
}


/* =========================================
   DEMO PLACE BUTTON
========================================= */

.demo-place-btn {
    width: 100%;
    height: 42px;
    margin-top: 9px;
    border: 0;
    border-radius: 3px;
    background: #35c759;
    color: #06131e;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: .15s ease;
}

.demo-place-btn:hover {
    background: #45d869;
}

.demo-place-btn:active {
    transform: scale(.99);
}


/* =========================================
   OPEN BETS
========================================= */

.open-bets-card {
    padding: 42px 18px;
    text-align: center;
    background: #0b2236;
    border: 1px solid #183c54;
    border-radius: 4px;
}

.open-bets-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    border: 1px solid #20475e;
    border-radius: 4px;
    background: #092035;
    color: #55758a;
}

.open-bets-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
}

.open-bets-text {
    max-width: 300px;
    margin: 7px auto 0;
    color: #71899a;
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================
   MESSAGE
========================================= */

.bet-slip-message {
    position: fixed;
    left: 50%;
    bottom: 78px;
    z-index: 100;
    width: calc(100% - 30px);
    max-width: 360px;
    padding: 10px 13px;
    transform: translateX(-50%);
    border: 1px solid #2d6940;
    border-radius: 3px;
    background: #0b2a1a;
    color: #7ce995;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}


/* =========================================
   LOADING
========================================= */

.bet-slip-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 130px;
    color: #71899a;
    font-size: 10px;
}


/* =========================================
   DESKTOP
========================================= */

@media (min-width: 768px) {

    .bet-slip-page {
        padding-left: 74px;
        padding-bottom: 30px;
    }

    .bet-slip-content {
        max-width: 820px;
        padding: 24px 20px 40px;
    }

    .bet-slip-title {
        font-size: 22px;
    }

    .bet-slip-subtitle {
        font-size: 12px;
    }

    .bet-slip-tabs {
        max-width: 420px;
    }

    .empty-bet-slip {
        padding: 60px 20px;
    }

    .open-bets-card {
        padding: 60px 20px;
    }

    .bet-slip-message {
        bottom: 25px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 360px) {

    .bet-slip-content {
        padding-left: 9px;
        padding-right: 9px;
    }

    .bet-slip-title {
        font-size: 18px;
    }

    .bet-selection-card {
        padding: 10px;
    }

    .bet-selection-match {
        gap: 5px;
        padding: 8px 6px;
    }

    .bet-selection-team-name {
        font-size: 10px;
    }

    .stake-input-wrap {
        width: 112px;
    }
}