/* Common shared styles extracted from jump.html, user.html and error.html */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Default page layout */
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 760px;
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg,#667eea 0%,#764ba2 100%);
  color: #fff;
}

.content { padding: 24px; }

/* Buttons */
.btn {
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-primary { background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); color: #fff; }
.btn-secondary { background: #f8f9fa; color: #333; border: 1px solid #e9ecef; }

.iframe-wrap { margin-top: 16px; border-radius: 8px; overflow: hidden; border: 1px solid #eef0f3; }
iframe { width: 100%; height: 520px; border: 0; display: block; }

/* Utilities used by user.html */
.loading { display: none; text-align: center; padding: 20px; }
.loading.show { display: block; }
.result { margin-top: 30px; background: #f8f9fa; border-radius: 10px; padding: 20px; display: none; }
.result.show { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity:0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }
