* {
  box-sizing: border-box;
}

:root {
  --cu-text: #292d34;
  --cu-muted: #7c828d;
  --cu-border: #d9d9d9;
  --cu-link: #2f6fed;
  --cu-btn-disabled: #b0b3b8;
  --cu-font: "Plus Jakarta Sans", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #fff;
  color: var(--cu-text);
  font-family: var(--cu-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cu-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

.cu-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(110deg, #ffe4d8 0%, #ffdaee 22%, #f3e7ff 42%, #e2ecff 62%, #ffffff 85%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 55%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}

.cu-panel {
  position: relative;
  width: 400px;
  margin: 160px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cu-logo {
  display: inline-flex;
  margin-bottom: 18px;
  text-decoration: none;
}

.cu-logo svg {
  width: 52px;
  height: 52px;
}

.cu-panel h1 {
  margin: 0 0 6px;
  color: var(--cu-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.cu-subtitle {
  margin: 0 0 20px;
  color: var(--cu-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

.cu-link {
  color: var(--cu-link);
  text-decoration: none;
}

.cu-link:hover {
  text-decoration: underline;
}

.cu-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

.cu-form input {
  width: 100%;
  height: 40px;
  margin: 0 0 10px;
  padding: 0 12px;
  color: var(--cu-text);
  font: inherit;
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--cu-border);
  border-radius: 6px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.cu-form input::placeholder {
  color: #9a9a9a;
}

.cu-form input:focus {
  border-color: var(--cu-link);
  box-shadow: 0 0 0 2px rgba(47, 111, 237, 0.15);
}

.cu-form button {
  height: 40px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  background: var(--cu-btn-disabled);
  border: 0;
  border-radius: 6px;
  cursor: not-allowed;
  transition: background 150ms ease, opacity 150ms ease;
}

.cu-form button:not([disabled]) {
  background: #7b68ee;
  cursor: pointer;
}

.cu-form button:not([disabled]):hover {
  background: #6a58e0;
}

.cu-footer {
  margin-top: auto;
  padding: 32px 0 40px;
  text-align: center;
}

.cu-help {
  color: var(--cu-muted);
  font-size: 13px;
  text-decoration: none;
}

.cu-help:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .cu-panel {
    width: min(400px, calc(100% - 40px));
    margin-top: 120px;
  }
}
