/* Habitat CRM — Premium teal, turquoise and gold theme */
* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #031b20;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 16px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 177, 164, .23), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(197, 157, 75, .10), transparent 45%),
    #031b20;
  color: #edf9f7;
}

.card {
  width: 100%;
  max-width: 430px;
  min-width: 0;
  padding: clamp(20px, 5vw, 32px);
  background: rgba(7, 39, 43, .96);
  border: 1px solid rgba(67, 220, 199, .32);
  border-radius: 18px;
  box-shadow:
    0 0 35px rgba(0, 210, 190, .10),
    0 20px 55px rgba(0, 0, 0, .35);
}

.mark {
  background: linear-gradient(135deg, #00b9a8, #08716e);
  color: #fff;
  box-shadow: 0 0 22px rgba(0, 220, 194, .20);
}

.eyebrow {
  color: #d6b96c;
  overflow-wrap: anywhere;
}

h1 {
  color: #f2fbf9;
  font-size: clamp(23px, 6vw, 27px);
  overflow-wrap: anywhere;
}

p {
  color: #b6cfcc;
  overflow-wrap: anywhere;
}

label {
  color: #dcebe8;
}

input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #092e32;
  border: 1px solid #28575a;
  color: #fff;
}

input::placeholder {
  color: #9ab5b2;
}

input:focus {
  outline: 2px solid #27d7c0;
  border-color: #27d7c0;
}

button {
  background: linear-gradient(100deg, #078f83, #0bb8a4);
  color: #fff;
  overflow-wrap: anywhere;
  transition: filter .2s ease, box-shadow .2s ease;
}

button:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 18px rgba(0, 220, 194, .18);
}

.links {
  flex-wrap: wrap;
}

.links button {
  color: #e1c779;
}

.message {
  overflow-wrap: anywhere;
}

.message.error {
  background: #442525;
  color: #ffd4cf;
}

.message.info {
  background: #153d32;
  color: #b8f2d0;
}

.foot {
  color: #8faeaa;
  overflow-wrap: anywhere;
}

button:focus-visible,
input:focus-visible {
  outline: 2px solid #e5c66f;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  body {
    padding: 12px;
    place-items: center;
  }

  .card {
    width: 100%;
    max-width: 430px;
    padding: 22px 18px;
    border-radius: 15px;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 1px;
    line-height: 1.6;
  }

  .links {
    gap: 14px;
  }

  .links button {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 340px) {
  body {
    padding: 8px;
  }

  .card {
    padding: 18px 14px;
  }

  h1 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

