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%;
    scroll-behavior: smooth;
}

body {
    margin-bottom: 60px;
}

.footer {
    font-size: 0.8rem;
    color: #6c757d;
    background: none; /* No background */
    border: none; /* Removes top line separator */
    text-align: center;
    margin-top: auto; /* Keeps it at the end of the page */
}

    .footer a {
        color: var(--bs-primary);
        transition: color 0.2s ease;
    }

        .footer a:hover {
            color: #0d6efd;
            text-decoration: underline;
        }


.dropdown-menu {
    min-width: auto !important;
}

.lang-dropdown .lang-separator {
    opacity: 0.6;
    margin: 0 2px;
}

/* notifications */
.notification-item:hover {
    background-color: #f5f7fa;
}
/* Increase width of notification dropdown */
.dropdown-menu-notification {
    width: 450px !important; /* adjust as needed */
    max-width: 450px !important;
}

/* optional: also expand the inner card */
.card-notification {
    width: 100% !important;
}


.dark .trumbowyg-button-pane button {
    filter: invert(1);
}

.dark .trumbowyg-button-pane {
    border-color: #344050 !important;
}

/* loader */
.page-loader {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Force header to stay fully transparent */
#header-sticky,
#header-sticky.header-sticky,
#header-sticky.sticky-white-bg,
.tp-header-area.header-sticky,
.tp-header-area.sticky-white-bg {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

    /* Remove overlay pseudo elements */
    #header-sticky::before,
    #header-sticky::after {
        display: none !important;
        background: transparent !important;
    }

    /* Keep text white */
    #header-sticky .nav-link,
    #header-sticky .tp-btn-black-text {
        color: #fff !important;
    }
