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

.obts-tipster-header{
    text-align:center;
    margin:40px 0;
}

.obts-tipster-header h2{
    font-size:38px;
    font-weight:700;
    color:#0f172a;
}

/* ==========================================
   SIDEBAR
========================================== */

.obts-sidebar-box{
    background:#081225;
    border:1px solid #13213d;
    border-radius:14px;
    padding:25px;
    color:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    margin-bottom:30px;
}

.obts-sidebar-title{
    display:block;
    font-size:24px;
    font-weight:700;
    color:#fff;
    margin-bottom:20px;
    padding-bottom:15px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.obts-sidebar-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.obts-sidebar-row:last-child{
    border-bottom:none;
}

.obts-sidebar-row span{
    color:#94a3b8;
    font-size:14px;
    font-weight:500;
}

.obts-sidebar-row strong{
    color:#fff;
    font-size:16px;
    font-weight:700;
}

/* ==========================================
   STATS
========================================== */

.obts-stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:40px 0;
}

.obts-stats-grid > div{
    background:#081225;
    border:1px solid #13213d;
    border-radius:14px;
    padding:25px;
    text-align:center;
    color:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
    transition:.25s;
}

.obts-stats-grid > div:hover{
    transform:translateY(-4px);
}

.obts-stats-grid strong{
    display:block;
    color:#8ea4c9;
    font-size:12px;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.obts-stats-grid span{
    display:block;
    font-size:22px;
    font-weight:800;
    color:#ffffff;
    margin-top:10px;
}

/* ==========================================
   FILTERS
========================================== */

.obts-filters{
    margin-bottom:25px;
}

.obts-filters form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}

.obts-filters form select{

    width:160px;
    min-width:160px;
    height:42px;

    background:#081225;
    color:#fff;

    border:1px solid #13213d;
    border-radius:8px;

    padding:0 12px;
}

.obts-filters form input[type="date"]{

    width:130px;
    min-width:130px;
    height:42px;

    border:1px solid #13213d;
    border-radius:8px;

    padding:0 10px;
}

.obts-filters form button{

    height:42px;

    background:#0f1d38;
    color:#fff;

    border:1px solid #13213d;
    border-radius:8px;

    padding:0 18px;

    cursor:pointer;
    font-weight:600;
    white-space:nowrap;
}

.obts-filters form button:hover{
    background:#15284d;
}

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

@media(max-width:768px){

    .obts-filters form{
        flex-wrap:wrap;
    }

    .obts-filters form select,
    .obts-filters form input[type="date"],
    .obts-filters form button{
        width:100%;
        max-width:none;
    }

    .obts-table-scroll{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
    }

    .obts-table-scroll table{
        min-width:1000px;
    }

}

/* ==========================================
   PROFIT COLORS
========================================== */

.obts-profit-positive{
    color:#22c55e !important;
    font-weight:700 !important;
}

.obts-profit-negative{
    color:#ef4444 !important;
    font-weight:700 !important;
}
/* ==========================================
   STATUS
========================================== */

.obts-status-won{
    background:#22c55e;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.obts-status-lost{
    background:#ef4444;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.obts-status-pending{
    background:#f59e0b;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

.obts-status-void{
    background:#64748b;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    font-weight:700;
}

/* ==========================================
   RESET BUTTON
========================================== */

.obts-reset-wrap{
    margin-top:12px;
}

.obts-reset-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:42px;
    padding:0 18px;

    background:#081225;
    color:#fff !important;

    text-decoration:none;
    border-radius:8px;
    border:1px solid #475569;

    font-weight:600;

}

/* ==========================================
   RANKING TABLE
========================================== */

.obts-ranking-wrapper{
    margin:40px 0;
    overflow-x:auto;
}

.obts-ranking-table{
    width:100% !important;
    min-width:0 !important;
    table-layout:auto;

    border-collapse:separate !important;
    border-spacing:0 !important;

    background:#081225 !important;
    color:#fff !important;

    border-radius:14px !important;
    overflow:hidden !important;
}

.obts-ranking-table thead tr{
    background:#0f1d38 !important;
}

