.btn-signin {
    margin-top: 1rem;
    font-family: 'Noto Sans', sans-serif; /* 使用 Noto Sans 字体 */
    font-weight: 500; /* 设置字体粗细 */
    color: #333; /* 设置字体颜色为蓝色 */
    text-decoration: none; /* 去掉下划线 */
}
.btn-signin:hover {
    color: #007bff; /* 设置字体颜色为蓝色 */
    text-decoration: none; /* 取消下划线 */
}

.navbar-nav {
    margin: auto;
    text-align: center; /* 将导航项目居中 */
}

.main-nav {
    padding: 0.5rem 1rem;
    font-family: 'Noto Sans', sans-serif; /* 使用 Noto Sans 字体 */
    font-weight: 600; /* 设置字体粗细 */
    font-size: 18px;
    color: #333; /* 设置字体颜色 */
    margin-right: 40px; /* 设置链接之间的右侧间距 */
    cursor: pointer; /* 设置鼠标指针样式为手型 */

}
.main-nav.active{
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* 添加阴影效果 */
}
.main-nav:hover {
    background-color: #f8f9fa; /* 设置悬停时的背景颜色 */
    color: #007bff; /* 设置悬停时的文字颜色 */
    text-decoration: none; /* 去除悬停时的下划线 */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 添加悬停时的阴影效果 */
}
/* 隐藏所有子菜单栏项 */
.submenu-container {
    display: none;
}
/* 显示选中的子菜单栏项容器 */
.active-submenu-container {
    display: block;
}
/* 设置子菜单栏项容器样式 */
.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* 横向居中 */
}
/* 设置子菜单栏项样式 */
.submenu-item {
    margin-right: 10px; /* 设置子菜单栏项之间的间距 */
    padding: 8px 16px;
}
.submenu-item.active{
    font-weight: bold;
}
.submenu-container {
    background-color: #f8f9fa; /* 浅色背景 */
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
    margin-top: -15px; /* 负边距以与分隔线相连 */
    margin-bottom: 20px;
}
.submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.submenu-item a {
    font-family: 'Noto Sans', sans-serif; /* 使用 Noto Sans 字体 */
    font-weight: 300; /* 设置字体粗细 */
    font-size:15px;
    color: #333; /* 设置字体颜色 */
    text-decoration: none; /* 去掉下划线 */
    transition: background-color 0.3s ease; /* 添加过渡效果 */
}
.submenu-item:hover {
    background-color: #e9ecef; /* 悬停时的背景颜色 */
    border-radius: 5px; /* 设置圆角效果 */
}

.navbar {
    margin-bottom: 0; /* 去除底部空隙 */
    border-bottom: 2px solid #007bff; /* 添加蓝色分隔线 */
}

.modal-body {
    font-family: 'Noto Sans', sans-serif;
}

/* 自定义搜索容器样式 */
.search-container {
    background-color: #f8f9fa; /* 设置背景颜色为浅灰色 */
    padding: 20px; /* 设置内边距 */
    border-radius: 8px; /* 设置圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 设置阴影效果 */
    font-size: 14px;
    transition: left 0.3s ease; /* 添加过渡效果 */
    height: 100%;
    z-index: 999; /* 确保在其他内容之上 */
    font-family: 'Noto Sans', sans-serif;
}
.search-container {
    max-width: 100%; /* 父容器的最大宽度 */
    overflow-x: auto;
}
/* 自定义搜索结果表格样式 */
.search-result {
    background-color: #ffffff; /* 设置表格背景颜色为白色 */
    border-radius: 8px; /* 设置表格圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 设置表格阴影效果 */
    height: 60px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 1rem;
    
}
.search-result:hover {
    transform: scale(1.01);
}
/* .news-container {
    background-color: #ffffff;
    border-radius: 8px;
} */
.tool-container {
    background-color: #f8f9fa; 
    border-radius: 10px; 
    width: 75%; 
    margin: 0 auto; 
    font-size: 16px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    font-family: 'Noto Sans', sans-serif;
}
.card {
    background-color: #f8f9fa; 
}
.card-title {
    margin-top: 1rem;
}
.index-content {
    background-color: #f8f9fa; /* 设置背景颜色为浅灰色 */
        padding: 20px; /* 设置内边距 */
        border-radius: 8px; /* 设置圆角边框 */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 设置阴影效果 */
        width: 85%;
        position: fixed; /* 固定定位 */
        top: 0; /* 距离顶部的位置 */
        right: 0; /* 距离右侧的位置 */
        height: 100%; /* 容器高度占满整个页面 */
        overflow-y: auto; /* 如果内容过多，显示垂直滚动条 */
        font-size: 14px;
}

