:root {
    --page-bg-color: #white;
    --page-heading-color: #193e5b;
    --header-color: #e5e4e5;
    --panel-color: #1a3f5d;
    --panel-text: white;
    --logo-padding-left: 2%;
    --header-color: #e5e4e5;
}

body {
    margin: 0;
    background-color: var(--page-bg-color);
    font-family: Arial, sans-serif;
}

.logo-container {
    background-color: var(--header-color);
    padding-left: var(--logo-padding-left);
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    width: 65%;
    max-width: 300px;
}

.heading-panel {
    padding-left: var(--logo-padding-left);
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--page-heading-color);
}

>
/* CSS Variables */
:root {
    --panel-color: #e5e4e5; /* Collapsible header color */
    --panel-text: #333333; /* Header text color */
    --collapsed-bg: pink; /* Panel body color when collapsed */
    --panel-height: 200px; /* Collapsed panel height */
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
}

/* Collapsible Container */
.collapsible-container {
    width: 100%;
    margin: 5px auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    pointer-events: auto;
}

/* Header */
.collapsible-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--panel-color);
    color: var(--panel-text);
    padding: 10px 15px;
    cursor: pointer;
    user-select: none;
}

/* Left square with logo */
.header-left {
    display: flex;
    align-items: center;
}

.header-square {
    width: 40px;
    height: 40px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

    .header-square img {
        max-width: 100%;
        max-height: 100%;
    }

/* Text next to square */
.header-text {
    font-weight: bold;
    font-size: 1rem;
}

/* Arrow */
.arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.collapsible-header.active .arrow {
    transform: rotate(180deg); /* rotate arrow when expanded/collapsed */
}

/* Collapsible Panel Body */
.collapsible-body {
    background-color: var(--collapsed-bg);
    transition: max-height 0.3s ease;
    overflow: hidden;
}

    .collapsible-body.expanded {
        height: auto;
        padding: 5px;
    }

/* Responsive adjustments */
@media(max-width: 768px) {
    .header-text {
        font-size: 0.9rem;
    }

    .header-square {
        width: 35px;
        height: 35px;
    }
    .grid-image {
        width: 48%; /* mobile default width */
        height: auto;
        cursor: pointer;
        transition: border 0.3s ease;
        margin: 1%;
    }
}

@media(min-width: 768px) {
    .logo {
        width: 24%;
    }
    .heading-panel {
        font-size: 1.5rem;
    }
    .image-grid {
        padding-left: 0%;
        padding-right: 0%;
        justify-content: flex-start;
        margin-bottom: 5px;
        gap: 5px;
    }

    .grid-image {
        width: 24%;
        margin: .5%;
    }
}

.image-grid {
    justify-content: flex-start;
    flex-wrap: wrap;
    justify-content: space-between;
    object-fit: cover;
    object-position: center;
    gap: 5px;
}



.grid-image:hover,
.grid-image:active {
    border: 5px solid var(--header-color); 
}






.footer-root {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

/* Shared container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px; /* +25% padding (was 16px) */
    text-align: center;
}

/* Top section (grey) */
.footer-top {
    background-color: #e5e4e5;
}

.footer-logo {
    height: 50px; /* +25% size (was 40px) */
    max-width: 100%;
}

/* Middle section (white) */
.footer-main {
    background-color: #ffffff;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* +25% spacing */
}

    .footer-links a {
        color: #000000;
        text-decoration: none;
        font-weight: 600;
    }

        .footer-links a:hover {
            color: #ce9e36;
        }

/* Bottom section (gold) */
.footer-bottom {
    background-color: #ce9e36;
}

    .footer-bottom p {
        margin: 0;
        font-size: 14px;
        color: #ffffff;
        font-weight: 500;
    }

/* Responsive */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo {
        height: 60px;
        margin-top: 50px;
        margin-bottom: 50px;
        margin-right: 10px;
    }
}



.privacy-root {
    background-color: #e5e4e5;
    font-family: Arial, Helvetica, sans-serif;
}

.privacy-content {
    background-color: #ffffff;
    margin: 0px auto;
    padding: 32px;
}

/* Gold heading inside document */
.privacy-title {
    background-color: #ce9e36;
    color: white;
    text-align: center;
    padding: 24px 16px;
    margin-bottom: 32px;
}

    .privacy-title h1 {
        margin: 0;
        font-size: 32px;
    }

    .privacy-title p {
        margin-top: 8px;
        font-size: 20px;
    }

.privacy-content section {
    margin-bottom: 32px;
    text-align: center;
    list-style-position: inside;
}

.privacy-content h2 {
    color: #ce9e36;
    margin-bottom: 12px;
    font-size: 22px;
}

.privacy-content p {
    line-height: 1.6;
    color: #333333;
}

