.dea-auth { --dea-auth-accent: #63345f; display: grid; gap: 1rem; max-width: 34rem; }
.dea-auth--checking > :not(.dea-auth__loading) { display: none !important; }
.dea-auth__loading { display: flex; min-height: 8rem; align-items: center; justify-content: center; gap: .75rem; color: #554b52; font-weight: 600; }
.dea-auth__loading[hidden] { display: none; }
.dea-auth__spinner { width: 1.5rem; height: 1.5rem; border: 3px solid #ded7dc; border-top-color: var(--dea-auth-accent); border-radius: 50%; animation: dea-auth-spin .75s linear infinite; }
@keyframes dea-auth-spin { to { transform: rotate(360deg); } }
.dea-auth__form { display: grid; gap: 1rem; }
.dea-auth__form[hidden] { display: none; }
.dea-auth label { display: grid; gap: .4rem; font-weight: 600; }
.dea-auth input { box-sizing: border-box; width: 100%; min-height: 3rem; padding: .65rem .8rem; border: 1px solid #cfc6cc; border-radius: .5rem; font: inherit; }
/* .dea-auth button, .dea-auth__logout { justify-self: start; min-height: 2.75rem; padding: .65rem 1rem; border: 0; border-radius: 999px; background: var(--dea-auth-accent); color: #fff; cursor: pointer; font: inherit; font-weight: 700; } */
.dea-auth button:disabled { cursor: wait; opacity: .55; }
/* .dea-auth .dea-auth__link { min-height: auto; padding: 0; border-radius: 0; background: transparent; color: var(--dea-auth-accent); font-weight: 600; text-decoration: underline; } */
.dea-auth__message { padding: .8rem 1rem; border: 1px solid #91b9a8; border-radius: .5rem; background: #eff8f4; }
.dea-auth__message--error { border-color: #c98888; background: #fff1f1; }
.dea-auth__divider { display: flex; align-items: center; gap: .75rem; color: #746a71; }
.dea-auth__divider::before, .dea-auth__divider::after { height: 1px; flex: 1; background: #ded7dc; content: ''; }
.dea-auth .dea-auth__provider { 
    display: flex;
	align-items: center;
	justify-content: center;
    width: 100%; 
    min-height: 3rem; 
    justify-self: stretch; 
    padding: .65rem 1rem; 
    border-radius: .5rem; 
    text-align: center; 
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease; 
}
.dea-auth .dea-auth__provider > div {
	display: grid; 
	gap: .75rem; 
    grid-template-columns: 1.5rem minmax(0, 1fr) 1.5rem; 
    align-items: center; 
}
.dea-auth__provider-icon, .dea-auth__provider-spacer { width: 1.5rem; height: 1.5rem; }
.dea-auth__provider-icon svg { display: block; width: 100%; height: 100%; }
.dea-auth__provider-label { min-width: 0; }
.dea-auth .dea-auth__provider--google { border: 1px solid #747775; background: #fff; color: #1f1f1f; }
.dea-auth .dea-auth__provider--google:hover { background: #f8faff; border-color: #5f6368; box-shadow: 0 1px 2px rgba(60, 64, 67, .25); }
.dea-auth .dea-auth__provider--apple { border: 1px solid #000; background: #000; color: #fff; }
.dea-auth .dea-auth__provider--apple:hover { background: #242424; border-color: #242424; }
.dea-auth .dea-auth__provider--facebook { border: 1px solid #1877f2; background: #1877f2; color: #fff; }
.dea-auth .dea-auth__provider--facebook:hover { background: #166fe5; border-color: #166fe5; }
.dea-auth--recordings { max-width: none; }
.dea-auth--recordings > .dea-auth__message { grid-column: 1 / -1; }
.dea-auth__introduction { grid-column: 1 / -1; }
.dea-auth__introduction > :first-child { margin-top: 0; }
.dea-auth__introduction > :last-child { margin-bottom: 0; }
.dea-auth__entry { display: grid; gap: 1.25rem; }
.dea-auth__entry[hidden] { display: none; }
.dea-auth__panel,
.dea-account__panel { display: grid; align-content: start; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #ded7dc; border-radius: 1rem; background: #fff; }
.dea-account__panel.dea-account__panel--delete { margin-top: 2rem; }
.dea-auth__panel h2,
.dea-account__panel h2 { margin: 0; text-align: left; }
.dea-auth__panel p,
.dea-account__panel p { margin: 0 0 1rem; text-align: left; }
.dea-auth__email-actions,
.dea-account__actions { text-align: center; }
.dea-auth__email-actions label,
.dea-account__actions label { margin: 0 0 0.8rem; }
.dea-auth__email-actions .button,
.dea-account__actions .button { width: 100%; margin: 0 0 0.8rem; }
.dea-auth__email-actions .link,
.dea-account__actions .link { margin: 0 0.4rem 0.8rem; text-align: center; }
.dea-account__actions .link { justify-self: center; width: auto; }
/* .dea-auth .dea-auth__secondary { border: 1px solid var(--dea-auth-accent); background: #fff; color: var(--dea-auth-accent); } */
.dea-account { display: grid; gap: 2rem; }
.dea-account form { display: grid; gap: 1rem; }
.dea-account label { display: grid; gap: .4rem; font-weight: 600; }
/* .dea-account input, .dea-account textarea { box-sizing: border-box; width: 100%; padding: .65rem .8rem; border: 1px solid #cfc6cc; border-radius: .5rem; font: inherit; } */
.dea-account [hidden] { display: none; }
/* .dea-auth input:focus-visible, .dea-auth button:focus-visible, .dea-account input:focus-visible, .dea-account textarea:focus-visible, .dea-account button:focus-visible, .dea-auth__logout:focus-visible { outline: 3px solid #a66b9f; outline-offset: 3px; } */
.dea-account__emails button { background: none; border: none; padding: 0; color: #C19D54; font-weight: bold; }
.dea-account__emails button,
.dea-account__emails strong { margin-left: 10px; }
.dea-account__support { text-align: center; }
.dea-account__support .link { justify-self: center; width: auto; text-align: center; }
.dea-account__support form { margin-top: 20px; text-align: left; }
@media (min-width: 48rem) {
  .dea-auth--has-providers .dea-auth__entry,
  .dea-account--signed-in  { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .dea-auth__spinner { animation: none; }
}