.main-container {
    background-color: #f8f9fa; /* 设置背景颜色为浅灰色 */
    padding: 20px; /* 设置内边距 */
    border-radius: 8px; /* 设置圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 设置阴影效果 */
    font-size: 14px;
    height: 100%;
    font-family: 'Noto Sans', sans-serif;
}
/* 自定义子容器样式 */
.sub-container {
    margin-bottom: 20px; /* 底部边距 */
    padding: 15px; /* 内边距 */
    background-color: #ffffff; /* 设置背景颜色为白色 */
    border-radius: 8px; /* 设置圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 设置阴影效果 */
}

/* 自定义子容器标题样式 */
.sub-container h5 {
    color: #007bff; /* 设置标题颜色为蓝色 */
}

/* 自定义图片样式 */
.sub-container img {
    max-width: 100%; /* 图片宽度最大不超过容器宽度 */
    height: auto; /* 图片高度自适应 */
    border-radius: 8px; /* 设置图片圆角边框 */
}


.foot{
    background: #f8f9fa;
    color: black;
    border-radius: 0rem;
    padding: 1.5rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid #eee;
    font-size: 90%;
    font-weight: 400;
    width: 100%;
    position: relative;
    bottom: 0;
    font-family: 'Noto Sans', sans-serif;
}

.footer-cols{
    display: flex;
    justify-content: space-between;
    align-items: start;
    width: 860px;
    margin: 0 auto;
}

.footer-header{
    font-weight: 600;
}


.footer-list{
    list-style-type: none;
    padding: 0;
}
.footer-list a{
    text-decoration: none;
    color: #000000;
}


.footer-col{
    text-align: left;
    text-size-adjust: 100%;
    display: block;
}
.footer-text{
    margin-top: 5px;
    text-align: center;
}


/* 自定义卡片样式 */
.custom-card {
    border: 2px solid #007bff; 
    border-radius: 10px; 
    background-color: #ffffff; 
    padding: 20px;
    transition: transform 0.3s ease; /* 添加过渡效果 */
    width: 300px;
    height: 250px;
    margin-bottom: 1rem;
}

/* 鼠标悬停时放大卡片 */
.custom-card:hover {
    transform: scale(1.01);
}

/* 图片样式 */
.card-img-top {
    
    max-height: 100px; /* 图片最大高度 */
    object-fit: cover; /* 图片填充方式，保持比例并填充 */
    border-radius: 8px; /* 图片圆角 */
}

/* 文字样式 */
.card-text {
    color: #333333;
    margin-bottom: 0;
}

