/* Main styles */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  transition: background 1.2s ease-in-out;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

/* 为每个场景定义背景样式 */
body[data-theme="planning"] {
  background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
}

body[data-theme="content"] {
  background: linear-gradient(135deg, #4b2e83 0%, #8e44ad 100%);
}

body[data-theme="design"] {
  background: linear-gradient(135deg, #136a8a 0%, #00c6fb 100%);
}

body[data-theme="video"] {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

/* Company Logo styles */
.company-logo {
  position: fixed;
  top: 20px;
  left: 30px;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.company-logo img {
  height: 40px;
  margin-right: 10px;
}

.company-logo span {
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.login-container {
  display: flex;
  min-height: 100vh;
  padding: 20px;
}

/* Slider styles */
.login-slider {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
  margin-top: -150px;
}

.slider-item {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-in-out;
  text-align: center;
  color: #fff;
  width: 100%;
}

.slider-item.active {
  opacity: 1;
  transform: translateY(0);
}

.slider-item h2 {
  font-size: 68px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slider-item p {
  font-size: 24px;
  opacity: 0.9;
}

/* Login box styles */
.login-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 40px;
  width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin: 30px 10% 0 0;
  padding-top: 100px;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.company-name {
  color: #1E9FFF;
  font-size: 29px;
  font-weight: bold;
  margin-bottom: 30px;
}

.login-header h1 {
  line-height: 1.4;
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 32px;
  margin: 10px 0 15px 0;
}

.highlight-shu, .highlight-die {
  color: #ff3b3b;
  font-size: 32px;
  display: inline-block;
  /* transform: translateY(2px); */
}

.highlight-die {
  /* color: #ff901c; */
  color:#000;
}

.login-subtitle {
  color: #666;
  font-size: 18px;
  margin-top: 10px;
}

/* Form styles */
.layui-form-item {
  margin-bottom: 25px;
}

.layui-input-block {
  margin-left: 0;
}

.layui-input {
  height: 45px;
  border-radius: 4px;
}

.layui-btn {
  height: 45px;
  font-size: 16px;
  border-radius: 4px;
  background-color: #1E9FFF;
}

.layui-btn:hover {
  background-color: #1a90e6;
}

/* Website link styles */
.website-link {
  text-align: center;
  margin-top: 17px;
}

.trial-btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  color: #7e5c00 !important;
  font-weight: bold !important;
  border: none !important;
  margin-top: 10px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 5px rgba(255, 165, 0, 0.2) !important;
}

.trial-btn:hover {
  background: linear-gradient(135deg, #FFE44D 0%, #FFB52E 100%) !important;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3) !important;
  transform: translateY(-1px);
}

.trial-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(255, 165, 0, 0.2) !important;
}

/* Adjust spacing between buttons */
.layui-form-item:not(:last-child) {
  margin-bottom: 15px;
}

.website-link a {
  color: #1E9FFF;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
}

.website-link a:hover {
  color: #1a90e6;
  text-decoration: underline;
}

/* Notice and error styles */
.notice {
  text-align: center;
  color: #FF5722;
  margin-top: 15px;
  min-height: 20px;
}

span[id$="_"] {
  display: block;
  font-size: 12px;
  color: #FF5722;
  margin-top: 5px;
}

/* Footer styles */
.login-footer {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,0.8);
}

.login-footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.login-footer a:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .login-container {
      flex-direction: column;
  }
  
  .login-slider {
      display: none;
  }
  
  .login-box {
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
  }

  .company-logo {
      position: relative;
      top: 10px;
      left: 0;
      justify-content: center;
      margin-bottom: 20px;
  }
}