html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100vw;
}

* {
    box-sizing: border-box;
}


body {
    display: flex;
    flex-direction: column;
}

.navbar-custom {
    background-color: #0a3c62 !important;
    /*height: 8vh; !* Set fixed height for navbar *!*/
    height: 70px !important;
    width: 100%; /* Ensure it spans the full width */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

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

.content {
    flex: 1;
    /* Offset for fixed navbar */
    padding-top: 70px; /* Space for fixed navbar */
    padding-bottom: 70px; /* Space for fixed footer */
}


.footer-custom {
    background-color: #0a3c62;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    height: 60px; /* Set fixed height for footer */
    width: 100%; /* Ensure it spans the full width */
    /*position: fixed;*/
    bottom: 0;
    left: 0;

    img {
        width: 60px;
        margin: -10px;
    }
}

.centered-content {
    flex: 1;
    /* Offset for fixed navbar */
    padding-top: 70px; /* Space for fixed navbar */
    padding-bottom: 70px; /* Space for fixed footer */ /* Horizontally centers the div */
    overflow-y: scroll; /* Enables vertical scrolling */
    overflow-x: hidden; /* Prevents horizontal scrolling */
    width: 100%;
}


.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
    color: #a8f3ff !important; /* Change to a lighter blue on hover */
    text-decoration: underline; /* Optionally add an underline */
}

/* Webkit browsers such as Chrome, Safari */
.centered-content::-webkit-scrollbar {
    width: 10px;
    position: absolute;
    left: 0;
}

.centered-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.centered-content::-webkit-scrollbar-thumb {
    background: #888;
}

.centered-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.list-group {
    width: 50%;
}

.container-fluid {
    background-color: #0a3c62 !important;
}

.user-card {
    max-width: 350px;
    margin: 20px auto;
}

.user-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.notification-messages {
    position: relative; /* Keep it in flow with the document */
    z-index: 9999; /* Ensure it appears above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.notification-messages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notification-messages li {
    margin: 0;
    padding: 10px;
    background: transparent; /* Default background */
    color: white; /* Default text color */
    font-size: 18px;
}

/* Example styles for message types */
.notification-success {
    background: #5cb85c !important;
}

.notification-error {
    background: rgba(114, 28, 36, 0.71) !important;
}

.notification-info {
    background: #0c5460 !important;
}

.notification-warning {
    background: rgba(255, 255, 0, 0.55) !important;
}

/* Ensure the card body is scrollable */
@media (max-height: 800px) {

    .footer-custom {
        & img {
            width: 60px !important;
        }

        height: 70px !important; /* Set fixed height for footer */
    }
}


/* Ensure the card body is scrollable */
@media (max-height: 600px) {

    .footer-custom {
        height: 50px !important; /* Set fixed height for footer */

        & img {
            width: 40px !important;
        }
    }
}