.no-margin {
    margin-top: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* contact页面 */
.contact-container {
    background-color: #f8f9fa; 
    padding: 20px; 
    border-radius: 10px; 
    font-family: 'Noto Sans', sans-serif;
}

.contact-subcontainer {
    padding-left: 20px; 
    margin-bottom: 20px; 
}

.custom-divider-1 {
    border-left: 2px solid #007bff; 
}
.custom-divider-2 {
    border-top: 2px solid #007bff; 
}
.border{
    margin-bottom: 30px;
}


.align-icon {
    display: inline-block;
    width: 40px;  /* 根据需要调整大小 */
    height: 50px;
    background-image: url('../img/align.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;  /* 根据需要调整对齐 */
}
.align-icon2 {
    display: inline-block;
    background-image: url('../img/align-2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;  /* 根据需要调整对齐 */
}
.analysis-icon {
    display: inline-block;
    width: 40px;
    height: 50px;
    background-image: url('../img/analysis2.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
.edit-icon {
    display: inline-block;
    width: 40px;
    height: 50px;
    background-image: url('../img/edit4.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}
#align-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
    color: #007bff;
    text-align: left;
}

.explanation-icon {
    cursor: pointer;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-right: 2rem;
    color: #007bff;
}

/* 工具Input页面 */
#myTabContent {
    background-color: #fff; 
    padding: 20px; 
    margin-right: 2rem;
    margin-left: 2rem;
    margin-bottom: 2rem;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom: 1px solid rgb(222, 226, 230);
    border-left: 1px solid rgb(222, 226, 230);
    border-right: 1px solid rgb(222, 226, 230);
}
#myTab {
    margin-left: 2rem;
    margin-right: 2rem;
}
#input-tab {
    margin-right: 10px;
}
.input-nav {
    padding: 0.5rem 1rem;
    font-family: 'Noto Sans', sans-serif; /* 使用 Noto Sans 字体 */
    font-weight: 600; /* 设置字体粗细 */
    font-size: 18px;
    color: #333; /* 设置字体颜色 */
    margin-right: 40px; /* 设置链接之间的右侧间距 */
    cursor: pointer; /* 设置鼠标指针样式为手型 */
}
.input-nav:hover {
    color: #007bff; /* 设置悬停时的文字颜色 */
}

.modal-nav {
    padding: 0.5rem 1rem;
    font-family: 'Noto Sans', sans-serif; /* 使用 Noto Sans 字体 */
    font-weight: 600; /* 设置字体粗细 */
    font-size: 18px;
    color: #333; /* 设置字体颜色 */
    margin-right: 40px; /* 设置链接之间的右侧间距 */
    cursor: pointer; /* 设置鼠标指针样式为手型 */
}
.modal-nav.active{
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* 添加阴影效果 */
}
.modal-nav:hover {
    background-color: #f8f9fa; /* 设置悬停时的背景颜色 */
    color: #007bff; /* 设置悬停时的文字颜色 */
    text-decoration: none; /* 去除悬停时的下划线 */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* 添加悬停时的阴影效果 */
}

.custom-file-input:lang(en)~.custom-file-label::after {
    content: "Browse";
}
.filename-display {
    display: flex;
    align-items: center;
}
.filename-display input {
    flex: 1;
    max-width: 800px;

}
.filename-display .btn {
    margin-left: 5px;
}

/* 参数选择 */
#customAlignmentInputs {
    margin-left: 2rem;
}
.form-group {
    margin-top: 1rem;
}

/* 输出区 */
.output-container{
    margin-left: 0;
    margin-right: 0;
}
.output-content {
    background-color: #fff; 
    padding: 20px; 
    margin:1rem;
    border-radius: 5px;
    position: relative;
    padding-top: 50px;
}
.ngl-content {
    background-color: #fff; 
    padding: 20px; 
    margin:1rem;
    border-radius: 5px;
    position: relative;
    padding-top: 50px;
}
.ngl-child {
    border-radius: 5px;
    border: 1px solid rgb(222, 226, 230);
}
.notch-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 40px; 
    background-color: rgba(108, 117, 125);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    border-top-left-radius: 5px; 
    border-top-right-radius: 5px; 
    font-size: 18px;
}
.copy-button {
    position: absolute;
    right: 15px; 
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
.download-button {
    position: absolute;
    right: 15px; 
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.output-text{
    overflow-x: auto; 
    white-space: nowrap; 
}
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1050;
}
.toast {
    background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
    color: white; /* 白色字体 */
}