.obts-ranking-table thead th{
    background:#0f1d38 !important;
    color:#fff !important;

    padding:14px !important;

    text-transform:uppercase !important;
    font-size:13px !important;
    letter-spacing:1px !important;

    border:none !important;

    text-align:center !important;
    white-space:nowrap !important;
}

.obts-ranking-table tbody td{
    background:#081225 !important;

    color:#fff !important;

    padding:14px !important;

    border-top:1px solid #13213d !important;

    text-align:center !important;
    white-space:nowrap !important;
    vertical-align:middle !important;
}

.obts-ranking-table tbody tr:hover td{
    background:#0d1830 !important;
}

.obts-ranking-table tbody tr:first-child td{
    border-top:none !important;
}

.obts-ranking-link{
    color:#fff !important;
    text-decoration:none !important;
    font-weight:700 !important;
}

.obts-ranking-link:hover{
    color:#22c55e !important;
}

.obts-ranking-table td:first-child{
    text-align:center !important;
    width:60px;
}

.obts-ranking-table td:nth-child(2){
    font-weight:700;
    text-align:center !important;
}

/* ==========================================
   TABLE
========================================== */

.obts-predictions-table{
    margin-top:40px;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

.obts-table-scroll{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
    box-sizing:border-box;
}

.obts-table-scroll table{
    width:100%;
    max-width:100%;
    min-width:0;

    border-collapse:separate;
    border-spacing:0;

    border-radius:14px;
    overflow:hidden;

    background:#081225;
    color:#fff;

    table-layout:fixed;
}

.obts-table-scroll thead th{
    background:#0f1d38;
    color:#fff;
    padding:14px 10px;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:1px;
    border:none;
    white-space:nowrap;
}

.obts-table-scroll tbody td{
    padding:14px 10px;
    border-top:1px solid #13213d;
    color:#fff;
    vertical-align:middle;
    overflow-wrap:anywhere;
}

/* Desktop column balance: keeps the full table inside its content area. */
.obts-table-scroll th:nth-child(1),
.obts-table-scroll td:nth-child(1){ width:10%; }
.obts-table-scroll th:nth-child(2),
.obts-table-scroll td:nth-child(2){ width:11%; }
.obts-table-scroll th:nth-child(3),
.obts-table-scroll td:nth-child(3){ width:24%; }
.obts-table-scroll th:nth-child(4),
.obts-table-scroll td:nth-child(4){ width:16%; }
.obts-table-scroll th:nth-child(5),
.obts-table-scroll td:nth-child(5){ width:8%; }
.obts-table-scroll th:nth-child(6),
.obts-table-scroll td:nth-child(6){ width:9%; }
.obts-table-scroll th:nth-child(7),
.obts-table-scroll td:nth-child(7){ width:12%; }
.obts-table-scroll th:nth-child(8),
.obts-table-scroll td:nth-child(8){ width:10%; }

.obts-table-scroll tbody tr:hover{
    background:#0d1830;
}

/* ==========================================
   PAGINATION
========================================== */

.obts-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex-wrap:wrap;
    margin:14px 0 4px;
}

.obts-pagination a,
.obts-pagination .obts-page-ellipsis{
    min-width:34px;
    height:34px;
    padding:0 9px;
    box-sizing:border-box;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    font-size:14px;
    font-weight:600;
    line-height:1;
}

.obts-pagination a{
    background:#0f1d38;
    color:#fff !important;
    text-decoration:none !important;
    border:1px solid #13213d;
}

.obts-pagination a:hover,
.obts-pagination a.active{
    background:#15284d;
    border-color:#29446f;
}

.obts-pagination a.active{
    font-weight:800;
}

.obts-pagination .obts-page-ellipsis{
    min-width:20px;
    padding:0 2px;
    color:#94a3b8;
}

.obts-pagination .obts-page-nav{
    font-size:24px;
    font-weight:400;
}

/* ==========================================
   MOBILE TABLE SCROLL
========================================== */

@media(max-width:768px){

    .obts-table-scroll{
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
    }

    .obts-table-scroll table{
        min-width:1000px;
        width:1000px;
        max-width:none;
        table-layout:auto;
    }

}