body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    color: #333;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url("../fonts/NotoSansSC-Regular.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url("../fonts/NotoSansSC-Bold.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans SC';
    src: url("../fonts/NotoSansSC-Light.ttf") format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

main a {
    color: #007BFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

main a:hover {
    color: #FF6F00;
    text-decoration: underline;
}

main a::after {
    width: 0;
    height: 2px;
    background-color: #FF6F00;
    transition: width 0.3s ease;
}

main a:hover::after {
    width: 100%;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: none;
}

.list-group-item.active {
    color: white !important;
    text-decoration: underline;
    background-color: #5599CC !important;
}

.navbar .text-muted,
.navbar .dropdown-item {
    color: #6c757d !important;
}

.navbar .text-muted:hover,
.navbar .dropdown-item:hover {
    color: #333 !important;
    text-decoration: underline;
}

.bg-gradient {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff) !important;
}

.bg-dialog {
    background-color: rgba(220, 240, 255, 0.9);
}

.text-symbol {
    color: #007bff;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.blink-animation {
    animation: blink 0.6s ease-in-out 3;
}

@keyframes blink-border {
    0%,
    100% { border: 1px solid white; }
    50% { border: 1px solid black; }
}

#search-input:disabled {
    background-color: white;
}

.blinking {
    border: 1px solid darkgray;
    animation: blink-border 0.6s infinite;
}

#search-input:focus {
    background-color: transparent;
}

#search-input::placeholder {
    color: #bfc9d2;
}

.search-example-area a:hover {
    color: #FF6F00;
    text-decoration: underline;
}

.search-example-area a.search-example-file {
    color: #999;
    text-decoration: underline;
}

.search-example-area a.search-example-file:hover {
    color: #FF6F00;
    text-decoration: underline;
}
.modal-fullscreen {
    max-width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.modal-content {
    height: 100%;
}

#evidence-items {
    resize: horizontal;
    min-width: 150px;
    /* Minimum width for the sidebar */
    max-width: 50%;
    /* Maximum width for the sidebar */
}

#pdf-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
}

#pdf-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.icon-active {
    border: 1px solid #333;
    color: #0d6efd;
}

.icon-active:hover {
    border: 1px solid #333;
    color: #0d6efd;
}

.manual-summary p {
    margin: 0;
}

.manual-summary img {
    max-width: 100%;
    max-height: 100%;
}

.modal-header-red,
.modal-header-error {
    color: #c00;
    background: linear-gradient(to bottom, #fcc, #f99) !important;
}

.modal-header-orange,
.modal-header-warning {
    color: #c60;
    background: linear-gradient(to bottom, #ffc, #fc9) !important;
}

.modal-header-green,
.modal-header-success {
    color: #093;
    background: linear-gradient(to bottom, #6f9, #3c6) !important;
}

.modal-header-blue,
.modal-header-information {
    color: #06f;
    background: linear-gradient(to bottom, #cff, #9cf) !important;
}

.modal-header-gray,
.modal-header-question {
    color: #666;
    background: linear-gradient(to bottom, #fff, #ccc) !important;
}

.result-item {
    cursor: pointer;
    transition: background-color 0.3s;
}

.result-item:hover {
    background-color: lightyellow;
}