/* Custom CSS Extensions to Bootstrap */
:root {
    --link-color: #1a0dab;
    --link-visited: #681da8;
}

body {
    font-family: arial, sans-serif;
    background-color: #ffffff;
}

/* Base Adjustments */
a {
    color: var(--link-color);
}
a:hover {
    text-decoration: underline;
}
.text-primary {
    color: var(--link-color) !important;
}

/* Animations and Focus */
.hover-shadow {
    transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1);
}
.hover-shadow:hover,
.hover-shadow:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,.28) !important;
}

/* Result Overrides for Authenticity */
.result-title:visited {
    color: var(--link-visited) !important;
}

/* Page Loader Animation */
.search-loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-loader {
    width: 40px;
    height: 40px;
    position: relative;
    animation: orbit 1.5s linear infinite;
}

.search-loader i {
    font-size: 40px;
    color: #000080; /* Lacivert */
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(55px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}

.search-loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}
