/* 增大字体大小 */
* {
    font-size: 1.3rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* 确保导航栏在其他内容之上 */
}

/* 自定义暗色样式 */
body {
    background-color: #0f1a29;
    color: #e0e0e0;
    padding-top: 70px;
    line-height: 1.8;
}

/* 正文行间距稍大 */
p {
  line-height: 1.8;
}

/* 标题行间距稍小 */
h1, h2, h3 {
  line-height: 1.3;
}

.custom-nav-bg-dark{
    background: linear-gradient(to right, #263c57, #1d3049);
}

.card {
    background-color: rgba(0,0,0,0.0);
    border: 0px;
}

.card-header {
    background: linear-gradient(to right, #263c57, #1d3049);
    border-bottom: 1px solid #444;
    padding: 0.75rem 1rem;
}

.h5-card-header {
    font-weight: bold;
    font-size: 1.5rem;
    color: #f5eec9;
    margin: 0;
}

.card-footer {
    border-top: 1px solid #444;
    padding: 0.5rem 1rem;
}
.card-body {
    background-color: #16273d;
    border-bottom: 10px;
    border-radius: 0 0 10px 10px;
    border-color: rgba(0,0,0,0.0);
}
.card-body-rounded {
    border-radius: 7px;
}
.card-body-record {
    background: linear-gradient(40deg, #2e4152, #1d3049);
    border-bottom: 10px;
    border-radius: 0 0 10px 10px;
    border-color: rgba(0,0,0,0.0);
}

.custom-li-dark{
    background-color: rgba(0,0,0,0.0);
}

.badge {
    font-size: 1.2rem;
    padding: 0.35em 0.65em;
}

.bi {
    font-size: 1.1rem;
    color: #4fd1c5;
}

.form-control {
    background-color: #1d3452;
    color: #eeeeee;
    border-color: #1d3452;
}
.form-control:focus {
    background-color: #1d3452;
    color: #eeeeee;
    border-color: #1d3452;
}
.form-select {
    background-color: #1d3452;
    color: #eeeeee;
    border-color: #1d3452;
}
.form-select:focus {
    background-color: #1d3452;
    color: #eeeeee;
    border-color: #1d3452;
}

/* 自定义表格样式 */
.custom-table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	border-radius: 10px; /* 圆角 */
	overflow: hidden; /* 确保圆角生效 */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
}
.custom-table th,
.custom-table td {
	padding: 12px; /* 单元格内边距 */
	text-align: center; /* 文字居中 */
	border: 1px solid #444; /* 边框颜色 */
}
.custom-table th {
	background-color: #1d3452; /* 表头背景色 */
	color: #fff; /* 表头文字颜色 */
	font-weight: bold; /* 加粗 */
}
.custom-table tbody tr {
	background-color: #1e1e1e; /* 表格行背景色 */
	color: #e0e0e0; /* 表格行文字颜色 */
}
.custom-table tbody tr:nth-child(even) {
	background-color: #2a2a2a; /* 斑马纹效果：偶数行背景色 */
}

/* 自定义iframe样式 */
.custom-iframe {
    background-color: #1e1e1e; /* 深色背景 */
    border: 1px solid #444; /* 边框颜色 */
    border-radius: 8px; /* 圆角 */
}

/* 自定义容器样式 */
.custom-container {
    border: 2px solid rgba(255, 255, 255, 0.1); /* 白色边框，透明度 10% */
    background-color: rgba(255, 255, 255, 0.05); /* 白色背景，透明度 5% */
    border-radius: 10px; /* 圆角 */
    padding: 20px; /* 内边距 */
}

/* 自定义图表样式 */
.chart-box {
    height: 400px;
    background-color: rgba(255, 255, 255, 0.05); /* 半透明背景 */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 边框 */
    border-radius: 5px; /* 圆角 */
}

/* 自定义悬浮按钮样式 */
.float-button {
    font-size: 1.2rem; /* 字体大小 */
    padding: 10px 20px; /* 内边距 */
    border-radius: 25px; /* 圆角 */
    background-color: #dc3545; /* 背景颜色（Bootstrap 的 danger 颜色） */
    color: white; /* 文字颜色 */
    border: none; /* 去掉边框 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 阴影 */
    transition: background-color 0.3s ease; /* 悬停动画 */
}

.float-button:hover {
    background-color: #c82333; /* 悬停时的背景颜色 */
}

.fixed-table {
    table-layout: fixed;
    width: 100%;
}

/* 限制图片的最大宽度 */
.reana_img {
  max-width: 100%;
  height: auto; /* 保持图片的宽高比 */
}

/* 高亮效果 */
@keyframes highlight {
    0% { background-color: gray; }
    50% { background-color: transparent; }
}

.highlight {
    animation: highlight 1s;
}

/* 设置特定输入框的 placeholder 颜色 */
#city_input::placeholder {
    color: #888888; /* 浅灰色 */
    opacity: 1; /* 确保颜色不透明 */
}

/* 卡片悬停缩放效果 */
.card {
    transition: transform 0.2s;
}
.card:hover {
    transform: scale(1.00);
}

.reana_img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 淡雅风格的搜索按钮 */
.btn-custom-primary {
    background-color: #a5d8ff;  /* 淡蓝色 */
    color: #0a0a0a;  /* 深灰色文字 */
    border-color: #a5d8ff;
}

.btn-custom-primary:hover {
    background-color: #1272F8;
    border-color: #1272F8;
    color: #EEEEEE;
}

/* 淡雅风格的清除按钮 */
.btn-custom-warning {
    background-color: #f5eec9;  /* 淡橙色 */
    color: #261605;  /* 深棕色文字 */
    border-color: ##f5eec9;
}

.btn-custom-warning:hover {
    background-color: #ffddb3;
    border-color: #ffddb3;
}

/* 占满宽度的按钮 */
.btn-custom-wide {
    width: 100%;
    margin: 0 0.5rem;
}

.footer-custom-dark{
    background-color: #1d3452;
}

.year-title-h3{
    color: #ebcf89;
    font-size: 2.0rem;
    font-weight: bold;
}

