.auth-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: calc(100vh - 1rem);
	width: 100%;
	background: #f5f5f5;
	padding: 1rem 0 0 0;
	box-sizing: border-box;
}

.auth-box {
	background: #fff;
	padding: 2rem;
	border-radius: 0;
	box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
	max-width: 600px;
	width: 100%;
	text-align: rtl;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 500px;
}

.auth-title {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: #333;
}

.auth-desc {
	color: #666;
	font-size: 16px;
	text-align: right;
	width: 100%;
	margin-bottom: 10px;
	font-weight: 700;
	color: rgba(0, 0, 0, 0.87);
}

.auth-step {
	display: none;
	width: 100%;
}

.auth-step.active {
	display: block;
}

.auth-msg {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	text-align: center;
}

#phone {
	text-align: right;
	width: 100%;
	padding: 0.7rem 1rem;
	font-size: 1rem;
	margin: 0 auto 1rem auto;
	display: block;
	border-radius: 12px;
	border-color: #ececec !important;
	border-width: 1px !important;
	z-index: -5 !important;
}
#phone:focus-visible {
	border-radius: 12px;
	border-color: #ececec !important;
	border-width: 1px !important;
	outline: #ececec !important;
}
.floating-label {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1rem;
	font-weight: 400;
	color: #9b9b9b !important;
	background-color: transparent;
	padding: 0 6px;
	pointer-events: none;
	transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
	font-family: inherit;
	white-space: nowrap;
	z-index: 2;
	text-shadow: none;
}
#username {
	background-color: #fff;
	border-radius: 12px;
	border-color: #ececec !important;
	border-width: 1px !important;
	z-index: -5 !important;
}
.shrink .floating-label {
	background-color: #ffffff;
	padding: 0 6px;
	top: 0px;
	transform: translateY(-50%) scale(0.85);
	font-size: 0.95rem;
	color: #9b9b9b !important;
	background-color: white;
	font-weight: 400;
	right: 10px;
}
.auth-title {
	margin-bottom: 30px;
}
#sendOtpBtn,#checkUsernameBtn {
	width: 100%;
	display: block;
	margin: 0.5rem auto 1rem auto;
	background: #eb2121;
	color: #fff;
	border: none;
	padding: 0.7rem 1.2rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: 0.3s;
}

#sendOtpBtn:hover {
	background: #d50000;
}

#verifyOtpBtn, #resendOtpBtn {
	background: #eb2121;
	color: #fff;
	border: none;
	padding: 0.7rem 1.2rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	margin-top: 0.5rem;
	transition: 0.3s;
}

#verifyOtpBtn:hover, #resendOtpBtn:hover {
	background: #d50000;
}

.otp-fields {
	display: flex;
	justify-content: center;
	gap: 0.7rem;
	margin-bottom: 1rem;
}
#verifyOtpBtn {
	width: 100%;
}
.otp-input {
	width: 3.5rem;       
	height: 3.5rem;     
	text-align: center;
	font-size: 1.8rem; 
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	outline: none;
	transition: all 0.2s;
}


.otp-input:focus {
	border-color: #eb2121;
	box-shadow: 0 0 5px rgba(235,33,33,0.5);
}

.resend-wrapper {
	margin-top: 1rem;
	font-size: 0.875rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.resend-wrapper.hide {
	display: none;
}

#resendOtpBtn {
	background: transparent;
	color: #eb2121;
	padding: 0.2rem 0.5rem;
	border: 1px solid #eb2121;
	border-radius: 0.5rem;
}

#resendOtpBtn:disabled {
	color: #999;
	border-color: #ccc;
	cursor: not-allowed;
}
.otp-input {
	color: #4d4d4d;
	width: 40px !important;
	width: 2.5rem !important;
	height: 3.5rem;
	background-color: #f7f7f7;
	padding: 0 !important;
	text-align: center;
	box-shadow: none !important;
	transition: all .1s linear !important;
	box-sizing: border-box;
	border: none !important;
	border-bottom-width: medium !important;
	border-bottom-style: none !important;
	border-bottom-color: currentcolor;
	border-bottom: 2px solid transparent !important;
	border-radius: 3px !important;
	font-size: 30px;
}
.otp-input:focus {
	border-bottom: 2px solid var(--primary-color) !important;
	outline: none !important;
}
#step-otp .auth-desc {
	font-size: 14px;
	font-weight: 400;
	color: #4d4d4d;
	margin-bottom: 15px;
	text-align: center;
}
#step-otp .auth-title {
	font-size: 16px;
	color: #222;
	font-weight: 700;
	margin-bottom: 15px;
	text-align: center;
}
.Confirm_phoneNumberContainer__Lk4N1 {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}
.Confirm_phoneNumberContainer__Lk4N1 {
	margin: 0 auto;
	width: 100%;
	text-align: center;
}
.Confirm_phoneNumberContainer__Lk4N1 button {
	background-color: #fff;
	margin-bottom: 15px;
	border-radius: 50px;
	padding: 4px 12px;
	border: 1px solid red;
	color: red;
	font-size: 14px;
	min-width: 144px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
}
.Confirm_phoneNumberContainer__Lk4N1 button:hover {
	background: transparent;
	color: red;
}
#resendOtpBtn {
	width: auto !important;
	padding: 3px 10px !important;
}
#timer-text {
	flex: 1;
}
@media (min-width: 769px) {
	.auth-container {
		background: #fff;

	}
	.auth-box {
background: #fff;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid #d4d4d4;
    max-width: 368px;
    width: 100%;
    text-align: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    width: 100%;
    border-radius: 9px;
    box-shadow: unset;
	}
	.auth-container {
		padding-top: 100px;
	}
}

@media (max-width: 600px) {
	.auth-container {
		flex-direction: column;
		height: 100vh;
		width: 100%;
		padding: 0;
		margin: 0;
	}

	.auth-box {
		width: 100%;
		max-width: 100%;
		height: 100%;
		padding: 1.5rem;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		box-sizing: border-box;
		padding-top: 60px;
	}

	#phone {
		width: 100%;
		font-size: 1rem;
	}

	#sendOtpBtn, #verifyOtpBtn, #resendOtpBtn {
		width: 100%;
		padding: 0.7rem 0;
		font-size: 1rem;
	}

	.otp-fields {
		justify-content: center;
		gap: 0.5rem;
	}

	.otp-input {
		font-size: 1.3rem;
	}

	.resend-wrapper {
		justify-content: space-between;
		gap: 0.3rem;
	}
}
