
/* TIP1X2_PREDICTIONS_OCEAN_V2 */

/* THEME */
:root {
    --t1po-dark: #052e38;
    --t1po-teal: #008c96;
    --t1po-hover: #006e79;
    --t1po-navy: #082f49;
    --t1po-soft: #eaf7f5;
    --t1po-border: #d9e9e7;
    --t1po-muted: #67848b;
}

/* PAGE BACKGROUND */

body:has(.t1-pred-layout) {
    background: #f8fbfb;
}

body:has(.t1-pred-layout) .t1-pred-hero,
body:has(.t1-pred-layout) .t1-pred-layout {
    box-sizing: border-box;
}

/* HERO */

.t1-pred-hero {
    background:
        radial-gradient(
            circle at 90% 12%,
            rgba(32, 207, 196, .18),
            transparent 42%
        ),
        linear-gradient(
            120deg,
            #052e38 0%,
            #064c55 65%,
            #007d85 100%
        ) !important;

    color: #fff !important;
    border: 1px solid rgba(0, 140, 150, .12) !important;
    border-radius: 13px !important;
    padding: 22px 26px !important;
    min-height: 0 !important;
    box-shadow: none !important;
    margin-bottom: 15px !important;
}

.t1-pred-hero h1 {
    color: #fff !important;
    font-size: clamp(23px, 2.4vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.025em !important;
    margin: 8px 0 !important;
}

.t1-pred-hero p {
    color: #d0ece9 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}

.t1-pred-hero > span,
.t1-pred-hero small {
    color: #8de6de !important;
}

/* MAIN THREE COLUMN LAYOUT */

.t1-pred-layout {
    display: grid !important;
    grid-template-columns:
        minmax(175px, 195px)
        minmax(0, 1fr)
        minmax(190px, 215px) !important;
    gap: 14px !important;
    align-items: start !important;
    min-width: 0;
    margin-bottom: 35px;
}

.t1-pred-layout > * {
    min-width: 0;
}

.t1-pred-main {
    min-width: 0;
}

/* GENERAL PANELS */

.t1-pred-panel {
    background: #fff !important;
    border: 1px solid var(--t1po-border) !important;
    border-radius: 11px !important;
    box-shadow: 0 3px 12px rgba(5, 46, 56, .025) !important;
    color: var(--t1po-navy) !important;
    overflow: hidden;
}

.t1-pred-panel h2,
.t1-pred-panel h3 {
    color: var(--t1po-navy) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

/* LEFT NAVIGATION */

.t1-pred-nav {
    display: flex;
    flex-direction: column;
}

.t1-pred-nav a {
    display: flex;
    align-items: center;
    min-height: 35px;
    padding: 9px 12px !important;
    color: #264750 !important;
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: 600;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.t1-pred-nav a:hover {
    background: var(--t1po-soft) !important;
    color: var(--t1po-hover) !important;
}

.t1-pred-nav a[aria-current="page"],
.t1-pred-nav a.active,
.t1-pred-nav a.is-active {
    background: #e1f6f3 !important;
    color: #00747d !important;
    font-weight: 800 !important;
}

/* DATE TOOLBAR */

.t1-pred-toolbar {
    padding: 13px 15px !important;
    min-height: 0 !important;
    gap: 10px !important;
}

.t1-pred-toolbar strong {
    color: var(--t1po-navy) !important;
    font-size: 13px !important;
}

.t1-pred-toolbar small,
.t1-pred-toolbar p {
    color: var(--t1po-muted) !important;
    font-size: 10px !important;
}

.t1-pred-toolbar input,
.t1-pred-toolbar select {
    border: 1px solid #cbdeda !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--t1po-navy) !important;
    font-size: 11px !important;
    min-height: 33px;
    max-width: 100%;
}

.t1-pred-toolbar input:focus,
.t1-pred-toolbar select:focus {
    outline: 2px solid rgba(0,140,150,.2);
    border-color: var(--t1po-teal) !important;
}

/* DATE BUTTONS */

.t1-pred-toolbar button,
.t1-pred-toolbar .btn {
    background: var(--t1po-soft) !important;
    color: #00747d !important;
    border: 1px solid #bcded9 !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    min-height: 33px;
    cursor: pointer;
}

.t1-pred-toolbar button:hover,
.t1-pred-toolbar .btn:hover {
    background: #d8f3ee !important;
    border-color: #008c96 !important;
}

/* MARKET FILTERS */

.t1-pred-market-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px !important;
    margin: 12px 0 !important;
}

.t1-pred-market-bar a,
.t1-pred-market-bar button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #eaf7f5 !important;
    color: #007780 !important;
    border: 1px solid #d4eeea !important;
    border-radius: 7px !important;
    padding: 8px 11px !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    text-decoration: none !important;
    line-height: 1.3;
}

.t1-pred-market-bar a:hover,
.t1-pred-market-bar button:hover {
    background: #d1f1ec !important;
    border-color: #90d8d0 !important;
}

.t1-pred-market-bar .active,
.t1-pred-market-bar .is-active,
.t1-pred-market-bar [aria-current="page"] {
    background: #008c96 !important;
    border-color: #008c96 !important;
    color: white !important;
}

/* LEAGUE GROUPS */

.t1-pred-fixtures {
    display: flex;
    flex-direction: column;
    gap: 12px !important;
}

.t1-pred-league {
    overflow: hidden;
    border: 1px solid var(--t1po-border) !important;
    border-radius: 11px !important;
    background: white !important;
    box-shadow: none !important;
}

.t1-pred-league-header {
    background: #f1faf8 !important;
    border-bottom: 1px solid #dcebe8 !important;
    padding: 10px 13px !important;
    min-height: 0 !important;
    color: #113c45 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.t1-pred-league-header img {
    width: 21px !important;
    height: 21px !important;
    object-fit: contain;
}

.t1-pred-league-header small,
.t1-pred-league-header span {
    font-size: 10px;
}

/* MATCH ROWS */

.t1-pred-match {
    padding: 10px 12px !important;
    min-height: 65px !important;
    gap: 10px !important;
    background: #fff !important;
    border-bottom: 1px solid #edf3f2 !important;
    color: #183d48 !important;
}

.t1-pred-match:last-child {
    border-bottom: 0 !important;
}

.t1-pred-match:hover {
    background: #f5fbfa !important;
}

.t1-pred-match img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
}

.t1-pred-teams {
    min-width: 0;
    gap: 4px !important;
}

.t1-pred-teams strong,
.t1-pred-teams a {
    color: #123644 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.t1-pred-teams span,
.t1-pred-match time,
.t1-pred-match small {
    font-size: 10px !important;
}

.t1-pred-result {
    color: #007e86 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

/* ANALYSIS BUTTON */

.t1-pred-details {
    background: #008c96 !important;
    border: 1px solid #008c96 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 9px 12px !important;
    white-space: nowrap;
    box-shadow: none !important;
    transition: background .15s;
}

.t1-pred-details:hover {
    background: #006c75 !important;
    border-color: #006c75 !important;
    color: #fff !important;
}

/* RIGHT SIDEBAR */

.t1-pred-side {
    min-width: 0;
}

.t1-pred-side .t1-pred-panel {
    margin-bottom: 12px;
}

.t1-pred-side-content {
    color: #587980 !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
}

.t1-pred-side-content strong {
    color: #007e86 !important;
    font-size: 11px !important;
}

.t1-pred-side-content p {
    color: #6d8990 !important;
    font-size: 10px !important;
    line-height: 1.6 !important;
}

/* EMPTY STATE */

.t1-pred-empty {
    text-align: center;
    padding: 25px !important;
    color: #68868c !important;
    font-size: 12px !important;
}

/* PAGINATION */

.t1-pred-pagination {
    margin-top: 19px !important;
    overflow-x: auto;
}

.t1-pred-pagination a,
.t1-pred-pagination button {
    color: #007d85 !important;
    border-color: #c9e3df !important;
}

.t1-pred-pagination a:hover {
    background: #eaf7f5 !important;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .t1-pred-layout {
        grid-template-columns:
            minmax(155px, 180px)
            minmax(0, 1fr) !important;
    }

    .t1-pred-layout > .t1-pred-side:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .t1-pred-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .t1-pred-layout > * {
        width: 100%;
        min-width: 0;
    }

    .t1-pred-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 6px;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .t1-pred-nav a {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .t1-pred-toolbar {
        flex-wrap: wrap;
    }

    .t1-pred-market-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .t1-pred-market-bar a,
    .t1-pred-market-bar button {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .t1-pred-hero {
        padding: 18px 15px !important;
    }

    .t1-pred-hero h1 {
        font-size: 23px !important;
    }

    .t1-pred-match {
        padding: 9px !important;
        gap: 7px !important;
    }

    .t1-pred-details {
        padding: 8px !important;
        font-size: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t1-pred-details,
    .t1-pred-nav a {
        transition: none !important;
    }
}
