.rokeby-resident-access-shell {
  display: grid;
  gap: 14px;
}

.rokeby-resident-access-card {
  text-align: center;
  max-width: 440px;
  padding: 20px;
  margin: 0 auto;
  border: 1px solid #d8dde3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.rokeby-resident-access-card h3 {
  margin: 0 0 10px;
}

.rokeby-resident-access-card p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.55;
}

.rokeby-resident-access-form {
  display: grid;
  gap: 12px;
}

.rokeby-resident-access-label {
  font-weight: 600;
  color: #15222d;
}

.rokeby-resident-access-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.rokeby-resident-access-input:focus,
.rokeby-resident-access-button:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
}

.rokeby-resident-access-button {
  border: 0;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: #1d4ed8;
}

.rokeby-resident-access-button--secondary {
  color: #15222d;
  background: #e2e8f0;
}

.rokeby-resident-access-button:hover,
.rokeby-resident-access-button--secondary:hover {
	border: none !important;
}

.rokeby-resident-access-message {
  margin-bottom: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  line-height: 1.45;
}

.rokeby-resident-access-message--success {
  background: #ecfdf5;
  color: #166534;
}

.rokeby-resident-access-message--error {
  background: #fef2f2;
  color: #991b1b;
}

.rokeby-resident-access-message--transient {
  animation: rokebyResidentAccessFadeOut 0.45s ease 60s forwards;
}

.rokeby-resident-access-logout-link {
  display: inline-flex;
  align-items: center;
  color: #1d4ed8;
  text-decoration: underline;
}

@keyframes rokebyResidentAccessFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
