/* 1) Ensure the Select2 widget fills the wrapper just like a native <select> */
	#newSignup-Modal .custom-input-wrapper .select2-container, #newSignup-ModalQuick .custom-input-wrapper .select2-container {
		width: 100% !important;
		position: absolute;
		top: 0;
		left: 0;
		z-index: 2;             /* sit above the custom-placeholder */
		height: 100%;
	}
	#sendotp[disabled] {
		opacity: 0.5;
	}
	/* 2) Style the “selection” box to match your inputs’ padding, border, font, etc */
	#newSignup-Modal .custom-input-wrapper .select2-container--default
	.select2-selection--single,
	#newSignup-Modal .custom-input-wrapper .select2-container--default
	.select2-selection--multiple,
	#newSignup-ModalQuick .custom-input-wrapper .select2-container--default
	.select2-selection--single,
	#newSignup-ModalQuick .custom-input-wrapper .select2-container--default
	.select2-selection--multiple
	{
		box-sizing: border-box;
		width: 100%;
		height: 100%;
		padding: 16px;           /* same as your inputs */
		font-size: 16px;
		border: 1.5px solid #97D2D4;
		border-radius: 0;
		background: transparent;
		cursor: pointer;
	}

	/* 3) Match the inner text color & placeholder style */
	#newSignup-Modal .custom-input-wrapper .select2-selection__rendered, #newSignup-ModalQuick .custom-input-wrapper .select2-selection__rendered {
		color: #142931;
		line-height: 1.2;
	}

	/* 4) Give the Select2 placeholder the same italic + opacity styling */
	#newSignup-Modal .custom-input-wrapper .select2-selection__placeholder, #newSignup-ModalQuick .custom-input-wrapper .select2-selection__placeholder {
		font-style: italic;
		font-weight: 500;
		opacity: 0.8;
		color: #333;
	}

	/* 5) Remove the stock Select2 arrow so your .custom-placeholder arrow shows */
	#newSignup-Modal .custom-input-wrapper .select2-selection__arrow, #newSignup-ModalQuick .custom-input-wrapper .select2-selection__arrow {
		display: none;
	}

	/* 6) On focus, mirror your input: thick dark border, no outline */
	#newSignup-Modal .custom-input-wrapper .select2-container--default
	.select2-selection--single:focus,
	#newSignup-Modal .custom-input-wrapper .select2-container--default
	.select2-selection--multiple:focus,
	#newSignup-Modal .custom-input-wrapper .select2-container--open
	.select2-selection--single,
	#newSignup-Modal .custom-input-wrapper .select2-container--open
	.select2-selection--multiple {
		border: 2px solid #142931 !important;
		box-shadow: none;
	}

	#newSignup-ModalQuick .custom-input-wrapper .select2-container--default
	.select2-selection--single:focus,
	#newSignup-ModalQuick .custom-input-wrapper .select2-container--default
	.select2-selection--multiple:focus,
	#newSignup-ModalQuick .custom-input-wrapper .select2-container--open
	.select2-selection--single,
	#newSignup-ModalQuick .custom-input-wrapper .select2-container--open
	.select2-selection--multiple {
		border: 2px solid #142931 !important;
		box-shadow: none;
	}

	/* 7) Push the dropdown below your wrapper (so it doesn’t get clipped) */
	#newSignup-Modal .select2-dropdown, #newSignup-ModalQuick .select2-dropdown {
		z-index: 9999;
	}

	/* Strong red glow for invalid fields */
	.invalid {
		border: 2px solid red !important;
		box-shadow: 0 0 8px red !important;
	}

	.stepsubtitle{
		color: #142931; font-weight:500;margin-bottom:20px;
	}

	/* Strong green glow for valid fields */
	.valid {
		border: 2px solid #97D2D4 !important;
		box-shadow: 0 0 8px #97D2D4 !important;
	}

	#newSignup-Modal .modal-content, #newSignup-ModalQuick .modal-content{
		margin-top: 5vh;
		min-height: 90vh;
		border: none;
		border-radius: 12px;
	}

	#newSignup-Modal.modal-body, #newSignup-ModalQuick.modal-body {
		padding-top: 0px !important;
	}

	#invoice-Modal .modal-dialog {
		width: auto;
		max-width: 90%;
		margin: 1rem auto;
	}
	.videobuttonwrapper{
		justify-content: start; display: flex;
	}
	@media screen and (min-width: 1400px) {
		#newSignup-Modal .modal-dialog, #newSignup-ModalQuick .modal-dialog{
			width: 1370px !important;
			max-width: 1370px !important;
			margin: auto;
		}
	}

	@media screen and (max-width: 600px) {
		#nextBtn, #submitBtn{
			margin-top: 5px;
		}

	}

	#sf-category-preview row{
		display:block;
	}
	@media screen and (min-width: 600px) {
		#sf-category-preview row{
			display:flex;
		}
		.videobuttonwrapper{
			justify-content: end; 
		}
	}


	/* Simple styles for the multi-step progress bar and steps */

	#progressbar, #progressbarQuick  {
		overflow: hidden;
		list-style: none;
		display: flex;
		justify-content: space-between;
		margin-bottom: 20px;
		border-bottom: 1px solid #97D2D4;
		border-top: 1px solid #97d2d4;
		padding-top: 32px;
		padding-bottom: 28px;
		margin-left: 0;
	}
	#progressbar li, #progressbarQuick li {
		justify-content: center;
		align-items: center;
		gap: 10px;
		vertical-align: middle;
		flex: 1;
		font-size: 14px;
		display: flex; /* Enable flexbox for the li elements */

	}
	.vertical-words {
		display: flex;
		flex-direction: column;
		line-height: 0.6;
		text-transform: uppercase;
		color: lightgray;
		font-weight: 600;
		font-size: 14px;
	}


	#progressbar li span, #progressbarQuick li span{ /* Target the icon spans specifically */
		order: -1; /* Move icons to the beginning (left) */
		margin-bottom: 5px; /* Add some space between the icon and text */
	}
	#progressbarQuick .vertical-words{
		flex-direction: row;
	}
	.step, .stepQuick {
		display: none;
	}
	.step.active, .stepQuick.active {
		display: block;
	}
	.sf-md-padding{
		padding-top: 20px;
	}
	.select2-container .select2-selection--multiple {
		min-height: 44px;
	}
	.spinner {
		animation: spin 2s linear infinite;
	}

	@keyframes spin {
		from {
			transform: rotate(0deg);
		}
		to {
			transform: rotate(360deg);
		}
	}
	.form-select.error + .error, .form-control.error + .error {
		position: initial;
	}
	#newSignup-Modal .modal-footer, #newSignup-ModalQuick .modal-footer{
		border:none;
		padding: 25px;
	}
	#newSignup-Modal .modal-header, #newSignup-ModalQuick .modal-header{
		border-radius: 12px;
		align-items: center;
		justify-content: space-between;
		display: flex;
		border:none;
	}
	#newSignup-Modal .close, #newSignup-ModalQuick .close{
		opacity: 1;
	}
	#newSignup-Modal .modal-title, #newSignup-ModalQuick .modal-title{
		border: none;
		color: #142931 !important;
		text-transform: uppercase;
		font-size: 28px;
		font-weight: 700;
	}
	#newSignup-Modal .admin-button, #newSignup-ModalQuick .admin-button{ 
		transition: 1s; color:#142931; padding:10px 49px; display:inline-block; font-size:20px; font-weight:600;  cursor: pointer; outline: none; 	border:none;  text-transform:uppercase;	
		text-decoration:none; border-radius:10px;
	}

	#newSignup-Modal .admin-button, #newSignup-ModalQuick .admin-button{ background-color:#97D2D4; }

	#newSignup-Modal .admin-button:active,
	#newSignup-Modal .admin-button:hover,
	#newSignup-Modal .admin-button:focus,
	#newSignup-Modal .active > .admin-button { 
		background-color: transparent;
		background-image: linear-gradient(196deg, #0096C8 0%, #FAFA00 100%); color:white; 
	}  

	#newSignup-ModalQuick .admin-button:active,
	#newSignup-ModalQuick .admin-button:hover,
	#newSignup-ModalQuick .admin-button:focus,
	#newSignup-ModalQuick .active > .admin-button { 
		background-color: transparent;
		background-image: linear-gradient(196deg, #0096C8 0%, #FAFA00 100%); color:white; 
	}  

	#nextBtn.btn-disabled {
		opacity: 0.5;
		pointer-events: none;
	}

	.custom-input-wrapper {
		position: relative;
		margin-bottom: 1.5rem;
	}

	.custom-input-wrapper input,
	.custom-input-wrapper select {
		width: 100%;
		padding: 16px 16px;
		font-size: 16px;
		border: 1.5px solid #97D2D4;
		border-radius: 0;
	}

	.custom-placeholder {
		position: absolute;
		top: 34px;
		left: 16px;
		right: 16px;
		display: flex;
		justify-content: space-between;
		transform: translateY(-50%);
		pointer-events: none;
		font-style: italic;
		font-weight: 500;
		opacity: 0.8;
		color: #333;
	}


	.custom-input-wrapper select:focus + .custom-placeholder,
	.custom-input-wrapper select:valid + .custom-placeholder {
		display: none;
	}

	.custom-input-wrapper input:focus + .custom-placeholder,
	.custom-input-wrapper input:not(:placeholder-shown) + .custom-placeholder,
	.custom-input-wrapper input:not(:placeholder-shown):not(:focus):invalid + .custom-placeholder {
		display: none;
	}


	.custom-input-wrapper input:focus, .custom-input-wrapper select:focus {
		border-color: #142931 !important; /* Blue border on focus */
		border: 2px solid #142931 !important;
		border-radius: none !important;

	}
	.custom-input-wrapper input{
		color: #142931;
	}
	label.section-title {
		font-weight: 700;
		margin-bottom: 0.5rem;
		text-transform: uppercase;
	}

	.info-icon {
		margin-left: 6px;
		cursor: pointer;
	}

	.form-actions {
		display: flex;
		justify-content: flex-end;
		gap: 1rem;
		margin-top: 2rem;
	}
	.input-error-message {
		color: red;
		font-size: 13px;
		margin-top: 4px;
		font-style: italic;
		text-align: end;
		text-transform: uppercase;
	}
	.custom-input-wrapper select {
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		background-color: transparent;
		background-image: none;
		background-repeat: no-repeat;
		background-position: right 1rem center;
		background-size: 16px;
		position: relative;
		z-index: 2;
		color: #142931;
	}
	.label-primary{
		color:#0096C8;
		background: none !important;
	}
	.rowmt2{
		margin-top: 32px;
	}
	.password-rule {
		display: flex;
		align-items: center;
		font-weight: 600;
		font-size: 18px; 
		color: #142931;
		text-transform: uppercase;
	}
	.password-rule img {
		width: 20px;
		height: 20px;
		margin-right: 0.5em;
	}

