body {
    font-family: Arial, sans-serif;
}

.form-group{
    margin-bottom:20px;
}

.navbar {
    background-color: #fff;
}

.hero {
    position: relative;
    height: 600px;
    text-align: center;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* 确保背景图片不会超出容器 */
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/ol_2.jpg');
    background-size: cover;
    background-position: center;
    /* filter: blur(1px); */
    z-index: 1; /* 确保伪元素在文本和搜索栏下方 */
}

.hero-text {
    position: relative;
    z-index: 2; /* 确保文本位于模糊背景之上 */
    background-color: rgba(0, 0, 0, 0.5); /* 黑色背景，透明度为50% */
    padding: 20px;
    border-radius: 10px;
    color: white; 
    display: inline-block; 
    justify-content: center;
    margin-top: 50px;
}

.hero h1 {
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-weight: bold;
}

.search-bar {
    position: relative;
    z-index: 2; /* 确保搜索栏位于模糊背景之上 */
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.search-bar input {
    width: 500px;
    border-radius: 20px 0 0 20px;
    border-right: none;
}

.search-bar button {
    border-radius: 0 20px 20px 0;
}

.search-example{
    position: relative;
    z-index: 2; /* 确保搜索栏位于模糊背景之上 */
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
.dropdown-menu {
    padding: 15px;
    min-width: 250px;
    border-radius: 8px;
}

.dropdown-item {
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer; /* 鼠标悬停时显示为指针 */
}

.dropdown-header {
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 5px;
}
.dropdown-toggle::after {
    display: none;
}
.dropdown-toggle {
    font-size: 14px;
    width: 200px;
    border-radius: 8px;
}

.stats, .ortholog {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.stats {
    margin-top: 20px;
}

.ortholog {
    margin-top: 20px;
}

.news-container {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.news-item {
    margin-bottom: 20px;
}

.news-item .date {
    font-size: 1em;
    font-weight: bold;
    color: #e63946;
    margin-bottom: 5px;
}

.news-item .new-badge {
    background-color: #e63946;
    color: white;
    font-size: 0.75em;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 10px;
}
tr .new-badge {
    background-color: #e63946;
    color: white;
    font-size: 0.8em;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 10px;
}

.news-item ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #333;
}

.news-item ul li {
    margin-bottom: 10px;
}

.news-item ul li a {
    color: #007bff;
    text-decoration: none;
}

.news-item ul li a:hover {
    text-decoration: underline;
}


.resources {
    background-color: #f8f9fa;
    padding: 50px 0;
}



.genomes {
    padding: 50px 0;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
}

footer img {
    width: 150px;
}



/* 固定面板的高度并添加滚动条 */
#blastResultPanel {
    height: 500px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 10px;
    margin-top: 20px;
}


/* 小手指针样式 */
#tooltipTrigger {
    cursor: pointer;
}
