/* dakota-branch-login — canonical component stylesheet. */
:root {
  color-scheme: light;
  font-family: system-ui,-apple-system,"Segoe UI",sans-serif;
  color: #392a2f;
  background: #351822;
}

* {
  box-sizing: border-box;
}

body.dc-login {
  margin: 0;
  background: radial-gradient(ellipse at 12% 8%,#91536833,transparent 48%),radial-gradient(ellipse at 95% 100%,#c6a17116,transparent 45%),linear-gradient(140deg,#301a24,#571e32 65%,#391b29);
}

body.dc-login:before,body.dc-login:after {
  content: "";
  position: fixed;
  border: 1px solid #dbc0930a;
  border-radius: 50%;
  width: 65vw;
  height: 65vw;
  pointer-events: none;
  z-index: 0;
}

body.dc-login:before {
  top: -42vw;
  right: -12vw;
}

body.dc-login:after {
  bottom: -44vw;
  left: -15vw;
}

.dc-login-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 36px 20px;
  gap: 20px;
}

.dc-login-card {
  width: 100%;
  max-width: 440px;
  background: #fcfaf6;
  border: 1px solid #d4b88b55;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 70px #160a1233;
  animation: dc-login-appear .35s ease-out;
}

.dc-login-brand {
  position: relative;
  padding: 30px 28px 27px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  background: radial-gradient(ellipse at top right,#91536724,transparent 70%),linear-gradient(120deg,#401d2b,#592236);
  border-bottom: 1px solid #c5a16d66;
}

.dc-login-brand:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #dfc59c1c;
  border-radius: 13px;
  pointer-events: none;
}

.dc-login-brand img {
  width: 207px;
  height: 68px;
  object-fit: contain;
}

.dc-login-brand>span {
  font-size: 9px;
  letter-spacing: 3.6px;
  color: #d8bd93;
}

.dc-login-body {
  padding: 32px 36px 30px;
}

.dc-login-heading {
  margin-bottom: 26px;
  text-align: center;
}

.dc-login-kicker {
  font-size: 9px;
  letter-spacing: 2px;
  color: #9b7c54;
  font-weight: 650;
}

.dc-login-heading h1 {
  font-size: 27px;
  letter-spacing: -.6px;
  font-weight: 650;
  margin: 8px 0;
}

.dc-login-heading p {
  font-size: 13px;
  line-height: 1.6;
  color: #88787c;
  margin: 0;
}

.dc-login label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 18px 0 8px;
}

.dc-login input:not([type=hidden]) {
  width: 100%;
  height: 48px;
  border: 1px solid #dfd5d6;
  border-radius: 10px;
  background: #fffefd;
  color: #392a2f;
  padding: 12px 14px;
  font: 14px system-ui,sans-serif;
  outline: none;
  transition: border-color .16s,box-shadow .16s;
}

.dc-login input::placeholder {
  color: #aa9b9f;
  font-size: 13px;
}

.dc-login input:focus {
  border-color: #94566b;
  box-shadow: 0 0 0 3px #7e3b5410;
}

.dc-login-password {
  position: relative;
}

.dc-login .dc-login-password input {
  padding-right: 49px;
}

.dc-login-password button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #8e747e;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.dc-login-password button:hover {
  background: #f5ebef;
}

.dc-login-password svg {
  width: 20px;
  height: 20px;
}

.dc-login [hidden] {
  display: none !important;
}

.dc-login button:focus-visible {
  outline: 2px solid #b59060;
  outline-offset: 3px;
}

#dc-login-caps {
  font-size: 12px;
  color: #987747;
  margin: 8px 0 0;
}

#dc-login-error {
  font-size: 12px;
  line-height: 1.65;
  padding: 11px 13px;
  border-radius: 8px;
  color: #982e48;
  background: #f9e9ed;
  border: 1px solid #efd3dc;
  margin: 16px 0 0;
  overflow-wrap: anywhere;
}

#dc-login-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  border: 1px solid #702d43;
  border-radius: 10px;
  background: linear-gradient(110deg,#5b2337,#7d2f49);
  color: #fff9ef;
  font: 600 14px system-ui,sans-serif;
  margin-top: 25px;
  padding: 12px 16px;
  cursor: pointer;
  transition: filter .16s,transform .16s;
}

#dc-login-submit:hover {
  filter: brightness(1.08);
}

#dc-login-submit:active {
  transform: translateY(1px);
}

#dc-login-submit:disabled {
  opacity: .75;
  cursor: wait;
}

#dc-login-submit>svg {
  width: 18px;
  height: 18px;
}

.dc-login-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid #fff5;
  border-top-color: #fff;
  border-radius: 50%;
  animation: dc-login-spin .7s linear infinite;
}

.dc-login-card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e9e1db;
  padding: 17px 20px;
  font-size: 10px;
  color: #99858b;
  letter-spacing: .2px;
}

.dc-login-card-footer i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b69b70;
}

.dc-login-copyright {
  font-size: 10px;
  color: #c3a7af;
  margin: 0;
  letter-spacing: .3px;
}

@keyframes dc-login-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes dc-login-appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width:480px) {
  .dc-login-page {
    padding: 24px 18px;
    gap: 18px;
  }

  .dc-login-body {
    padding: 27px 25px;
  }

  .dc-login-brand {
    padding: 25px;
  }

  .dc-login-brand img {
    width: 188px;
    height: 62px;
  }

  .dc-login-card {
    border-radius: 18px;
  }
}

@media (max-height:650px) and (min-width:481px) {
  .dc-login-page {
    padding: 20px;
  }

  .dc-login-brand {
    padding: 18px;
  }

  .dc-login-brand img {
    height: 48px;
  }

  .dc-login-body {
    padding: 22px 32px;
  }

  .dc-login-heading {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .dc-login-card,.dc-login-spinner {
    animation: none;
  }

  .dc-login input,#dc-login-submit {
    transition: none;
  }
}
