/* 激活页面样式文件 */
/* 与登录页面样式保持一致 */

/* 激活容器 */
.activation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  background-attachment: fixed;
}

/* 卡片样式 */
.card {
  background: rgba(40, 40, 60, 0.8);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 400px;
}

/* 应用标题 */
.app-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}

/* 应用副标题 */
.app-subtitle {
  color: #bbbbbb;
  font-size: 16px;
  margin: 0;
  text-align: center;
}

/* 表单组 */
.form-group {
  margin-bottom: 20px;
}

/* 表单标签 */
.form-label {
  display: block;
  color: #bbbbbb;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 16px;
}

/* 表单控件 */
.form-control {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #e0e0e0;
  background: rgba(50, 50, 70, 0.8);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #667eea;
  outline: 0;
  box-shadow: 0 6px 8px rgba(102, 126, 234, 0.3);
  background: rgba(60, 60, 80, 1);
}

/* 激活码输入框 */
.activation-input {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
  text-align: center;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 激活信息 */
.activation-info {
  text-align: center;
}

.text-muted {
  color: #888888;
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* 结果显示 */
.result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
}

.success {
  background: rgba(67, 233, 123, 0.2);
  color: #43e97b;
  border: 1px solid rgba(67, 233, 123, 0.3);
}

.error {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .activation-container {
    padding: 15px;
  }
  
  .card {
    padding: 20px;
  }
  
  .app-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .app-subtitle {
    font-size: 14px;
  }
  
  .form-label {
    font-size: 14px;
  }
  
  .form-control {
    font-size: 14px;
  }
  
  .btn {
    font-size: 14px;
    padding: 10px 15px;
  }
}