/* Custom theme overrides to change Bootstrap 'dark' backgrounds to #008577 for the fruits theme */

/* Override Bootstrap dark background utility */
.bg-dark {
    background-color: #008577 !important;
}

/* Navbar brand and links inside dark navbar */
.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: #ffffff !important;
}
.navbar-dark .nav-link:hover,
.navbar-dark .navbar-brand:hover {
    color: #e6f7f5 !important; /* slight lightening on hover */
}

/* Table dark header */
.table-dark {
    background-color: #008577 !important;
}

.table-dark thead {
    background-color: #008577 !important;
}

.table-dark thead th {
    background-color: #008577 !important;
    color: #ffffff !important;
    border-color: #008577 !important;
}

.table-dark tbody td {
    border-color: #008577 !important;
}

/* If table header contains links */
.table-dark thead th a {
    color: #ffffff !important;
    text-decoration: none;
}

/* Cookie consent bar */
#cookie-consent {
    background: #008577 !important;
    color: #ffffff !important;
}

/* Generic utilities - all links should use the theme color */
a {
    color: #008577 !important;
    text-decoration: none;
}

a:hover {
    color: #005f54 !important; /* darker green on hover */
    text-decoration: underline;
}

/* Exception: keep navbar links and table header links white for contrast */
.navbar-dark .nav-link,
.navbar-dark .navbar-brand,
.table-dark thead th a {
    color: #ffffff !important;
}

.navbar-dark .nav-link:hover,
.navbar-dark .navbar-brand:hover {
    color: #e6f7f5 !important; /* slight lightening on hover */
}
