/* Custom CSS for the application inspired by Gesundheitsförderung Schweiz */

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f9f9f9;
    height: 100%; /* Ensure full height for flex layout */
    margin: 0; /* Remove default margin */
}

h1, h3 {
    color: #f1bd78;
    font-weight: 700; /* Bold text for titles */
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
    background-color: #f5f5f5;
}

.table-light {
    background-color: #f8f9fa;
}

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
}

.navbar-brand {
    color: #f1bd78;
}

.navbar-nav .nav-link {
    color: #333;
}

.navbar-nav .nav-link:hover {
    color: #f1bd78;
}

.navbar-nav .dropdown-menu {
    background-color: #ffffff;
}

.navbar-nav .nav-link.font-weight-bold {
    font-weight: 700 !important;
    color: #000 !important;  /* Ensure bold text is clearly visible */
}

.nav-link.disabled {
    pointer-events: none;  /* Prevent clicks */
    opacity: 0.2;          /* Make it look disabled */
}

.btn-primary {
    background-color: #f1bd78;
    border-color: #f1bd78;
}

.btn-primary:hover {
    background-color: #f3a53f;
    border-color: #f3a53f;
}

.badge {
    font-size: 90%;
}

.badge.bg-warning {
    background-color: #ffc107;
}

.badge.bg-success {
    background-color: #28a745;
}

.badge.bg-danger {
    background-color: #dc3545;
}

.container-fluid {
    padding: 0 50px;
}

.table th, .table td {
    text-align: center;
    vertical-align: middle;
}

/* Flexbox wrapper to ensure footer stays at the bottom */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1; /* Allows content to grow and push footer down */
}

/* Additional styles for alignment and responsiveness */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 15px;
    }
}

select {
    background-color: #f1bd78; /* Background color for select */
    color: white; /* Text color */
}

select:focus {
    outline: none; /* Remove blue outline on focus */
    box-shadow: 0 0 5px #f1bd78; /* Optional: adds a soft shadow */
}

option:checked {
    background-color: #f1bd78; /* Color of selected option */
    color: white;
}

option {
    background-color: white; /* Background for unselected options */
    color: black; /* Text color for unselected options */
}

.badge {
    display: inline-flex; /* Flex layout for better centering */
    align-items: center; /* Vertical centering */
    justify-content: center; /* Horizontal centering */
    height: 30px; /* Matches button height */
    line-height: normal; /* Standard line height for centering */
    padding: 0 12px; /* Matches button padding */
    font-size: 0.875rem; /* Font size to match buttons */
    font-weight: 400; /* Normal font weight */
    border-radius: 0.25rem; /* Rounded corners */
}

img {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

img:hover {
    opacity: 1;
}

img {
    border: none;
    outline: none;
}
a img {
    outline: none;
}

a {
    text-decoration: none;
    border: none;
}