/* Generated by scripts/build-css.mjs. Edit src/styles instead. */

/* src/styles/shared/00-base.css */
* {
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

/* src/styles/login/00-login.css */
:root {
  color-scheme: light;
  --bg: #f4f7f3;
  --panel: rgba(255, 255, 255, 0.94);
  --text: #082417;
  --muted: #65736b;
  --line: #dce5da;
  --deep: #082719;
  --green: #e5aa24;
  --cyan: #0b7285;
  --danger: #b23a48;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(252, 254, 250, 0.98) 0%, rgba(242, 247, 240, 0.92) 42%, rgba(8, 39, 25, 0.78) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(242, 247, 240, 0.9)),
    linear-gradient(135deg, rgba(11, 114, 133, 0.06), transparent 44%, rgba(229, 170, 36, 0.08)),
    url("/assets/x-mentions-hero.webp");
  background-position: center;
  background-size: cover, cover, cover, cover;
}

.page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
}

.brand {
  position: fixed;
  top: 28px;
  left: max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
}

.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 109, 73, 0.24);
  border-radius: 8px;
  color: var(--deep);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(229, 170, 36, 0.22);
}

.login {
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 26px 70px rgba(15, 36, 25, 0.18);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
}

.copy {
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: #24332f;
  font-size: 14px;
  font-weight: 650;
}

input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--text);
  background: #ffffff;
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(11, 114, 133, 0.2);
}

.message {
  margin: 0 0 16px;
  padding: 11px 12px;
  border: 1px solid rgba(178, 58, 72, 0.28);
  border-radius: 8px;
  color: #7e2431;
  background: rgba(178, 58, 72, 0.08);
  font-size: 14px;
  line-height: 1.45;
}

button {
  width: 100%;
  min-height: 48px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  color: var(--deep);
  background: linear-gradient(180deg, #f2c451, var(--green));
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(229, 170, 36, 0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

button:hover,
button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 36, 25, 0.12);
  outline: 3px solid rgba(11, 114, 133, 0.2);
  outline-offset: 2px;
}

.meta {
  margin-top: 18px;
  color: #7e8985;
  font-size: 12px;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 32px, 430px);
    align-items: end;
    padding-top: 96px;
  }

  .brand {
    left: 16px;
    top: 18px;
  }

  .login {
    padding: 24px;
  }
}
