/* 登录页面样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow: hidden;
  background-color: #f5f5f5;
}

#app {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #a6c0fe 0%, #5e9fee 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  overflow: hidden;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
}

/* 在大于500px的设备上模拟手机屏幕 */
@media (min-width: 501px) {
  body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .login-container {
    height: 95vh;
    max-height: 850px;
    border-radius: 30px;
  }
}

.login-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.25), transparent);
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 20vh;
  z-index: 2;
}

.logo {
  width: 240px;
  height: 240px;
  margin-bottom: 15px;
  object-fit: contain;
}

.app-name {
  color: #ffdff9;
  font-size: 32px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  font-weight: 500;
  margin-bottom: 5px;
}

.login-form-container {
  width: 100%;
  padding: 0 45px 10vh 45px;
  z-index: 2;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group input {
  width: 100%;
  padding: 18px 22px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 14px;
  font-size: 17px;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.input-group input:focus {
  outline: none;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.input-group input::placeholder {
  color: #aaa;
}

.login-button {
  width: 100%;
  padding: 18px 0;
  background: linear-gradient(90deg, #f8bff8 0%, #efb7ef 100%);
  color: white;
  font-size: 19px;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  box-shadow: 0 5px 15px rgba(248, 191, 248, 0.4);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 1px;
  margin-top: 15px;
}

.login-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px rgba(248, 191, 248, 0.3);
}

@media (max-height: 600px) {
  .logo-container {
    padding-top: 15vh;
  }
  
  .login-form-container {
    padding-bottom: 5vh;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .app-name {
    font-size: 28px;
  }
  
  .input-group {
    margin-bottom: 12px;
  }
  
  .input-group input {
    padding: 12px 18px;
  }
}

@media (max-width: 320px) {
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .app-name {
    font-size: 26px;
  }
  
  .login-form-container {
    padding: 0 30px 8vh 30px;
  }
  
  .input-group input {
    font-size: 14px;
  }
  
  .login-button {
    font-size: 16px;
    padding: 14px 0;
  }
} 