/* ----- reuse your register styles: ----- */
	#login-Modal .modal-title {color: #142931 !important;}
	/* Default header (no gradient) */
	#login-Modal .modal-header {
		border: none;
		border-radius: 12px 12px 0 0;
		background: white;
		color: #142931 !important;
		text-transform: uppercase;
		font-size: 28px;
		font-weight: 700;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 1rem 1.5rem;
	}
	#login-Modal .close{
		opacity: 1;
	}
	#login-Modal .modal-content {
		border-radius: 12px;
		overflow: hidden;
	}
	#login-Modal .icon img{
		width: 30%;
	}
	/* Steps */
	#login-Modal .step { display: none; padding: 2rem; }
	#login-Modal .step.active { display: block; }

	/* re-use your custom-input-wrapper */
	#login-Modal .custom-input-wrapper {
		position: relative;
		margin-bottom: 1.5rem;
	}
	#login-Modal .custom-input-wrapper .icon {
		position: absolute;
		left: 0; top: 0; bottom: 0;
		width: 56px;
		background: #97D2D4;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	#login-Modal .custom-input-wrapper input {
		width: 100%;
		padding: 16px 16px 16px 72px;
		font-size: 16px;
		border: 1.5px solid #97D2D4;
		color: #142931;
	}
	#login-Modal .password-wrapper .toggle-pass {
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%);
		background: transparent;
		border: none;
		font-size: 1.2rem;
		cursor: pointer;
	}

	#login-Modal .form-actions {
		display: flex;
		justify-content: center;
		gap: 1rem;
		margin-bottom: 1.5rem;
	}

	#login-Modal .text-row {
		text-align: center;
		margin: 1.5rem 0;
		font-size: 0.9rem;
		color: #142931;
	}
	#login-Modal .text-row.disabled {
		color: #999;
		pointer-events: none;
	}
	/* shrink the icon wrapper by 2px */
	#login-Modal .custom-input-wrapper .icon {
		width: 54px;
		/* height will auto-scale with your SVGs */
	}

	/* 2px less top/bottom padding, and match left-padding to 54px */
	#login-Modal .custom-input-wrapper input {
		padding: 14px 16px 14px 66px !important;
		/* font-size and border stay the same */
	}

	/* nudge the “eye” button over by 2px */
	#login-Modal .password-wrapper .toggle-pass {
		right: 14px;
	}