/* Navigation styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-with-bg {
    background-image: url('/static/img/smx-nav-bg2-crop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ensure the navbar text is visible against the background */
.navbar-with-bg .navbar-brand,
.navbar-with-bg .nav-link {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navigation styling */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.background-image-container .bg {
    background-image: url('/static/img/budds.svg');
    background-position: right;
    background-repeat: no-repeat;
    position: absolute;
    opacity: 0.3;
    height: 20%;
    width: 98%;
    z-index: -1;
}

.track-logo {
    padding: 5px;
    display: inline-block;
}

/* Body margins and background */
body {
    padding: 75px 10px 0; /* Adds space below navbar */
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 75% 25%;
    grid-gap: 10px;
    background: rgba(243, 208, 168, 0.3);
}

.container {
    width: 100%;
    box-sizing: border-box;
    /* padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.main-content {
    grid-column: 1 / 2; /* Occupy the first column (75%) */
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* width: 80%; */
}

/* Add this for the right column content */
.right-column {
    grid-column: 2 / 3; /* Occupy the second column (25%) */
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Page logo positioning */
.page-logo {
    position: fixed;
    top: 80px; /* Adjust based on navbar height */
    right: 15px;
    z-index: 1000;
}

.logo-image {
    width: 60px; /* Adjust size as needed */
    height: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.grand-total {
    font-size: 16px;
    margin-bottom: 20px;
}
.picks-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.picks-table th, .picks-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
    vertical-align: top;
}
.race-name {
    font-weight: bold;
    color: #2c3e50;
}
.section-title {
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 0px;
    color: #333;
}
.picks-row {
    cursor: pointer;
    background-color: #f5f5f5;
}
.picks-row:hover {
    background-color: #e8e8e8;
}
.details-row {
    display: none;
}
.details-row td {
             padding-left: 20px;
             border-top: none;
}

/* Main content positioning
.container {
    position: relative;
    padding-top: 120px;
} */

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive font sizing */
@media (max-width: 768px) {
    body {
        font-size: 10px;
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 12px;
    }

    .picks-table th,
    .picks-table td {
        font-size: 8px;
        padding: 2px;
    }

    .main-content img {
        max-width: 100%;
        height: auto;
    }

    .right-column img {
        max-width: 100%;
        height: auto;
    }

    .container {
        width: 100%;
    }
}
