@font-face {
  font-family: 'FontAwesome';
  src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
       url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
       url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),
       url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
       url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: linear-gradient(180deg, #f0f7ff 0%, #e6f0ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.bg-decoration {
  position: absolute;
  background-color: rgba(59, 130, 246, 0.05);
  border-radius: 50%;
  filter: blur(60px);
}

.login-container {
  width: 340px;
  height: auto;
  background-color: white;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.login-form {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.login-header {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  margin: 0;
  text-align: center;
  background-color: #ccc;
  background-image: url("/images/main.png");
  background-size: cover;
  background-repeat: no-repeat;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: normal;
  padding: 0 25px;
}

.header-group {
  margin: 10px 0;
  position: relative;
  padding: 5px 25px;
}
.header-group h2{
	font-size: 20px;
  font-weight: normal;
  color: #000;
  text-align: center;
  line-height: normal;
}
.header-group p{
	font-size: 12px;
	color: #666;
	text-align: center;
	padding: 10px 0 0 0;
}
/* 输入框样式 */
.input-group {
  position: relative;
  padding: 5px 45px;
}

.input-group:last-of-type {
  margin-bottom: 24px;
}

.input-icon {
  position: absolute;
  left: 55px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  z-index: 1;
}

.form-input {
  width: 100%;
  text-align: left;
  font-size: 12px;
  padding: 8px 15px 8px 35px; /* 左侧留空间给图标 */
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.form-input::placeholder {
  color: #9ca3af;
}

/* 按钮样式 */
.button-group {
  display: flex;
  gap: 10px;
  margin: 10px 45px 25px 45px;
}

/* 主按钮（登录/注册） */
.primary-btn {
  flex: 1;
  background-color: #3b82f6;
  color: white;
  font-weight: 500;
  padding: 8px 10px;
	border-radius: 2px;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.primary-btn:hover {
  background-color: #2563eb;
  transform: scale(1.02);
}

.primary-btn:active {
  transform: scale(0.98);
}

/* 次要按钮（注册/返回） */
.secondary-btn {
  flex: 1;
  background-color: #6b7280;
  color: white;
  font-weight: 500;
  padding: 8px 10px;
  border: none;
	border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
}

.secondary-btn:hover {
  background-color: #4b5563;
  transform: scale(1.02);
}

.secondary-btn:active {
  transform: scale(0.98);
}

/* 底部版权信息 */
.copyright {
  margin-top: auto;
  text-align: center;
  color: #b7b7b7;
  font-size: 12px;
  padding: 0 20px 20px 20px;
}

.copyright a {
  display: block;
  font-size: 12px;
  color: #9ac2ec;
  padding-top: 5px;
  text-decoration: none;
}

.copyright a:hover {
  color: #006dcc;
  text-decoration: none;
}

/* 消息提示 */
.message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    font-size: 13px;
  color: #333;
}

.message i {
    margin-right: 8px;
    font-size: 16px;
  color: #6c757d;
}
.message-container{
  padding: 5px 45px;
}