body {
    background-color: #E8E8E8;  /* Dark grey background */
    color: #303B48;  /* White text */
}

.page-title {
    color: #303B48 !important;
}

.navbar {
    background-color: #ffffff;
}

.nav-link {
    color: #5d5d5d !important;
}

/* Styling for dropdown items */
.dropdown-item {
    background-color: #ffffff; /* Default background (white) */
    color: #303B48; /* Default text color (blue) */
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #303B48; /* Hover/Focus background (blue) */
    color: #ffffff; /* Hover/Focus text color (white) */
}

.dropdown-item:active {
    background-color: #303B48; /* Active background (blue) */
    color: #ffffff; /* Active text color (white) */
}

/* Styling for the dropdown toggle button */
.navbar .dropdown-toggle {
    color: #303B48; /* Default text color for dropdown toggle */
    background-color: transparent; /* No background */
    border: none; /* No border */
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus {
    background-color: #303B48; /* Hover/Focus background for toggle */
    color: #ffffff; /* Hover/Focus text color for toggle */
    outline: none; /* Remove outline for cleaner design */
}


/* styles for the logo */
.navbar-brand img {
    width: 60px;  /* Adjust the width of the logo */
    height: 40px;  /* Adjust the height of the logo */
    margin-right: 10px;  /* Add some space between the logo and the text */
    object-fit: contain;  /* Make sure the image doesn't distort */
}

/* Base card styles (common to all cards) */
.card {
    background-color: #303B48; /* Dark grey background */
    color: #ffffff; /* Light grey text */
    border-radius: 5px; /* Rounded corners */
    border: none; /* Remove default border */
    padding: 20px; /* Add padding inside the card */
    margin-bottom: 20px; /* Add margin below the card */
}

/* Small card */
.card-small {
    width: 200px;  /* Smaller width */
    height: 250px; /* Smaller height */
}

/* Medium card */
.card-medium {
    width: 300px;  /* Medium width */
    height: 350px; /* Medium height */
}

/* Large card */
.card-large {
    width: 400px;  /* Large width */
    height: 500px; /* Larger height */
}

/* Large card */
.card-full-width {
    width: 1000px;  /* Large width */
    height: 500px; /* Larger height */
}

/* Special themed card (e.g., for alerts or highlighted sections) */
.card-special {
    background-color: #303B48; /* Special blue background */
    color: #ffffff;  /* White text */
}

/* Card with image */
.card-image {
    height: 450px;  /* Card height with image */
    background-size: cover;
    background-position: center;
}

.card-title {
    margin-bottom: 2rem; /* Adjust the spacing here */
}

/* Optional: Make card subtitle white */
.card-subtitle {
    color: #fff !important;  /* Ensure subtitle is white */
}

/* Optional: Make dates (text-muted) white */
.card-text .text-muted {
    color: #fff !important;  /* Ensure muted text (like dates) is also white */
}

/* Scrollable table container */
.table-container {
    max-height: 400px;      /* Set the maximum height for the table */
    overflow-y: auto;       /* Enable vertical scrolling */
    overflow-x: auto;       /* Enable horizontal scrolling if necessary (for wide tables) */
    display: block;         /* Ensure it works with block display */
}

/* Optional: Customize scrollbar (for Webkit-based browsers) */
.table-container::-webkit-scrollbar {
    width: 8px;             /* Width of vertical scrollbar */
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #303B48;  /* Color of scrollbar thumb */
    border-radius: 10px;
}

/* Optional: Set a maximum width for the table */
.table-container table {
    width: 100%;            /* Ensure table takes up full width of the container */
    border-collapse: collapse;  /* Optional: Make borders collapse */
}

/* Table styling */
.custom-table {
    width: 100%;
    border-collapse: collapse; /* Ensures borders are collapsed into a single border */
}

/* Table headings */
.custom-table th {
    background-color: #959595 !important;
    color: #333; /* White text color for contrast */
    font-weight: bold; /* Make headings bold */
    padding: 20px; /* Padding for better spacing */
    text-align: left; /* Align text to the left */
}

.custom-table th a {
    color: inherit;        /* Inherit the color from the parent element */
    text-decoration: none; /* Remove the underline */
    cursor: pointer;       /* Keep the pointer cursor to indicate it's clickable */
}

/* Ensure the table borders are separated */
.custom-table {
    border-collapse: separate;  /* Separate borders for more control */
    border-spacing: 0;          /* No spacing between borders */
    border: none;               /* Remove the external border */
}

/* Keep the internal borders */
.custom-table th, .custom-table td {
    border: 1px solid #ddd;     /* Internal border for cells */
}

/* Optional: Remove specific external borders */
.custom-table th:first-child,
.custom-table td:first-child {
    border-left: none;          /* Remove left border */
}

.custom-table th:last-child,
.custom-table td:last-child {
    border-right: none;         /* Remove right border */
}

.custom-table tr:first-child th {
    border-top: none;           /* Remove top border */
}

.custom-table tr:last-child td {
    border-bottom: none;        /* Remove bottom border */
}

  /* Change the text color for table cells (td) */
  .custom-table td {
    color: #333; /* Dark grey text for table cells */
}

/* Table cells */
.custom-table td {
    padding: 12px; /* Padding for cells */
    border: 1px solid #ddd; /* Light grey border */
    text-align: left; /* Align text to the left */
}

/* Alternating row colors */
.custom-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Light grey for even rows */
}

.custom-table tr:nth-child(odd) {
    background-color: #fff; /* White for odd rows */
}

/* Add rounded corners to the table */
.custom-table {
    border-radius: 10px; /* Adjust the radius as needed */
    overflow: hidden;    /* Ensure the rounding is applied to the table content */
    border-collapse: separate; /* Important for rounded corners */
}

#Buttons
.btn-primary {
    background-color: #ffffff;
        color: #000;
        border: 1px solid #ccc;
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 4px;
        text-decoration: none;
}

.btn-primary:hover {
    background-color: #ffffff;
        color: #000;
        border: 1px solid #9e9e9e;
        padding: 6px 12px;
        font-size: 14px;
        border-radius: 4px;
        text-decoration: none;
}

/* Accordion button (collapsed or expanded) background: light grey and text color: dark grey */
.accordion-button {
    background-color: #d3d3d3; /* Light grey background */
    color: #333; /* Dark grey text */
    border: none; /* Remove border */
}

/* Accordion button hover state: light blue */
.accordion-button:hover {
    background-color: #add8e6; /* Light blue on hover */
    color: #333; /* Dark grey text */
}

/* Accordion button collapsed state (background remains light grey) */
.accordion-button.collapsed {
    background-color: #d3d3d3; /* Light grey background when collapsed */
    color: #333; /* Dark grey text */
}

/* Accordion button expanded state (background remains light grey) */
.accordion-button:not(.collapsed) {
    background-color: #d3d3d3; /* Light grey background when expanded */
    color: #333; /* Dark grey text */
}

/* Optional: Style for the accordion button when focused (e.g., keyboard navigation) */
.accordion-button:focus {
    box-shadow: none; /* Remove the default focus outline */
}
