/*
 * HW Members: minimal styles for the shortcodes. Layout and fonts come from
 * Divi. By default colours follow the Divi 5 global colours (--gcid-*), so
 * the boxes and buttons look like the rest of the site; colours and the
 * corner radius saved in Ustawienia → HW Members → Wygląd
 * (HW_Members_Appearance) are --hw-members-* variables and win. The last
 * value in each var() is the fallback without Divi. Classes can still be
 * overridden in the theme.
 */
.hw-members-notice,
.hw-members-message {
	border-radius: var(--hw-members-radius, 12px);
	color: var(--gcid-body-color, #13334d);
	line-height: 1.55;
	margin: 0 0 16px;
	padding: 14px 18px;
}

.hw-members-notice p:last-child,
.hw-members-message p:last-child {
	padding-bottom: 0;
}

.hw-members-notice .hw-members-form {
	margin-top: 12px;
}

/* Pages opened from e-mails and dpay: one message and one action, centred. */
.hw-members-centered {
	text-align: center;
}

.hw-members-notice,
.hw-members-message-info {
	background: #fef5ea;
	background: color-mix(in srgb, var(--gcid-primary-color, #f8982c) 10%, #fff);
	border: 0;
	border-left: 4px solid var(--hw-members-box-border, var(--gcid-primary-color, #f8982c));
}

.hw-members-message-success {
	background: #edfaef;
	border: 0;
	border-left: 4px solid #00a32a;
}

.hw-members-message-error {
	background: #fcf0f1;
	border: 0;
	border-left: 4px solid #d63638;
}

.hw-members-button {
	background: var(--hw-members-button-bg, var(--gcid-secondary-color, #13334d));
	border: 2px solid var(--hw-members-button-bg, var(--gcid-secondary-color, #13334d));
	border-radius: var(--hw-members-radius, 999px);
	color: var(--hw-members-button-text, #fff);
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	padding: 14px 30px;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s, border-color 0.25s;
}

.hw-members-button:hover,
.hw-members-button:focus {
	background: var(--hw-members-button-hover-bg, var(--gcid-jcbtik41mb, #c26d0c));
	border-color: var(--hw-members-button-hover-bg, var(--gcid-jcbtik41mb, #c26d0c));
	color: var(--hw-members-button-text, #fff);
}

.hw-members-status-active {
	color: var(--hw-members-status-active, #1d7a36);
	font-weight: 700;
}

.hw-members-status-inactive {
	color: var(--hw-members-status-inactive, #b3261e);
	font-weight: 700;
}

.hw-members-muted {
	color: #666;
}

.hw-members-bank-transfer dt {
	font-weight: 600;
}

.hw-members-bank-transfer dd {
	margin: 0 0 8px;
}

/* Titles in the boxes on pages opened from e-mails and dpay. */
.hw-members-confirmed-title,
.hw-members-box-title {
	font-size: 1.25em;
}
