body {
  background: #f0f2f7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 40px 36px;
  width: calc(100vw - 32px);
  max-width: 380px;
  text-align: center;
}
.icon {
  width: 44px; height: 44px;
  background: #315fd8;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
h1 { font-size: 1.1rem; font-weight: 700; color: #1a1f36; margin-bottom: 4px; }
.sub { font-size: 0.78rem; color: #4f5874; margin-bottom: 24px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #e2e6ef;
  border-radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 14px;
}
input:focus, select:focus { border-color: #315fd8; }
select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #e2e6ef;
  border-radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 14px;
  background: white;
  color: #1a1f36;
}
button {
  width: 100%;
  min-height: 48px;
  padding: 10px;
  background: #315fd8;
  color: white;
  border: none;
  border-radius: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}
button:hover { opacity: 0.9; }
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.pwd-wrap {
  position: relative;
}
.pwd-wrap input {
  padding-right: 52px;
}
.pwd-toggle {
  position: absolute;
  top: 0;
  right: 4px;
  width: 48px;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: #1a1f36;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.pwd-toggle:hover, .pwd-toggle:focus {
  opacity: 1;
  background: #eef2ff;
}
.error {
  color: #b42318;
  font-size: 0.75rem;
  margin-top: 10px;
  display: none;
}
.error.show { display: block; }
.info {
  color: #1a3a7a;
  background: #eef2ff;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.78rem;
  margin: 0 0 14px;
  display: none;
  text-align: left;
}
.info.show { display: block; }
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: #69728f;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e6ef;
}
.psc-wrap {
  position: relative;
}
.psc-btn {
  width: 100%;
  min-height: 56px;
  padding: 10px 16px;
  background: #fff;
  border: 2px solid #c0c6d8;
  border-radius: 24px;
  cursor: not-allowed;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  opacity: 0.82;
  filter: grayscale(100%);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.psc-btn:hover {
  opacity: 0.86;
}
.psc-btn.ready {
  cursor: pointer;
  opacity: 1;
  filter: none;
  border-color: #1a3a7a;
}
.psc-btn.ready:hover {
  opacity: 0.92;
  box-shadow: 0 2px 10px rgba(26,58,122,0.12);
}
.psc-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.psc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.psc-text-top {
  font-size: 0.68rem;
  color: #41495f;
  font-weight: 400;
  font-style: italic;
}
.psc-text-mid {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.psc-text-mid .psc-pro { color: #1a1f36; }
.psc-text-mid .psc-sante { color: #c00; }
.psc-text-mid .psc-connect { color: #1a3a7a; }
.psc-text-bottom {
  font-size: 0.55rem;
  color: #515a72;
  font-weight: 400;
}
.psc-badge {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: #315fd8;
  color: #fff;
  padding: 2px 10px;
  border-radius: 8px;
  z-index: 1;
}
.version {
  margin-top: 16px;
  color: #69728f;
  font-size: 0.68rem;
}
