@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&family=Montserrat:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');


:root {
    --gold-outline: #AD8900;
    --green-background: #046240;
    --admin-blue: #0C4B8E;
    --admin-link: #417690;
}

body {
    
    /* Font Option 1: Montserrat (current) */
    /* font-family: 'Montserrat', 'Oswald', Arial, sans-serif; */
    
    /* Font Option 2: Roboto */
    /* font-family: 'Roboto', Arial, sans-serif; */
    
    /* Font Option 3: Lato */
    /* font-family: 'Lato', Arial, sans-serif; */
    
    /* Font Option 4: Raleway */
    /* font-family: 'Raleway', Arial, sans-serif; */
    
    /* Font Option 5: Poppins */
    font-family: 'Poppins', Arial, sans-serif;
   
    background-color: var(--green-background) !important;
}

.btn-gold {
    background-color: var(--gold-outline) !important;
    color: #fff !important;
    border: none !important;
}

.btn-green {
    background-color: var(--green-background) !important;
    color: #fff !important;
    border: none !important;
}

.btn-green:hover,
.btn-green:focus {
    background-color: #045738 !important;
    color: #fff !important;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: #8c6e00 !important;
    color: #fff !important;
}

.btn-outline-gold {
    color: var(--gold-outline) !important;
    border: 2px solid var(--gold-outline) !important;
    background: transparent !important;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background-color: var(--gold-outline) !important;
    color: #fff !important;
}

.btn-admin {
    background-color: var(--admin-blue) !important;
    color: #fff !important;
    border: none !important;
}

.btn-admin:hover,
.btn-admin:focus {
    background-color: #09386a !important;
    color: #fff !important;
}

.border-gold {
    border-color: var(--gold-outline) !important;
}

.bg-gold {
    background-color: var(--gold-outline) !important;
    color: #fff !important;
}

.bg-green {
    background-color: var(--green-background) !important;
    color: #fff !important;
}

.bg-light-green {
    background-color: #009e57 !important;
    /* lighter than #046240 */
    color: #fff !important;
}

.card-header {
    background: linear-gradient(120deg, #1b3a2b 60%, #3f8047 100%) !important;
    color: #fff !important;
    border-bottom: 2px solid #AD8900 !important;
}

.navbar,
.modal-header {
    /* border-bottom: 2px solid var(--gold-outline) !important; */
    border-bottom: none !important;
}

.card,
.modal-content {
    /* border: 2px solid var(--gold-outline) !important; */
    border: none !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.card-body,
.table {
    border-bottom-left-radius: 1.25rem !important;
    border-bottom-right-radius: 1.25rem !important;
}

.navbar-brand,
.nav-link {
    color: var(--green-background) !important;
}

.nav-link.active {
    color: var(--gold-outline) !important;
    outline: solid 2px var(--gold-outline) !important;
    font-weight: bolder !important;
}

.table-success {
    background-color: #e6f7e6 !important;
}

.nav-link.active.bg-green {
    background-color: var(--green-background) !important;
    color: #fff !important;
}

.nav-link.text-success {
    color: var(--green-background) !important;
}

.admin-link {
    color: var(--admin-link) !important;
}

.nav-link,
.nav-item .nav-link,
.btn.btn-gold {
    border-radius: 0.5rem !important;
}

.navbar-nav .nav-item {
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.97);
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
        padding: 1rem 0.5rem 0.5rem 0.5rem;
    }

    .navbar-nav .nav-link,
    .navbar-nav .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
        font-size: 1.15rem;
        border-radius: 0.75rem !important;
        padding: 0.75rem 0.5rem;
    }

    .navbar-nav .btn-gold {
        font-weight: 600;
        font-size: 1.18rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 800px) {
  .main-bg {
    background-color: transparent !important;
  }
}

.biggame-hero {
    background-image: url('/static/imgs/BHGC_BG.png'); /* Example path, adjust as needed */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment:local;
    background-position-x: center;
    background-position-y: 40%;
    color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.10);
    padding: 1.1rem 1.1rem 0.8rem 1.1rem;
    margin-bottom: 1.1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 250px;
}

