/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Markazi+Text:wght@400..700&display=swap');

body, .dropdown-menu {

    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    font-style: normal;
    line-height: 1.25rem;
    padding-bottom: 60px;
}

h1 {
    font-family: "Markazi Text", serif;
    font-optical-sizing: auto;
    line-height: 2rem;
    margin-top: 8px;
}

h1, h2, h4, h5, h6 {
    font-family: "Markazi Text", serif;
    font-optical-sizing: auto;
    line-height: 2rem;
}
h3 {
    font-family: "Markazi Text", serif;
    font-optical-sizing: auto;
    line-height: 0.5rem;
    margin-top: 8px;
}

/* Navbar background color */
.navbar.navbar-dark {
    background-color: #038706 !important; /* Green color */
}

/* Navbar brand styling */
.navbar-brand {
    margin-left: 10px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* Navbar dropdown menu background color */
.navbar .dropdown-menu {
    background-color: #038706 !important; /* Green color */
}

/* Navbar link colors */
.navbar .nav-link {
    color: #ffffff !important; /* White color for links */
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #c0ca33 !important; /* Light green color for hover and focus */
}

/* Active link color */
.navbar .nav-link.active {
    color: #c0ca33 !important; /* Light green color for active link */
}

/* Dropdown item colors */
.navbar .dropdown-item {
    color: #ffffff !important; /* White color for dropdown items */
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    color: #c0ca33 !important; /* Light green color for hover and focus */
    background-color: #025f04 !important; /* Darker green background for hover and focus */
}

.news_img {
    width: 100px;
    height: auto;
}

/* Adjust card styles */
.card {
    border-radius: 1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important; /* Green border color */
    overflow: hidden;
}

.card-body {
    padding: 5px !important;
}

.card-header,
.card-footer {
    padding: 10px !important;
}

.card-header {
    background-color: #038706 !important; /* Green color */
    color: #ffffff !important; /* White text color */
}

/* Adjust table styles within cards */
.card .table {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.card .table th,
.card .table td {
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
    padding-left: 0px !important;
    border: none !important;
}


/* Adjust link-button styles */
.link-button {
    padding: 0 !important;
    margin: 0 !important;
    color: #007bff !important;
    cursor: pointer !important;
    background: none;
    border: none;
    text-decoration: none;
}

.viking_container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.badger p {
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin: 5px;
}

.badger {
    text-align: center;
    background-color: #3527A5;
    border-radius: 60px;
    color: white;
    font-weight: 700;
}

.viking_breadcrumb {
    margin-bottom: 0px;
}

/* Define btn_viking style */
.btn-viking {
    background-color: #038706 !important; /* Green color */
    color: #ffffff !important; /* White text color */
    font-family: "Lato", sans-serif; /* Matching font */
    font-weight: 700; /* Matching font weight */

    line-height: 1rem; /* Matching line height */
    border: none; /* Remove border */
    padding: 10px 20px; /* Add padding */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove text decoration */
    display: inline-block; /* Inline-block display */
    cursor: pointer; /* Pointer cursor */
    border-radius: 5px; /* Rounded corners */
}

.btn-viking:hover,
.btn-viking:focus {
    background-color: #025f04 !important; /* Darker green on hover and focus */
    color: #c0ca33 !important; /* Light green text on hover and focus */
}

.card-league {
    color: #000000;
}

.card-ko {
    color: #CD1215;
}

.card-sing {
    color: #0F37B0;
}

.card-doub {
    color: #1C731C;
}

.card-45s {
    color: #B516DA;
}

.card-gold {
    color: #D1D526;
}
.card-nowt {
    color: #8d8d8d;

}
.card-30 {
    color: #f6a709;

}




/* Bottom menu container */
.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #cdcaca;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

/* Menu buttons */
.menu-button {
    flex: 1;
    text-align: center;
    color: #484848;
    text-decoration: none;
    font-size: 20px;
    padding: 5px;
    transition: color 0.3s ease;
}

.menu-button i {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
}

.menu-button span {
    display: block;
    font-size: 12px;
}



.menu-button:hover {
    color: #038706; 
    text-decoration: none;
}




/* Responsive adjustments */
@media (min-width: 990px) {
    .bottom-menu {
        display: none; /* Hides the menu on screens larger than 768px */
        position: bottom;
        box-shadow: none;
        padding: 20px 0;
    }

}

/* Ensure the menu is visible on smaller screens */
@media (max-width: 989px) {
    .bottom-menu {
        display: flex; /* Shows the menu on screens smaller than 768px */
    }

    .menu-button {
        font-size: 20px;
        color: #484848;
        text-decoration: none;
    }

    .menu-button i {
        font-size: 24px;
    }

    .menu-button span {
        font-size: 14px;
    }

    .menu-button-active {
        font-size: 20px;
        color: #038706 ;
        text-decoration: none;
    }

}

/* Improvements: safe-area, hide state, focus & touch feedback */
.bottom-menu {
    /* Respect iPhone/modern safe area inset */
    padding: 6px env(safe-area-inset-left) calc(6px + env(safe-area-inset-bottom)) env(safe-area-inset-right);
    transition: transform 220ms ease, opacity 200ms ease;
}

.bottom-menu--hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
}

.menu-button {
    min-width: 56px; /* ensure comfortable tap target */
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-button:focus {
    outline: 3px solid rgba(0,102,204,0.12);
    outline-offset: 2px;
    border-radius: 6px;
}

.menu-button.touch-pressed,
.menu-button:active {
    background: rgba(0,0,0,0.06);
}

/* Prefer show only for small viewports: keep safe fallback alongside existing queries */
@media (min-width: 768px) {
    .bottom-menu { display: none !important; }
}

