/**
 * Divinity Accounts – front-end styles.
 *
 * Only loaded on the plugin pages (login, dashboards, forgot/reset password).
 * Colours and typography follow the existing theme (custom.css):
 * teal #007583 · purple #53409c · navy #152b57 · light #eaf5f6 / #f4f9fb.
 */

/* -------------------------------------------------------------------------
 * Gravity Forms confirmation note (appended by DA_Registration)
 * ---------------------------------------------------------------------- */
.da-reg-note a {
	color: #007583;
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
 * Forgot / reset password
 * ---------------------------------------------------------------------- */
.da-auth {
	padding: 60px 0 80px;
}

.da-auth .login-card {
	max-width: 560px;
	margin: 0 auto;
}

.da-auth-intro {
	margin: 0 0 22px;
	font-size: 14px;
	line-height: 1.6;
	color: #575a5f;
}

.da-auth-card .login-error,
.da-auth-card .form-success {
	margin-bottom: 20px;
}

.da-auth-card .login-error i,
.da-auth-card .form-success i {
	margin-right: 6px;
}

.login-submit.da-auth-submit {
	text-align: center;
	text-decoration: none;
	margin-top: 6px;
}

.da-auth-card .register-links a {
	text-decoration: none;
}

/* -------------------------------------------------------------------------
 * Dashboards
 * ---------------------------------------------------------------------- */
.da-dash {
	background: #f4f9fb;
	padding-bottom: 70px;
}

.da-dash__hero {
	padding: 54px 0 48px;
	background-color: #eaf5f6;
	background-image: linear-gradient(90deg, #eaf5f6 0%, #eaf5f6 45%, #f0f7fd 100%);
	border-bottom-right-radius: 120px;
}

.da-dash--professional .da-dash__hero {
	background-image: linear-gradient(90deg, #f1eefb 0%, #f5f2fd 48%, #f0f7fd 100%);
}

.da-hero {
	display: flex;
	flex-wrap: wrap;
	gap: 26px 40px;
	align-items: flex-end;
	justify-content: space-between;
}

.da-hero__text h1 {
	margin: 6px 0 10px;
	font-family: "creato-b", "Poppins", sans-serif;
	font-size: 44px;
	font-weight: 600;
	line-height: 1.15;
	color: #152b57;
}

.da-hero__text h1 span {
	color: #007583;
}

.da-dash--professional .da-hero__text h1 span {
	color: #53409c;
}

.da-dash--professional .theme-h6 {
	color: #53409c;
}

.da-hero__text p {
	max-width: 560px;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #575a5f;
}

.da-hero__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.da-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	background: #ffffff;
}

.da-pill.is-active {
	color: #0b5d2a;
	background: #e3f6ea;
}

.da-pill.is-pending {
	color: #8a5b00;
	background: #fdf3dc;
}

.da-hero__meta {
	margin: 0;
	font-size: 13px;
	color: #575a5f;
}

.da-dash__body {
	padding-top: 40px;
}

.da-preview {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	padding: 12px 18px;
	border-radius: 14px;
	font-size: 13px;
	color: #152b57;
	background: #e6eefc;
}

.da-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}

.da-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 26px 28px;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.07);
}

.da-card__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.da-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	border-radius: 12px;
	font-size: 17px;
	color: #007583;
	background: #e6f2f4;
}

.da-dash--professional .da-card__icon {
	color: #53409c;
	background: #efecfa;
}

.da-card__title {
	margin: 0;
	font-family: "creato-b", "Poppins", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	color: #152b57;
}

.da-list {
	margin: 0;
}

.da-list__row {
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px dashed #e6edf2;
	font-size: 14px;
	line-height: 1.5;
}

.da-list__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.da-list dt {
	flex: 0 0 42%;
	margin: 0;
	font-weight: 500;
	color: #7a828c;
}

.da-list dd {
	flex: 1 1 auto;
	margin: 0;
	font-weight: 500;
	color: #152b57;
	text-align: right;
	word-break: break-word;
}

.da-list dd a {
	color: #007583;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.da-dash--professional .da-list dd a {
	color: #53409c;
}

.da-card__note {
	margin: 18px 0 16px;
	font-size: 13px;
	line-height: 1.6;
	color: #7a828c;
}

.da-logout {
	margin: auto 0 0;
}

.da-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 24px;
	border: 0;
	border-radius: 50px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all 0.25s ease;
}

.da-btn--ghost {
	color: #007583;
	background: transparent;
	border: 1px solid #007583;
}

.da-btn--ghost:hover,
.da-btn--ghost:focus {
	color: #ffffff;
	background: #007583;
}

.da-dash--professional .da-btn--ghost {
	color: #53409c;
	border-color: #53409c;
}

.da-dash--professional .da-btn--ghost:hover,
.da-dash--professional .da-btn--ghost:focus {
	color: #ffffff;
	background: #53409c;
}

.da-btn:focus-visible {
	outline: 3px solid rgba(0, 117, 131, 0.35);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ---------------------------------------------------------------------- */
@media (max-width: 991px) {
	.da-dash__hero {
		padding: 42px 0 38px;
		border-bottom-right-radius: 60px;
	}

	.da-hero__text h1 {
		font-size: 34px;
	}

	.da-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media (max-width: 575px) {
	.da-auth {
		padding: 36px 0 56px;
	}

	.da-dash__hero {
		padding: 32px 0 30px;
		border-bottom-right-radius: 40px;
	}

	.da-hero__text h1 {
		font-size: 27px;
	}

	.da-card {
		padding: 22px 20px;
	}

	.da-list__row {
		flex-direction: column;
		gap: 2px;
	}

	.da-list dt {
		flex: 1 1 auto;
		font-size: 13px;
	}

	.da-list dd {
		text-align: left;
	}
}