.biggame-hero .hero-badge {
    background: rgba(255, 255, 255, 0.308);
    color: #fff;
    border-radius: 1rem;
    padding: 0.25rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    text-align: center;
}

.biggame-hero .hero-badge:hover {
    background: #fff5;
    color: #ffe066;
}

.biggame-hero .center-content {
    position: absolute;
    left: 50%;

    transform: translateX(-50%) translateY(-50%);
    top: 50%;
    z-index: 1;
}

.biggame-hero img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 2px 8px #0002);
    z-index: 2;
}

.biggame-hero h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
    z-index: 2;
}

.biggame-hero p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.biggame-hero>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.biggame-hero .hero-bg-gold {
    position: absolute;
    right: -30px;
    bottom: -30px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, #AD8900 0%, #c3d9dd 80%);
    opacity: 0.18;
    border-radius: 50%;
    z-index: 0;
}

.biggame-hero .player-handicap {
    background: #28d3806b;
    color: #fff;
    border-radius: 1rem;
    padding: 0.25rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    text-align: center;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-bg-type: #f3f6f2;
    background-color: #f3f6f2 !important;
}

.table-striped>tbody>tr:nth-of-type(even) {
    --bs-table-bg-type: #e9eee7;
    background-color: #e9eee7 !important;
}

.table-success {
    background-color: #d6f5e3 !important;
}

body {
    background-color: var(--green-background) !important;
    min-height: 100vh;
    height: auto;
}

html {
    height: 100%;
}

.main-bg {
    min-height: 100vh;
    height: auto;
    background-color: #e9eee7;
}

/* Sleeker, thinner scrollbars for card bodies */
.card-body::-webkit-scrollbar {
    width: 7px;
    /* Adjust the width */
}

.card-body::-webkit-scrollbar-thumb {
    background: #888;
    /* Change the thumb color */
    border-radius: 5px;
    /* Add rounded corners */
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Change the track color */
    display: none;
}

.sort-link {
    color: #111 !important;
    text-decoration: none !important;
    border: none;
    background: none;
    border-bottom: 3px solid #ffe066;
    padding-bottom: 0px;
    font-weight: 700;
    transition: border-color 0.2s;
    display: inline-block;
    line-height: 1.1;
    width: max-content;
    min-width: 1em;
}

.sort-link:hover,
.sort-link:focus {
    color: #111 !important;
    border-bottom: 3px solid #AD8900;
}

.sort-link.no-sort {
    border-bottom: 3px solid #a3a3a3;
}

.sticky-header th {
    position: sticky;
    top: 0;
    background: #e9eee7;
    z-index: 2;
}

.dollar-header {
    font-weight: bold;
}

.alt-row-colors:nth-child(even) {
  background-color: #f2f2f2; /* Light gray background for even rows */
}

.alt-row-colors:nth-child(odd) {
  background-color: #ffffff; /* White background for odd rows */
}

.main-navbar {
    background: #f8faf7 !important;
    border-bottom: 1.5px solid #AD8900;
    box-shadow: 0 2px 8px 0 rgba(4,98,64,0.04);
}
.main-navbar .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
}
.main-navbar .nav-link {
    color: #046240 !important;
    border-radius: 0.375rem;
    transition: background 0.15s, color 0.15s;
    padding: 0.5rem 1rem;
}
.main-navbar .nav-link.active, .main-navbar .nav-link:focus, .main-navbar .nav-link:hover {
    background: #e9eee7 !important;
    color: #AD8900 !important;
    text-decoration: underline;
}
.main-navbar .navbar-toggler {
    border: none;
}

/* Footer custom background */
.bg-footer-custom {
    background: #e9eee7 !important;
    border-top: 2px solid #AD8900;
    color: #046240 !important;
}

.biggame-hero-title {
    /* font-family: 'Oswald', 'Montserrat', Arial, sans-serif; */
    font-weight: 700;
    letter-spacing: 0.04em;
    background: linear-gradient(0deg, #faff9d 0%, #ffffff 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* text-fill-color: transparent; */
}