html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

form {
    padding-bottom: 100px; /* Adjust as needed to push the submit button above the footer */
}


footer {
    padding-top: 10px;
    position: relative;
    z-index: 10;
    background-color: #f8f9fa;
    background-color: lightgrey
}

.selected-card {
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    border-color: #0056b3; /* Darker blue border */
}

.selected-card .btn-outline-primary {
        background-color: white;
        color: #007bff;
        border-color: white;
}

.selected-card {
    background-color: #007bff; /* Bootstrap primary color */
    color: white;
    border-color: #0056b3; /* Darker blue border */
}

    .selected-card .btn-outline-primary {
        background-color: white;
        color: #007bff;
        border-color: white;
    }

.selected-button {
    background-color: #007bff !important;
    color: white !important;
    border-color: #0056b3 !important;
}

.header-container {
    background-color: white;
    padding: 20px 20px 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100px;
}

.header-logo {
    height: 120px;
    margin-right: 20px;
}

.header-bar {
    background-color: #7B7D7B;
    height: 50px;
    margin-top: 0;
}

.header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    font-weight: bold;
    color: black;
    margin: 0;
    white-space: nowrap;
}

.header-bar-container {
    width: 100%;
}

.subheader-container {
    text-align: center;
    background-color: white;
}

.subheader-text {
    margin: 0;
    font-size: 1.2rem;
    color: #6a0dad; /* Matching purple color */
    font-weight: bold;
}

.table-container {
    max-height: calc(100vh - 200px); /* Adjusts based on your header/footer size */
    overflow-y: auto;
    padding-bottom: 20px; /* Adds space above the footer */
}

/*.footer {
    font-size: 1.2em;*/ /* Increase the font size */
    /*padding: 20px 0;*/ /* Add more vertical padding */
    /*background-color: #f8f9fa;*/ /* Light background for better visibility */
    /*border-top: 1px solid #ddd;
}*/

    .footer a 
    {
        color: #007bff; /* Bootstrap primary color */
        text-decoration: none;
        font-weight: bold;
    }

        .footer a:hover 
        {
            text-decoration: underline;
        }

.header-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.header-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-top: 10px;
    white-space: normal; /* Prevents text overflow */
}

.subheader-text {
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
}

.header-bar {
    background-color: #7B7D7B !important; /* Ensure consistent purple color */
    height: 20px; /* Increased height for visibility */
}

@media (min-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }
}


.table-container {
    max-height: calc(100vh - 200px); /* Leaves space for header and footer */
    overflow-y: auto;
    padding-bottom: 200px !important; /* Avoids being cut off by the footer */
}
footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #D3D3D3;
    padding: 10px;
    z-index: 10;
    border-top: 1px solid #ddd;
}

.custom-header-bg {
    background-color: #acaeab !important;
}
