/* ==========================================================================
   Wisa Account / Login Page
   ========================================================================== */

[x-cloak] {
	display: none !important;
}

/* Hide default WooCommerce layout */
.woocommerce-account .u-columns,
.woocommerce-account .col2-set {
	display: none;
}

/* Hide page title on login/register view */
.woocommerce-account:not(.logged-in) .entry-title,
.woocommerce-account:not(.logged-in) .page-title {
	display: none;
}

/* Wrapper */
.wisa-account-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	max-width: 1200px;
	margin: 40px auto;
	padding: 0 20px;
	align-items: start;
}

/* Cards */
.wisa-account-card {
	background: #fff;
	border-radius: 16px;
	padding: 40px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.03);
}

.wisa-account-login {
	background: #f0f8f6;
}

/* Headings */
.wisa-account-card h2 {
	font-family: 'Anek Latin', sans-serif;
	font-weight: 800;
	color: #06107A;
	font-size: 28px;
	margin: 0 0 4px;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.wisa-register-subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #374151;
	margin: 0 0 12px;
	font-weight: 500;
}

/* Fields */
.wisa-field {
	margin-bottom: 16px;
}

.wisa-field label {
	display: block;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 6px;
}

.wisa-field label .required {
	color: #06107A;
}

.wisa-field input[type="text"],
.wisa-field input[type="email"],
.wisa-field input[type="password"],
.wisa-field input[type="tel"],
.wisa-field input[type="url"],
.wisa-field select {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	font-family: 'Inter', sans-serif;
	background: #fff;
	color: #1f2937;
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.wisa-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	font-weight: 500;
}

.wisa-field input:focus,
.wisa-field select:focus {
	outline: none;
	border-color: #06107A;
	box-shadow: 0 0 0 3px rgba(6, 16, 122, 0.08);
}

.wisa-field input::placeholder {
	color: #9ca3af;
}

/* Two-column row (voornaam / achternaam) */
.wisa-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.wisa-field-row .wisa-field {
	margin-bottom: 0;
}

/* Actions row */
.wisa-field--actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Remember me */
.wisa-remember {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-size: 13px !important;
	font-weight: 400 !important;
	color: #6b7280 !important;
	cursor: pointer;
}

.wisa-remember input[type="checkbox"] {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 1.5px solid #d1d5db;
	accent-color: #06107A;
}

/* Buttons */
.wisa-btn {
	width: 100%;
	background: #06107A;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 13px 16px;
	font-size: 15px;
	font-weight: 600;
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
	letter-spacing: 0.01em;
}

.wisa-btn:hover {
	background: #040d61;
}

.wisa-btn:active {
	transform: translateY(1px);
}

/* Lost password */
.wisa-lost-password {
	text-align: center;
	margin: 16px 0 0;
}

.wisa-lost-password a {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s;
}

.wisa-lost-password a:hover {
	color: #06107A;
}

/* Password notice */
.wisa-password-notice {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 16px;
}

/* Wederverkoper notice */
.wisa-register-notice {
	background: #FEF3CD;
	border-left: 4px solid #F0AD4E;
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	color: #664d03;
	margin-bottom: 16px;
	line-height: 1.5;
}

/* Privacy notice */
.wisa-privacy-notice {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	color: #9ca3af;
	line-height: 1.6;
	margin: 0 0 20px;
}

.wisa-privacy-notice a {
	color: #06107A;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Pending account notice (My Account dashboard) */
.wisa-pending-notice {
	text-align: center;
	padding: 60px 20px;
	max-width: 480px;
	margin: 0 auto;
}

.wisa-pending-notice__icon {
	margin-bottom: 20px;
}

.wisa-pending-notice h2 {
	font-family: 'Anek Latin', sans-serif;
	font-weight: 800;
	color: #06107A;
	font-size: 24px;
	margin: 0 0 12px;
}

.wisa-pending-notice p {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0 0 8px;
}

.wisa-pending-notice__logout {
	display: inline-block;
	margin-top: 24px;
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	color: #06107A;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* WooCommerce notices override for account page */
.woocommerce-account .woocommerce-notices-wrapper {
	max-width: 1000px;
	margin: 0 auto 20px;
	padding: 0 20px;
}

/* Mobile */
@media (max-width: 768px) {
	.wisa-account-wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 20px auto;
		padding: 0 16px;
	}

	.wisa-account-card {
		padding: 28px 24px;
		border-radius: 12px;
	}

	.wisa-account-card h2 {
		font-size: 24px;
	}

	.wisa-field-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.wisa-field-row .wisa-field {
		margin-bottom: 16px;
	}
}
