/* ============================================
   DN Registration Customization
   Blocksy Modal - Login & Register Tabs
   ============================================ */

/* === LOGIN TAB === */

/* Hide default "Remember Me" checkbox row */
.ct-login-form .login-remember {
	display: none !important;
}

/* Register link on login tab */
.dn-login-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 0;
	margin-bottom: 5px;
}

.dn-register-link {
	color: var(--theme-palette-color-1, #222);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.dn-register-link:hover {
	color: var(--theme-palette-color-2, #555);
}

/* === REGISTER TAB === */

/* Two-column layout for Full Name + Phone */
.dn-register-row {
	display: flex;
	gap: 12px;
	margin-bottom: 0;
}

.dn-field-half {
	flex: 1;
	min-width: 0;
}

.dn-field-half label {
	display: block;
	margin-bottom: 5px;
}

.dn-field-half input {
	width: 100%;
}

/* Login link on register tab */
.dn-register-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 5px;
}

.dn-login-link {
	color: var(--theme-palette-color-1, #222);
	font-size: 14px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.dn-login-link:hover {
	color: var(--theme-palette-color-2, #555);
}

/* Hide WooCommerce default privacy text in modal */
.ct-register-form .woocommerce-privacy-policy-text {
	display: none;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
	.dn-register-row {
		flex-direction: column;
		gap: 0;
	}
}
