/* Iris Paints — login page (/login) */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: var(--font-body);
}

.lp-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  background: var(--iris-cream);
}

.lp-form-side {
  background: var(--iris-cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  overflow-y: auto;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 3.5rem;
}

.lp-brand__mark {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--iris-purple), var(--iris-mid));
  border-radius: var(--iris-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
}

.lp-brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--iris-dark);
}

.lp-heading {
  font-family: var(--font-display);
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--iris-dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.lp-sub {
  font-size: 0.9375rem;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.lp-form { display: flex; flex-direction: column; gap: 0.875rem; }

.lp-field { display: flex; flex-direction: column; gap: 0.3rem; }

.lp-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-input {
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid rgba(232, 184, 75, 0.4);
  border-radius: var(--iris-radius-sm);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.lp-input::placeholder { color: rgba(74, 26, 26, 0.45); }

.lp-input:focus {
  border-color: var(--iris-lavender);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.25);
}

.lp-input--code {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-align: center;
  padding-block: 0.875rem;
  background: #fff;
  font-variant-numeric: tabular-nums;
}

.lp-error {
  font-size: 0.8125rem;
  color: var(--iris-purple);
  background: #fff5f5;
  border: 1px solid rgba(196, 30, 30, 0.25);
  border-radius: var(--iris-radius-sm);
  padding: 0.5rem 0.75rem;
}

.lp-hint {
  font-size: 0.8125rem;
  color: var(--text-mid);
  background: rgba(232, 184, 75, 0.12);
  border: 1px solid rgba(232, 184, 75, 0.35);
  border-radius: var(--iris-radius-sm);
  padding: 0.625rem 0.875rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.lp-hint strong { color: var(--iris-dark); font-weight: 600; }

.lp-btn {
  margin-top: 0.375rem;
  padding: 0.8125rem 1rem;
  background: var(--iris-purple);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--iris-radius-full);
  cursor: pointer;
  transition: background 0.2s, transform 0.08s;
  width: 100%;
}

.lp-btn:hover:not(:disabled) { background: var(--iris-mid); }
.lp-btn:active:not(:disabled) { transform: scale(0.99); }
.lp-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.lp-change-link {
  background: none;
  border: none;
  border-bottom: 1px solid currentColor;
  color: var(--iris-purple);
  font-size: inherit;
  font-family: inherit;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
}

.lp-change-link:hover { opacity: 0.7; }

/* Art panel — warm Iris palette */
.lp-art-side {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--iris-dark);
}

.lp-art-frame {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
  border-radius: var(--iris-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--iris-shadow-lg);
}

.lp-art-frame__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, var(--iris-dark) 0%, #4a0808 55%, #1a0505 100%);
}

.lp-art-frame__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.lp-art-frame__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.lp-art-frame__orb--1 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--iris-mid), transparent 65%);
  top: -60px; right: -40px;
  opacity: 0.5;
}

.lp-art-frame__orb--2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--iris-lavender), transparent 65%);
  bottom: 80px; left: -40px;
  opacity: 0.35;
}

.lp-art-frame__orb--3 {
  width: 150px; height: 150px;
  background: radial-gradient(circle, var(--iris-purple), transparent 65%);
  top: 45%; right: 10%;
  opacity: 0.3;
}

.lp-art-frame__shapes { position: absolute; inset: 0; }

.lp-art-shape {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 0.08);
}

.lp-art-shape--sq1 {
  width: 120px; height: 120px;
  top: 15%; left: 12%;
  transform: rotate(18deg);
}

.lp-art-shape--sq2 {
  width: 80px; height: 80px;
  top: 50%; right: 18%;
  transform: rotate(-12deg);
}

.lp-art-shape--sq3 {
  width: 200px; height: 200px;
  bottom: -40px; right: -40px;
  transform: rotate(8deg);
  border-color: rgba(232, 184, 75, 0.2);
}

.lp-art-shape--line {
  width: 1px;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgb(255 255 255 / 0.12), transparent);
  top: 20%; left: 50%;
}

.lp-art-shape--circle {
  width: 100px; height: 100px;
  border-radius: 50%;
  top: 60%; left: 20%;
  border-color: rgba(232, 184, 75, 0.25);
}

.lp-art-frame__copy {
  position: absolute;
  bottom: 2.5rem;
  left: 2.25rem;
  right: 2.25rem;
  z-index: 2;
}

.lp-art-frame__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iris-lavender);
  background: rgba(232, 184, 75, 0.12);
  border: 1px solid rgba(232, 184, 75, 0.28);
  border-radius: var(--iris-radius-full);
  padding: 0.25rem 0.625rem;
  margin-bottom: 0.875rem;
}

.lp-art-frame__tag::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--iris-lavender);
  border-radius: 50%;
}

.lp-art-frame__title {
  font-family: var(--font-display);
  color: white;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.lp-art-frame__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.8125rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .lp-wrap { grid-template-columns: 1fr; }
  .lp-art-side { display: none; }
  .lp-form-side {
    padding: 3rem 2rem;
    justify-content: flex-start;
    padding-top: 4rem;
    overflow-y: auto;
    height: 100vh;
    box-sizing: border-box;
  }
  html, body { overflow: auto; }
}
