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;
    font-family: Roboto,sans-serif;
}

/*tab navigation*/
.login-logout-card .card-header {
    padding: 0px 0px 12px 0px;
}

.login-logout-card ul.nav-tabs {
    margin: 0px 0px -12px 0px;
}

.login-logout-card li.nav-item {
    width: 50%;
}

.login-logout-card a.nav-link {
    font-size: 1rem;
    color: #495057;
    text-align: center;
    padding: 1rem;
}

.login-logout-card .card-body {
    padding: 10px 20px;
}
/* Full viewport height for the sidebar */
html, body {
    height: 100%;
    margin: 0;
}

#sidenav-main {
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent overflow */
    display: flex;
    flex-direction: column; /* Vertical layout */
}

/* Ensure the content inside the sidebar takes full height */
#sidenav-collapse-main {
    flex: 1;
    overflow-y: auto; /* Scroll only if necessary */
}

/* Optional: Adjustments for the close icon */
.sidenav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

/* Optional: Ensure that navbar-collapse takes full height */
.navbar-collapse {
    flex: 1;
}

/* Alert Box Styling */
#alertBox {
    position: fixed;
    top: 20px;
    right: 20px;
    display: none;
    width: 300px; /* Smaller width */
    z-index: 9999;
}

/* Red Text */
.red-text {
    color: red !important;
}

.card-profile-bottom {
    margin-top: 0 !important;
}



/*Smooth Page*/
/* Smooth fade out */
.fade-out {
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}

/* Smooth fade in */
.fade-in {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

/* Initial state for fade-in */
.hidden {
    opacity: 0;
}

body {
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* Adjusted duration */
}

    body.fade-in {
        opacity: 1;
    }

    body.fade-out {
        opacity: 0;
    }

.hidden {
    opacity: 0;
}

