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, body {
    min-height: 100vh;
    position: relative;
}

body {
  margin-bottom: 60px;
}

:root {
    --bs-primary: #4da6ff;
    --bs-primary-rgb: 77, 166, 255;
    --bs-primary-text: #003366;
    --bs-body-bg: #f5faff;
}

/* Optional: Improve link and navbar text appearance */
.navbar-brand,
.nav-link {
    color: var(--bs-primary-text) !important;
}

    .navbar-brand:hover,
    .nav-link:hover {
/*        text-decoration: underline;*/
    }

/* Button consistency */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

    .btn-primary:hover {
        background-color: #3399ff;
        border-color: #3399ff;
    }


/*    active menu buttons*/
.nav-link {
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.2s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 100%;
        background-color: currentColor;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

nav.fixed-top .nav-link i {
    margin-bottom: 1px; /* pushes icon up slightly */
}

nav.fixed-top .nav-link span {
    display: block;
    margin-top: 10px; /* creates gentle spacing */
    font-size: 1rem; /* keep label compact */
    line-height: 1;
}


/* Dropdown hover effect for Settings menu */
.dropdown-menu .dropdown-item:hover {
    background-color: #f0f8ff; /* soft blue background */
    color: #0d6efd; /* Bootstrap primary */
}
