body {
    font-family: sans-serif;
	background-color: white;
    margin: 0px 10px;
    padding: 0;
}

.hide-on-mobile {
	display: inline; /* 或 block、inline-block */
}
  
  /* 在移动设备（屏幕宽度 ≤ 768px）隐藏 */
@media (max-width: 768px) {
	.hide-on-mobile {
	  display: none;
	}
}

/* 触发消失的动画类 */
.fade-out-right.hide {
	max-width: 0;
	opacity: 0;
	margin-right: -100%; /* 向右移动 */
}

.top-banner {
    display: flex;
	border-radius: 10px;
    align-items: center;
    justify-content: space-between;
    background-color: white;
	background-image: url('/static/images/bg-banner.jpg');
	width: 100%; 
	height: 80px;
}

.auto-fadeout {
	animation: fadeout 10s forwards;
}

@keyframes fadeout {
	0%   { opacity: 1; }
	30%  { opacity: 0.9; }
	60%  { opacity: 0.6; }
	80%  { opacity: 0.3; } /* 前90%时间保持可见 */
	90%  { opacity: 0.2; } /* 前90%时间保持可见 */
	100% { opacity: 0; display: none; } /* 最后淡出并隐藏 */
}

.container {
    display: block;
    align-items: center;
    justify-content: center;
    background-color: white;
	width: 100%; 
}

.footer { 
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%; 
	min-height: 40px; 
    font-size: 0.8em;
    border-radius: 3px;
    text-align: center;
	background: #222;
	z-index: 1000;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.logo-container {
    display: flex;
    align-items: center;
    margin: 15px;
}

.logo {
    font-size: 1.2em;
    font-weight: bold;
    color: #64b5f6;
    text-decoration: none;
    margin-right: 15px;
}

.logo img {
    height: 64px;
    vertical-align: middle;
    margin-right: 5px;
    filter: brightness(1.5); /* 稍微提亮 Logo 图片 */
}
.banner-center {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	font-size: 1.0em;
	font-weight: bold;
	white-space: nowrap;
	color:green;
}

.right-buttons {
    display: flex;
    align-items: center;
    margin: 15px;
}

.login-button {
    background-color: #0d47a1;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.0em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4); /* 添加一些阴影 */
}

.login-button:hover {
    background-color: #1565c0; /* 鼠标悬停时更亮的蓝色 */
}
h1 {
    color: #bbdefb; /* 亮蓝色标题 */
}
p {
    color: #b0bec5; /* 稍浅的灰色段落文字 */
    line-height: 1.6;
}

    /* 背景遮罩 */
.modal-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100vw; height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
 
  .modal-overlay.show {
	visibility: visible;
	opacity: 1;
  }
 
  /* 对话框内容 */
  .modal {
	position: relative;
	background: white;
	padding: 2em;
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0,0,0,0.3);
	min-width: 320px;
	max-width: 90vw;
	max-height: 90vh;
	overflow: auto;
  }

button {
	margin: 6px;
	font-size: 1.0em;
	background-color: #1976D2;
	color: white;
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: none;
	font-size: 1.0em;
	cursor: pointer;
	line-height: 1;
	color: #666;
}

.close-btn:hover {
	color: rgb(247, 12, 12);
}