/**
 * VetPlusNL My Account Stylesheet
 */

body.vetplusnl-account-guest-page .fusion-page-title-bar,
body.vetplusnl-account-guest-page .fusion-tb-page-title-bar,
body.vetplusnl-account-guest-page .avada-page-titlebar-wrapper,
body.vetplusnl-reg-thank-you-page .fusion-page-title-bar,
body.vetplusnl-reg-thank-you-page .fusion-tb-page-title-bar,
body.vetplusnl-reg-thank-you-page .avada-page-titlebar-wrapper {
	display: none !important;
}

/* ============================================
   GUEST: TAB LAYOUT
   ============================================ */

body.woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
body.woocommerce-account:not(.logged-in) #customer_login {
	display: none !important;
}

.vetplusnl-account-guest {
	max-width: 640px;
	margin: 0 auto 3rem;
}

.vetplusnl-account-intro {
	text-align: center;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #444;
	margin: 0 0 1.75rem;
}

.vetplusnl-account-intro__note {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.9rem;
	color: #666;
}

.vetplusnl-account-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 1.5rem;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	overflow: hidden;
	background: #f4f6f9;
}

.vetplusnl-account-tab {
	flex: 1;
	padding: 0.85rem 1rem;
	border: 0;
	background: transparent;
	font-size: 1rem;
	font-weight: 600;
	color: #4a5568;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.vetplusnl-account-tab.is-active {
	background: #fff;
	color: #1a365d;
	box-shadow: inset 0 -3px 0 #1a365d;
}

.vetplusnl-account-tab:hover:not(.is-active) {
	background: rgba(255, 255, 255, 0.6);
}

.vetplusnl-account-panel {
	display: none !important;
}

.vetplusnl-account-panel.is-active {
	display: block !important;
}

.vetplusnl-account-card {
	padding: 2rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(26, 54, 93, 0.06);
}

.vetplusnl-account-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	color: #1a365d;
}

.vetplusnl-account-card__subtitle {
	margin: 0 0 1.5rem;
	color: #64748b;
	font-size: 0.95rem;
}

.vetplusnl-account-guest .vetplusnl-invoice-email-2-toggle.form-row {
	margin: 0.15rem 0 0.85rem;
}

.vetplusnl-invoice-email-2-toggle {
	padding: 0.5rem 0.75rem;
	border: 1px solid #e8edf3;
	border-radius: 6px;
	background: #f8fafc;
}

.vetplusnl-invoice-email-2-toggle__label {
	display: flex;
	align-items: center;
	margin: 0;
	font-weight: 600;
	font-size: 0.9375rem;
	color: #334155;
	cursor: pointer;
}

.vetplusnl-account-guest .vetplusnl-invoice-email-2-toggle__input[type='checkbox'] {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin: 0 0.625rem 0 0 !important;
	accent-color: #1a365d;
	cursor: pointer;
}

.vetplusnl-invoice-email-2-toggle__text {
	line-height: 1.35;
}

.vetplusnl-invoice-email-2-toggle__hint {
	display: block;
	margin: 0.25rem 0 0 1.625rem;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.35;
}

.vetplusnl-invoice-email-2-field--hidden {
	display: none !important;
}

/* ============================================
   FORM FIELDS
   ============================================ */

.vetplusnl-account-guest .form-row {
	margin-bottom: 1rem;
	clear: both;
	width: 100%;
}

.vetplusnl-account-guest #vetplusnl-panel-login form.login {
	display: block !important;
}

.vetplusnl-account-guest #vetplusnl-panel-login form.login::after {
	content: '';
	display: table;
	clear: both;
}

.vetplusnl-account-guest #vetplusnl-panel-login .form-row,
.vetplusnl-account-guest #vetplusnl-panel-login .woocommerce-form-row,
.vetplusnl-account-guest #vetplusnl-panel-login p.form-row {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: block !important;
}

.vetplusnl-account-guest .form-row label {
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.35rem;
	display: block;
}