.privacy-content ul {
    padding-left: 20px;
    margin-top: 12px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .privacy-title h1 {
        font-size: 26px;
    }

    .privacy-content {
        padding: 20px;
        margin: 20px 8px;
    }

    .privacy-content h2 {
        font-size: 20px;
    }
}

.left-image {
    width: 70vw;
    margin-top: 2vw;
    height:auto;
}


.bookmakers-box {
    width: 24vw;
    margin-right: 2vw;
    margin-top: 2vw;
    padding: 2%;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
    float: right; /* aligns the box to the right */
    
}

.bookmakers-heading {
    text-align: center;
    color: #000;
    border-bottom: 3px solid #cd9e36; /* gold color */
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.bookmaker-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    margin-left:1.5vw;
}

.bookmaker-row img {
    width: 105px;
    height: 44px;
    object-fit: contain;
    margin-right: 10px;
}

.odds {
    width: 44px;
    height: 44px;
    border: 1px solid #aaa;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-weight: bold;
}

.odds-selected {
    width: 44px;
    height: 44px;
    border: 1px solid #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
    font-weight: bold;
    background-color: var(--page-heading-color);
    color: white;
}

.match-detail-image-wrapper {
    width: 74vw;
    padding-right: 2vw;
    padding-left: 2vw;

}

.match-detail-layout {
    display: flex;
    align-items: flex-start;
}

.matches-box {
    width: 24vw;
    font-size: 12px;
}

.matches-header {
    height: 20px;
    background-color: #e0e0e0;
    color: #666;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding-left: 6px;
}

.match-row {
    display: grid;
    grid-template-columns: 70px 90px 1fr 30px 30px;
    align-items: center;
    padding: 6px;
    border-bottom: 1px solid #ddd;
}

.verdict-row {
    border-bottom: 1px solid #ddd;
    align-items: center;
    padding: 2%;
}

.teams div {
    display: flex;
    align-items: center;
    font-size: 11px;
}

.teams img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.score {
    text-align: center;
    line-height: 1.2;
}

.result {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.result.draw {
    background-color: orange;
}

.result.win {
    background-color: green;
}

.result.loss {
    background-color: red;
}

/* =========================
   MOBILE LAYOUT FIXES
   ========================= */
@media (max-width: 768px) {

    /* Main layout stacks vertically */
    .match-detail-layout {
        flex-direction: column;
        align-items: center;
    }

    /* Stadium image */
    .left-image {
        width: 96vw;
        margin-top: 2vw;
        height: auto;
        margin-left: 0%;
        margin-bottom: 0%;
    }


    /* Individual match boxes */
    .matches-box {
        width: 90vw;
        margin: 0%;
        margin-bottom: 0%;
    }

    /* Header fills width */
    .matches-header {
        width: 100%;
    }

    /* Bookmakers box */
    .bookmakers-box {
        width: 96vw;
        margin-left: 2vw;
        margin-right: 2vw;
        margin-top: 0vw;
        margin-bottom: 2vw;
        float: none; /* VERY important to disable desktop float */
        padding-bottom: 8vw;
    }

    /* Bookmaker rows align cleanly */
    .bookmaker-row {
        margin-left: 0;
        justify-content: center;
    }

    /* Odds spacing tweak for small screens */
    .odds {
        width: 44px;
        height: 44px;
        font-size: 13px;
        margin-left: 2%;
    }

    .odds-selected {
        width: 44px;
        height: 44px;
        font-size: 13px;
        margin-left: 2%;
        background-color: var(--page-heading-color);
        color: white;
    }

    .bookmakers-heading {
        margin-bottom: 30px;
        margin-top: 20px;
    }
}

/* Container for all pairs */
.matches-verdict-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .5vw; /* small gap between horizontal pairs */
    margin-bottom:2vw;
}

/* Desktop: align matches-box and verdict-box vertically within pair */
.matches-box,
.verdict-box {
    width: 23vw; /* fill pair width */
    margin-top: 2vw;
    border: 1px solid #ccc;
}

/* Burnley icon size in verdict header */
.verdict-team img {
    width: 32px;
    height: 32px;
}

.verdict-header.verdict-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* prevents wrapping */
    background-color: #e0e0e0;
    color: #666;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 2%;
    font-size: 12px;
}



/* Mobile adjustments */
@media (max-width: 768px) {
    .matches-verdict-section {
        flex-direction: column;
        gap: 0;
    }

    .match-verdict-pair {
        width: 96vw; 
        flex-direction: column;
    }

    .matches-box,
    .verdict-box {
        width: 100%; 
    }

    .match-detail-image-wrapper {
        width: 100vw;
    }
}

p {
    margin-top: 0 !important;
    margin-bottom: 0rem !important;
    font-size: 12px !important;
}








