* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #f5f5f5;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

.header {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.header p {
  color: #666;
  font-size: 14px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: bold;
  color: #666;
}

.info-value {
  color: #333;
  word-break: break-all;
  text-align: right;
  max-width: 60%;
}

.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  margin-right: 10px;
  margin-bottom: 10px;
}

.btn:hover {
  opacity: 0.9;
}

.btn:active {
  transform: translateY(2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.btn-group {
  margin-top: 15px;
}

.card .btn {
  width: 100%;
  margin: 0;
  padding: 15px 20px;
  font-size: 16px;
}

.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

.status.success {
  background: #d4edda;
  color: #155724;
}

.status.error {
  background: #f8d7da;
  color: #721c24;
}

.status.info {
  background: #d1ecf1;
  color: #0c5460;
}

.status.warning {
  background: #fff3cd;
  color: #856404;
}

.loading {
  text-align: center;
  padding: 20px;
  color: #666;
}

.loading::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #667eea;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

pre {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.5;
}

.env-info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.env-info-item {
  margin: 5px 0;
  font-size: 14px;
  word-break: break-all;
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.vconsole-control {
  background: #fff3cd;
  padding: 15px;
  border-radius: 5px;
  margin-top: 15px;
  border: 1px solid #ffc107;
}

.vconsole-control strong {
  color: #856404;
}

.vconsole-control button {
  margin-top: 8px;
}

.tip {
  margin-top: 15px;
  padding: 10px;
  background: #e3f2fd;
  border-radius: 5px;
  font-size: 14px;
  color: #1565c0;
}

.error-box {
  color: #721c24;
  background: #f8d7da;
  padding: 15px;
  border-radius: 5px;
}

.success-box {
  color: #155724;
  background: #d4edda;
  padding: 15px;
  border-radius: 5px;
}

footer {
  text-align: center;
  padding: 20px;
}

footer a {
  color: #667eea;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
