/* Ember Login Redirect — matches your clean off-white + pill button style */
.elr-login,
.elr-login * {
	font-family: "Poppins", sans-serif;
	box-sizing: border-box;
}

.elr-login {
	max-width: 560px;
	margin: 2rem auto;
	padding: 0 1rem;
}

.elr-card {
	background: #fafafa;
	border: 1px solid rgba(0,0,0,0.08);
	border-radius: 1.1rem;
	padding: 1.25rem 1.25rem 1.35rem;
}

.elr-card__header {
	margin-bottom: 0.9rem;
}

.elr-title {
	margin: 0 0 0.25rem;
	font-size: 1.2rem;
	font-weight: 600;
	color: #111827;
}

.elr-subtitle {
	margin: 0;
	font-size: 0.92rem;
	color: #6b7280;
}

.elr-alert {
	margin: 0.9rem 0 0.75rem;
	padding: 0.8rem 0.9rem;
	border-radius: 0.9rem;
	border: 1px solid rgba(239, 68, 68, 0.35);
	background: rgba(239, 68, 68, 0.08);
	color: #991b1b;
	font-size: 0.9rem;
}

.elr-form {
	margin-top: 0.6rem;
}

.elr-field {
	margin-bottom: 0.85rem;
}

.elr-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 500;
	color: #111827;
	margin-bottom: 0.35rem;
}

.elr-field input[type="text"],
.elr-field input[type="password"]{
	width: 100%;
	padding: 0.75rem 0.9rem;
	border-radius: 0.8rem;
	border: 1px solid rgba(0,0,0,0.12);
	background: #ffffff;
	outline: none;
	font-size: 0.95rem;
}

.elr-field input:focus {
	border-color: rgba(17,24,39,0.45);
	box-shadow: 0 0 0 3px rgba(17,24,39,0.08);
}

.elr-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin: 0.25rem 0 1rem;
	flex-wrap: wrap;
}

.elr-check {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: #374151;
}

.elr-check input {
	transform: translateY(1px);
}

.elr-link {
	font-size: 0.9rem;
	color: #111827;
	text-decoration: none;
	border-bottom: 1px solid rgba(17,24,39,0.2);
}

.elr-link:hover {
	border-bottom-color: rgba(17,24,39,0.55);
}

.elr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 999px;
	padding: 0.7rem 1.05rem;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, opacity 0.12s ease-out;
}

.elr-btn--primary{
	background: #111827;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(17,24,39,0.14);
}

.elr-btn--primary:hover{
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(17,24,39,0.2);
}

.elr-btn--full{
	width: 100%;
}

.elr-hp {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 640px) {
	.elr-login {
		margin: 1.25rem auto;
	}
	.elr-card {
		padding: 1.05rem;
	}
	.elr-row {
		flex-direction: column;
		align-items: stretch;
	}
	.elr-link {
		display: inline-block;
		width: fit-content;
	}
}

/* =========================================
   Ember Login UI – Buttons & Layout
   ========================================= */

/* Ensure Poppins everywhere inside login */
.elr-login-wrap,
.elr-login-wrap * {
    font-family: "Poppins", sans-serif !important;
}

/* Login card wrapper (matches portal cards) */
.elr-login-wrap {
    max-width: 420px;
    margin: 0 auto;
}

/* Inner spacing */
.elr-login-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Title */
.elr-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Fields */
.elr-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.elr-field label {
    font-size: 0.85rem;
    font-weight: 500;
}

.elr-field input {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.15);
    font-size: 0.9rem;
}

/* Remember row */
.elr-remember {
    font-size: 0.8rem;
}

/* Actions (BUTTON GROUP) */
.elr-actions,
.elr-form .elr-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem; /* 👈 THIS is the spacing you wanted */
    margin-top: 0.75rem;
}

/* Buttons */
.elr-actions .esp-button,
.elr-form .esp-button {
    font-family: "Poppins", sans-serif !important;
    font-size: 0.85rem;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    width: 100%;
}

/* Links */
.elr-links {
    text-align: center;
    margin-top: 0.5rem;
}

.elr-link {
    font-size: 0.8rem;
    text-decoration: none;
    color: #2563eb;
}

.elr-link:hover {
    text-decoration: underline;
}

/* Flash messages */
.elr-success,
.elr-error {
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 0.8rem;
}

.elr-success {
    background: rgba(34,197,94,0.12);
    color: #166534;
    border: 1px solid rgba(34,197,94,0.35);
}

.elr-error {
    background: rgba(239,68,68,0.12);
    color: #991b1b;
    border: 1px solid rgba(239,68,68,0.35);
}

/* Mobile polish */
@media (max-width: 600px) {
    .elr-login-wrap {
        padding: 0;
    }

    .elr-title {
        font-size: 1.1rem;
    }
}
#content > div > div > div > div > div > div > div > div > div > div > a.esp-button.esp-button--ghost.esp-button--full{
	color: black;
}
