/* license.css — 开屏后的激活页 */

.license-page {
  width: 100%;
  max-width: 430px;
  height: 100vh;
  min-height: 100vh;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.license-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.license-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.license-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.license-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.license-title {
  font-size: 26px;
  font-weight: 650;
  color: var(--c-text);
  line-height: 1.15;
}

.license-subtitle {
  margin-top: 3px;
  font-size: 13px;
  color: var(--c-sub);
  line-height: 1.4;
}

.license-form {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.license-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.license-field label {
  font-size: 12px;
  color: var(--c-sub);
}

.license-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--c-border-m);
  border-radius: 12px;
  background: var(--c-bg);
  color: var(--c-text);
  padding: 0 13px;
}

.license-input:focus {
  border-color: var(--c-accent-dark);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.license-button {
  min-height: 46px;
  border-radius: var(--r-pill);
  background: var(--c-text);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.license-secondary-button {
  min-height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border-m);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.license-secondary-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.license-button:disabled {
  opacity: 0.55;
  cursor: default;
}

.license-message {
  min-height: 18px;
  font-size: 12px;
  color: var(--c-sub);
  line-height: 1.5;
}

.license-message.error { color: var(--c-red); }
.license-message.success { color: var(--c-green); }

.license-device {
  font-size: 11px;
  color: var(--c-hint);
  line-height: 1.5;
  word-break: break-all;
}
