html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
  box-sizing: border-box;
}

#app {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.box {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 480px;
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
}

.box:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #4b2e83;
  font-weight: 600;
  letter-spacing: -0.5px;
}

input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

input[type="text"]:focus {
  outline: none;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #4776E6 0%, #8E54E9 100%);
  color: white;
  border: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(71, 118, 230, 0.4);
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background: linear-gradient(90deg, #3964c5 0%, #7b46cd 100%);
  box-shadow: 0 6px 20px rgba(71, 118, 230, 0.5);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(71, 118, 230, 0.4);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.log {
  margin-top: 25px;
  background: rgba(240, 248, 255, 0.7);
  padding: 15px;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  border-left: 4px solid #4CAF50;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.log-item {
  margin: 8px 0;
  padding: 6px 0;
  animation: fadeIn 0.5s;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
  color: #2E7D32;
  display: flex;
  align-items: center;
}

.log-item:last-child {
  border-bottom: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.header-icon {
  font-size: 32px;
  margin-right: 12px;
  vertical-align: middle;
  color: #4b2e83;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.status-indicator {
  width: 10px;
  height: 10px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.footer {
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 添加响应式设计 */
@media (max-width: 540px) {
  .box {
    max-width: 90%;
    padding: 30px 20px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  button {
    font-size: 16px;
  }
} 