/* classic uMIS' master css, adapted for new uMIS */
body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
}

@supports not (display: flex) {
    body {
        font-family: "Inter", sans-serif;;
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: "Inter", sans-serif;
        font-weight: 800;
    }
    .post {
        display: block;
        float: left;
        width: 100%;
    }
}
body {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
body.loaded {
    opacity: 1;
}

.roundImage {
    border-radius: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: var(--bs-info, #4169E1);
    text-decoration: none;
}

.dropdown-toggle::after {
    display: none;
}

.card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
}

.link-previews {
    scroll-behavior: smooth;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    position: relative;
}

.hover-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px;
    z-index: 10;
}

.nviewer-notification {
    background-color: var(--bs-body-bg, #FFFDF5);
}

.glow {
  background-color: var(--bs-primary, #4801FF);
  color: var(--bs-body-bg, #FFFDF5);
  position: relative;
  z-index: 0;
  border-radius: 0.5rem;
}


.glow::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  background: linear-gradient(45deg, var(--bs-primary, #4801FF), var(--bs-info, #4169E1), var(--bs-success, #50C878), var(--bs-warning, #E6C97B));
  z-index: -1;
  filter: blur(15px);
  opacity: 0.7;
  border-radius: 0.5rem;
  animation: glow-animation 2s linear infinite alternate;
}

@keyframes glow-animation {
  0% { filter: blur(10px); opacity: 0.5; }
  50% { filter: blur(20px); opacity: 1; }
  100% { filter: blur(10px); opacity: 0.5; }
}
