.samio-login-button,
.samio-register-button,
.samio-mobile-auth-bar a {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: background-color 160ms cubic-bezier(0.23, 1, 0.32, 1), color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1), transform 160ms cubic-bezier(0.23, 1, 0.32, 1);
}

.samio-login-button {
  border: 1.5px solid #163a34;
  background: #ffffff;
  color: #163a34 !important;
}

.samio-login-button:hover {
  background: #e9f1ed;
}

.samio-register-button {
  border: 1.5px solid #163a34;
  background: #163a34;
  color: #ffffff !important;
}

.samio-register-button:hover {
  border-color: #20564c;
  background: #20564c;
}

.samio-login-button:active,
.samio-register-button:active,
.samio-mobile-auth-bar a:active {
  transform: scale(0.97);
}

.samio-login-button:focus-visible,
.samio-register-button:focus-visible,
.samio-mobile-auth-bar a:focus-visible {
  outline: 3px solid rgba(243, 163, 143, 0.85);
  outline-offset: 2px;
}

#samio-mobile-auth-bar {
  display: none;
  border-bottom: 1px solid rgba(22, 58, 52, 0.14);
  background: #fbfaf5;
  padding: 0.75rem;
}

.samio-mobile-auth-bar__inner {
  display: grid;
  width: min(100%, 34rem);
  margin: 0 auto;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.samio-mobile-auth-bar__login {
  border: 1.5px solid #163a34;
  background: #ffffff;
  color: #163a34;
}

.samio-mobile-auth-bar__register {
  border: 1.5px solid #163a34;
  background: #163a34;
  color: #ffffff;
}

@media (max-width: 1023px) {
  #samio-mobile-auth-bar {
    display: block;
  }

  nav[aria-label="Mobilní navigace"] .samio-login-button,
  nav[aria-label="Mobilní navigace"] .samio-register-button {
    width: 100%;
    margin-top: 0.35rem;
  }
}

@media (max-width: 380px) {
  .samio-mobile-auth-bar__inner {
    grid-template-columns: 1fr;
  }
}

@media print {
  #samio-mobile-auth-bar,
  .samio-register-button {
    display: none !important;
  }
}
