/* ============================================================
   Apple-Style Login Form
   Clean, minimal design with animated password field reveal
   ============================================================ */

/* === Container === */
.apple-login-style {
	max-width: 420px !important;
	margin: 60px auto !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	font-family: Roboto, Arial, sans-serif !important;
}

.apple-login-style .ur-form-row,
.apple-login-style .ur-form-grid {
	padding: 0 !important;
	width: 445px;
	margin: 0 !important;
}

/* === Header / Title === */
.apple-login-header {
	text-align: center;
	margin-bottom: 36px !important;
	padding: 0 !important;
}

.apple-login-style .user-registration-login-title,
.apple-login-style .apple-login-default-title {
	display: block;
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1d1d1f !important;
	letter-spacing: -0.02em;
	line-height: 1.2 !important;
	margin-bottom: 8px !important;
}

.apple-login-style .user-registration-login-description {
	font-size: 15px !important;
	color: #86868b !important;
	font-weight: 400 !important;
	margin: 0 !important;
}

/* === Field Group Container === */
.apple-login-field-group {
	border: 1px solid #6D6D6D;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: border-color 0.2s ease;
}

.apple-login-field-group:focus-within {
	border-color: #0071e3;
	box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

/* === Input Rows === */
.apple-input-row {
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.apple-input-row .apple-input-wrapper {
	position: relative;
	padding: 0;
}

/* Separator between fields */
.apple-password-row {
	border-top: 1px solid #6D6D6D  !important;
}

/* === Float Label === */
.apple-float-label {
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #86868b !important;
	pointer-events: none;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 2;
	background: transparent;
	padding: 0 2px;
	margin: 0 !important;
	line-height: 1 !important;
}

/* Label floated up state */
.apple-float-label.active {
	top: 10px;
	transform: translateY(0);
	font-size: 11px !important;
	color: #86868b !important;
	letter-spacing: 0.02em;
}

/* CSS-only fallback for modern browsers (focus, not-empty, autofill) */
.apple-input-wrapper:has(input:focus) .apple-float-label,
.apple-input-wrapper:has(input:not(:placeholder-shown)) .apple-float-label,
.apple-input-wrapper:has(input:-webkit-autofill) .apple-float-label,
.apple-input-wrapper:has(input:autofill) .apple-float-label {
	top: 10px;
	transform: translateY(0);
	font-size: 11px !important;
	color: #86868b !important;
	letter-spacing: 0.02em;
}

/* === Input Fields === */
.apple-input-row .apple-input,
.apple-input-row input.input-text {
	width: 100% !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 24px 16px 8px 16px !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #1d1d1f !important;
	background: transparent !important;
	outline: none !important;
	box-shadow: none !important;
	height: 54px !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.apple-input-row .apple-input::placeholder,
.apple-input-row input.input-text::placeholder {
	color: transparent !important;
}

.apple-input-row .apple-input:focus::placeholder,
.apple-input-row input.input-text:focus::placeholder {
	color: transparent !important;
}

/* When no label, show placeholder */
.apple-input-row .apple-input.no-label::placeholder,
.apple-input-row input.input-text.no-label::placeholder {
	color: #86868b !important;
}

/* === Password Row - Hidden Initially === */
.apple-password-row {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
	            opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	border-top-width: 0;
}

.apple-password-row.revealed {
	max-height: 80px;
	opacity: 1;
	border-top-width: 1px;
}

/* === Password toggle icon === */
.apple-password-toggle {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #86868b !important;
	text-decoration: none !important;
	font-size: 18px !important;
	z-index: 3;
	transition: color 0.2s ease;
}

.apple-password-toggle:hover {
	color: #1d1d1f !important;
}

/* === Password input group === */
.apple-input-row .password-input-group {
	position: relative;
	display: block;
}

/* === Extras Row (Remember me + Lost password) === */
.apple-extras-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 8px !important;
	margin-bottom: 24px;
	padding: 0 !important;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
	            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

.apple-extras-row.revealed {
	max-height: 50px;
	opacity: 1;
}

/* Remember me */
.apple-remember-me {
	margin: 0 !important;
	padding: 0 !important;
}

.apple-checkbox-label {
	display: flex !important;
	align-items: center !important;
	gap: 6px;
	font-size: 13px !important;
	color: #1d1d1f !important;
	cursor: pointer;
	margin: 0 !important;
}

.apple-checkbox {
	width: 16px !important;
	height: 16px !important;
	accent-color: #0071e3;
	border-radius: 4px;
	cursor: pointer;
	  outline: none;

}

.apple-checkbox[type="checkbox"] {
	  accent-color: #000000; 
  /* Makes the checkbox larger */
  transform: scale(1);
  outline: none;
}

/* Lost password */
.apple-lost-password {
	margin: 0 !important;
	padding: 0 !important;
}

.apple-lost-password a {
	font-size: 14px !important;
	color: #0071e3 !important;
	text-decoration: none !important;
	font-weight: 400 !important;
	transition: color 0.15s ease;
}

.apple-lost-password a:hover {
	color: #0077ed !important;
	text-decoration: underline !important;
}

/* === Submit Button === */
.apple-submit-row {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
	            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.apple-submit-row.revealed {
	max-height: 70px;
	opacity: 1;
}

.apple-submit-btn {
	width: 100% !important;
	padding: 14px 20px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	border: none !important;
	border-radius: 12px !important;
	background: #1d1d1f !important;
	color: #fff !important;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
	letter-spacing: 0.01em;
	font-family: inherit !important;
	line-height: 1.2 !important;
}

.apple-submit-btn:hover {
	background: #333336 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
}

.apple-submit-btn:active {
	transform: scale(0.985) !important;
	background: #0303f8 !important;
}

/* === Registration link === */
.apple-register-link {
	text-align: center;
	margin-top: 8px !important;
	padding: 0 !important;
	font-size: 14px !important;
	color: #1d1d1f !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-wrap: wrap;
}

.apple-register-link a {
	font-size: 14px !important;
	color: #0071e3 !important;
	text-decoration: none !important;
	font-weight: 400 !important;
	transition: color 0.15s ease;
}

.apple-register-link a:hover {
	color: #0077ed !important;
	text-decoration: underline !important;
}

/* === Notices === */
.apple-login-style .user-registration-error,
.apple-login-style .user-registration-message,
.apple-login-style .user-registration-info {
	border-radius: 10px !important;
	font-size: 14px !important;
	padding: 12px 16px !important;
	margin-bottom: 20px !important;
	font-family: inherit !important;
}

/* === Hide default WC/UR styling cruft === */
.apple-login-style .ur-frontend-form--bordered,
.apple-login-style .input-wrapper {
	border: none !important;
	padding: 0 !important;
}

.apple-login-style .ur-icon {
	display: none !important;
}

/* === Remove default margins from form-row === */
.apple-login-style .form-row {
	margin: 0 !important;
	padding: 0 !important;
}

/* === Responsive === */
@media (max-width: 480px) {
	.apple-login-style {
		max-width: 100% !important;
		margin: 30px 20px !important;
	}

	.apple-login-style .user-registration-login-title,
	.apple-login-style .apple-login-default-title {
		font-size: 24px !important;
	}
}

/* === Social Divider === */
.apple-social-divider {
	display: flex !important;
	align-items: center;
	text-align: center;
	margin: 16px 0 14px !important;
	gap: 12px;
	color: #86868b;
	font-size: 13px;
}

.apple-social-divider::before,
.apple-social-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #d2d2d7;
}

/* === Google Button Wrapper === */
.apple-google-btn-wrapper {
	margin-bottom: 4px !important;
	text-align: center;
}

/* NSL Google button override to match Apple style */
.apple-google-btn-wrapper .nsl-container {
	display: flex !important;
	justify-content: center !important;
}

.apple-google-btn-wrapper .nsl-container-buttons {
	width: 100% !important;
}

.apple-google-btn-wrapper .nsl-button {
	width: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	padding: 12px 20px !important;
	border: 1px solid #6D6D6D !important;
	border-radius: 12px !important;
	background: #fff !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #1d1d1f !important;
	text-decoration: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
	font-family: inherit !important;
	box-shadow: none !important;
	cursor: pointer !important;
}

.apple-google-btn-wrapper .nsl-button:hover {
	background: #f5f5f7 !important;
	border-color: #b0b0b5 !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
}

.apple-google-btn-wrapper .nsl-button-svg-container {
	display: flex !important;
	align-items: center !important;
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0 !important;
}

.apple-google-btn-wrapper .nsl-button-label-container {
	font-family: inherit !important;
}

/* === Static Forgot Password (always visible) === */
.apple-static-forgot-password {
	text-align: center;
	display: flex !important;
	justify-content: center;
	margin: 16px 0 4px !important;
	padding: 0 !important;
}

.apple-static-forgot-password a {
	font-size: 14px !important;
	color: #0071e3 !important;
	text-decoration: none !important;
	font-weight: 400 !important;
	transition: color 0.15s ease;
}

.apple-static-forgot-password a:hover {
	color: #0077ed !important;
	text-decoration: underline !important;
}




@media (max-width: 600px) {
.apple-login-style .ur-form-row,
.apple-login-style .ur-form-grid {
	/* padding: 0 !important; */
	width: 100%;
	/* margin: 0 !important; */
}

.user-registration{
	width: 100%;
		padding-inline:16px !important;

	
}

.apple-login-style{
	max-width: 100% !important;
    width: 100% !important;
	    margin: 0 !important;
}
}

/* === Hide default browser password reveal eye === */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
	display: none !important;
}