.vetplusnl-account-guest .input-text,
.vetplusnl-account-guest select,
.vetplusnl-account-guest .woocommerce-Input {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.vetplusnl-account-guest .input-text:focus,
.vetplusnl-account-guest select:focus {
	border-color: #2daee0;
	box-shadow: 0 0 0 3px rgba(45, 174, 224, 0.15);
	outline: none;
}

.vetplusnl-account-guest .input-text::placeholder,
.vetplusnl-account-guest input::placeholder,
.vetplusnl-account-guest textarea::placeholder {
	color: #94a3b8;
	opacity: 1;
}

.vetplusnl-account-guest .form-row.woocommerce-invalid .input-text,
.vetplusnl-account-guest .form-row.woocommerce-invalid select {
	border-color: #dc2626;
}

.vetplusnl-account-guest .description {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: #64748b;
}

.vetplusnl-account-guest .description a {
	color: #1a365d;
}

/* Login actions */
.vetplusnl-login-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.vetplusnl-login-actions .lost_password {
	margin: 0;
}

.vetplusnl-login-submit {
	margin-bottom: 0;
}

.vetplusnl-login-submit .button,
.vetplusnl-wizard-submit .button,
.vetplusnl-wizard-nav .button {
	width: 100%;
	padding: 0.85rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 6px;
}

.post-content .vetplusnl-account-switch,
.vetplusnl-account-switch {
	text-align: center;
	margin: 1.25rem 0 0;
	font-size: 0.95rem;
	color: #64748b;
}

.vetplusnl-account-switch__link {
	background: none;
	border: 0;
	padding: 0;
	color: #1a365d;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

/* ============================================
   REGISTRATION WIZARD
   ============================================ */

.vetplusnl-wizard-fields {
	display: none;
}

.vetplusnl-wizard-progress {
	scroll-margin-top: 120px;
	margin-bottom: 1.5rem;
}

.vetplusnl-wizard-progress__track {
	height: 4px;
	background: #e2e8f0;
	border-radius: 2px;
	margin-bottom: 1rem;
	overflow: hidden;
}

.vetplusnl-wizard-progress__fill {
	height: 100%;
	width: 25%;
	background: #1a365d;
	border-radius: 2px;
	transition: width 0.3s ease;
}

.vetplusnl-wizard-steps {
	display: flex;
	justify-content: space-between;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 0.25rem;
}

.vetplusnl-wizard-steps li {
	flex: 1;
	text-align: center;
	font-size: 0.75rem;
	color: #94a3b8;
	line-height: 1.3;
}

.vetplusnl-wizard-steps li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: #e2e8f0;
	color: #64748b;
	font-weight: 700;
	font-size: 0.8rem;
	margin-bottom: 0.2rem;
}

.vetplusnl-wizard-steps li.is-active {
	color: #1a365d;
	font-weight: 600;
}

.vetplusnl-wizard-steps li.is-active span,
.vetplusnl-wizard-steps li.is-done span {
	background: #1a365d;
	color: #fff;
}

.vetplusnl-wizard-steps li.is-done {
	color: #475569;
}

.vetplusnl-wizard-panel {
	display: none !important;
}

.vetplusnl-wizard-panel.is-active {
	display: block !important;
}

.vetplusnl-wizard-panel[hidden] {
	display: none !important;
}

.vetplusnl-wizard-panel__title {
	margin: 0 0 0.25rem;
	font-size: 1.15rem;
	color: #1a365d;
}

.vetplusnl-wizard-panel__desc {
	margin: 0 0 1.25rem;
	color: #64748b;
	font-size: 0.9rem;
}

.vetplusnl-wizard-panel .form-row-first,
.vetplusnl-wizard-panel .form-row-last {
	width: 48%;
	display: inline-block;
	vertical-align: top;
}

.vetplusnl-wizard-panel .form-row-first {
	margin-right: 4%;
}

.vetplusnl-wizard-nav {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.vetplusnl-wizard-nav[hidden] {
	display: none !important;
}

.vetplusnl-wizard-nav .vetplusnl-wizard-prev {
	flex: 1;
	background: #f1f5f9;
	color: #334155;
}

.vetplusnl-wizard-nav .vetplusnl-wizard-prev[hidden] {
	display: none !important;
}

.vetplusnl-wizard-nav .vetplusnl-wizard-next {
	flex: 2;
}

.vetplusnl-wizard-nav .vetplusnl-wizard-next[hidden] {
	display: none !important;
}

.vetplusnl-wizard-nav .vetplusnl-wizard-next:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.vetplusnl-wizard-submit {
	margin-top: 1rem;
}

.woocommerce-privacy-policy-text {
	font-size: 0.85rem;
	color: #64748b;
	padding: 0.75rem 1rem;
	background: #f8fafc;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	margin-bottom: 1rem;
}

.vetplusnl-wizard-summary {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.vetplusnl-wizard-summary__group {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1rem 1.25rem;
}

.vetplusnl-wizard-summary__title {
	margin: 0 0 0.75rem;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #1a365d;
}

.vetplusnl-wizard-summary__list {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem 1.25rem;
}

.vetplusnl-wizard-summary__item {
	margin: 0;
	min-width: 0;
}

.vetplusnl-wizard-summary__list dt {
	font-weight: 600;
	font-size: 0.8125rem;
	color: #64748b;
	margin: 0 0 0.15rem;
}

.vetplusnl-wizard-summary__list dd {
	margin: 0;
	color: #334155;
	font-size: 0.9375rem;
	line-height: 1.4;
	word-break: break-word;
}

/* Password strength meter (WooCommerce) */
.vetplusnl-account-guest .woocommerce-password-strength {
	margin-top: 0.5rem;
	padding: 0.5rem 0.75rem;
	border-radius: 6px;
	font-size: 0.875rem;
	font-weight: 600;
}

.vetplusnl-account-guest .woocommerce-password-strength.short,
.vetplusnl-account-guest .woocommerce-password-strength.bad {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.vetplusnl-account-guest .woocommerce-password-strength.good {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
}

.vetplusnl-account-guest .woocommerce-password-strength.strong {
	background: #f0fdf4;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.vetplusnl-account-guest .woocommerce-password-hint {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.85rem;
	color: #64748b;
}

.vetplusnl-account-guest #billing_country_field select,
.vetplusnl-account-guest .vetplusnl-country-locked select {
	background-color: #f1f5f9 !important;
	color: #64748b !important;
	cursor: not-allowed !important;
	pointer-events: none;
	opacity: 1;
}

/* Password visibility toggle */
.vetplusnl-account-guest .password-input {
	display: block;
	position: relative;
}

.vetplusnl-account-guest .password-input input[type="password"],
.vetplusnl-account-guest .password-input input[type="text"] {
	width: 100%;
	padding-right: 2.75rem !important;
}

.vetplusnl-account-guest .password-input input::-ms-reveal {
	display: none;
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input {
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 50% !important;
	right: 0.5rem !important;
	bottom: auto !important;
	transform: translateY(-50%) !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 4px;
	background: transparent !important;
	box-shadow: none !important;
	font-family: inherit !important;
	font-size: 0 !important;
	line-height: 0 !important;
	color: #64748b;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input:hover,
.woocommerce form .vetplusnl-account-guest .password-input .show-password-input:focus {
	background: rgba(148, 163, 184, 0.18) !important;
	color: #1a365d;
	outline: none;
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input::before {
	content: "" !important;
	display: block;
	width: 1.125rem;
	height: 1.125rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
	font-family: inherit !important;
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input:hover::before,
.woocommerce form .vetplusnl-account-guest .password-input .show-password-input:focus::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E");
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input.display-password::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.woocommerce form .vetplusnl-account-guest .password-input .show-password-input.display-password:hover::before,
.woocommerce form .vetplusnl-account-guest .password-input .show-password-input.display-password:focus::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231a365d' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* ============================================
   REGISTRATION THANK YOU
   ============================================ */

.vetplusnl-reg-thank-you {
	max-width: 720px;
	margin: 0 auto 3rem;
	padding: 0 1rem;
}

.vetplusnl-reg-thank-you__card {
	text-align: center;
}

.vetplusnl-reg-thank-you__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1.25rem;
	border-radius: 999px;
	background: #ecfdf5;
	color: #047857;
}

.vetplusnl-reg-thank-you__title {
	margin: 0 0 0.75rem;
	font-size: 1.75rem;
	color: #1a365d;
}

.vetplusnl-reg-thank-you__lead {
	margin: 0 0 1.5rem;
	color: #475569;
	font-size: 1rem;
	line-height: 1.6;
}

.vetplusnl-reg-thank-you__notice {
	margin: 0 0 1.75rem;
	padding: 1rem 1.15rem;
	border: 1px solid #fde68a;
	border-radius: 8px;
	background: #fffbeb;
	text-align: left;
}

.vetplusnl-reg-thank-you__notice strong {
	display: block;
	margin-bottom: 0.35rem;
	color: #92400e;
}

.vetplusnl-reg-thank-you__notice p {
	margin: 0;
	color: #78350f;
	font-size: 0.9375rem;
	line-height: 1.55;
}

.vetplusnl-reg-thank-you__steps-title {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	color: #1a365d;
	text-align: left;
}

.vetplusnl-reg-thank-you__steps {
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	counter-reset: vetplus-reg-step;
	text-align: left;
}

.vetplusnl-reg-thank-you__steps li {
	position: relative;
	margin: 0 0 0.85rem;
	padding: 0.85rem 0.85rem 0.85rem 3rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #f8fafc;
	counter-increment: vetplus-reg-step;
}

.vetplusnl-reg-thank-you__steps li::before {
	content: counter(vetplus-reg-step);
	position: absolute;
	left: 0.85rem;
	top: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	background: #1a365d;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
}

.vetplusnl-reg-thank-you__steps li strong {
	display: block;
	margin-bottom: 0.2rem;
	color: #1a365d;
}

.vetplusnl-reg-thank-you__steps li span {
	display: block;
	color: #64748b;
	font-size: 0.9rem;
	line-height: 1.5;
}

.vetplusnl-reg-thank-you__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

.vetplusnl-reg-thank-you__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.85rem 1.5rem;
	border: 2px solid transparent;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
}

.vetplusnl-reg-thank-you__button--primary {
	background: #1a365d;
	border-color: #1a365d;
	color: #fff !important;
	box-shadow: 0 2px 8px rgba(26, 54, 93, 0.18);
}

.vetplusnl-reg-thank-you__button--primary:hover,
.vetplusnl-reg-thank-you__button--primary:focus {
	background: #152c4d;
	border-color: #152c4d;
	color: #fff !important;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(26, 54, 93, 0.22);
}

.vetplusnl-reg-thank-you__button--secondary {
	background: #fff;
	border-color: #cbd5e1;
	color: #1a365d !important;
}

.vetplusnl-reg-thank-you__button--secondary:hover,
.vetplusnl-reg-thank-you__button--secondary:focus {
	background: #f8fafc;
	border-color: #1a365d;
	color: #1a365d !important;
	text-decoration: none;
}

@media (min-width: 520px) {
	.vetplusnl-reg-thank-you__actions {
		flex-direction: row;
		justify-content: center;
	}

	.vetplusnl-reg-thank-you__button {
		flex: 1 1 0;
		max-width: 14rem;
	}
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
	.vetplusnl-account-card {
		padding: 1.25rem;
	}

	.vetplusnl-wizard-progress {
		scroll-margin-top: 80px;
	}

	.vetplusnl-wizard-steps li {
		font-size: 0;
	}

	.vetplusnl-wizard-steps li span {
		font-size: 0.75rem;
	}

	.vetplusnl-wizard-panel .form-row-first,
	.vetplusnl-wizard-panel .form-row-last {
		width: 100%;
		display: block;
		margin-right: 0;
	}

	.vetplusnl-wizard-summary__list {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) {
	.vetplusnl-account-guest {
		max-width: 720px;
	}
}
