* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
  min-height: 100vh;
  color: #333;
  background: linear-gradient(135deg, #0d4a28 0%, #1a6b3c 50%, #0f5c32 100%);
}

.install-wrap {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.install-header {
  text-align: center;
  margin-bottom: 28px;
}

.install-header .logo {
  display: block;
  width: min(280px, 90vw);
  margin: 0 auto 16px;
}

.install-header h1 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: #ffd700;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.install-header p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  font-size: 0.95rem;
}

.install-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.install-card-head {
  background: linear-gradient(90deg, #0d4a28, #1a6b3c);
  padding: 18px 24px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.install-card-body {
  padding: 24px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.table th {
  background: #f6fbf8;
  color: #0d4a28;
  font-weight: 600;
}

.status-pass { color: #1a6b3c; font-weight: 600; }
.status-fail { color: #dc3545; font-weight: 600; }

.btn-area {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(180deg, #ffe566, #ffd700);
  color: #0d4a28;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 215, 0, 0.45);
}

.loader {
  width: 32px;
  height: 32px;
  border: 3px solid #e8f5ee;
  border-top-color: #1a6b3c;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  text-align: center;
  color: #dc3545;
  font-size: 14px;
  line-height: 1.7;
}

.error-message a { color: #1a6b3c; }

.install-footer {
  text-align: center;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0d4a28;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d8e8de;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #1a6b3c;
  box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #0d4a28;
  margin: 20px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f5ee;
}

.form-section-title:first-child { margin-top: 0; }

.folder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.folder-tag {
  padding: 8px 18px;
  border: 1px solid #d8e8de;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.folder-tag.active {
  background: #1a6b3c;
  color: #fff;
  border-color: #1a6b3c;
}

.progress-btn {
  display: block;
  width: 260px;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 14px;
  text-align: center;
  background: linear-gradient(180deg, #2a8f55, #1a6b3c);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  border: none;
  font-size: 16px;
  transition: transform 0.2s;
}

.progress-btn:hover { transform: translateY(-2px); }

.install-tip {
  text-align: center;
  color: #dc3545;
  font-size: 13px;
  margin-top: 10px;
  min-height: 20px;
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
