@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Poppins", sans-serif;


}

body{
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;

}



.wrapper{
	width: 420px;
	background: transparent;
	border:2px solid rgb(255, 255, 255, .2);
	backdrop-filter: blur(20px);
	box-shadow: 0 0 10px rgba(0,0,0, .2);
	color: #fff;
	border-radius: 10px;
	padding: 30px 40px;
}

.wrapper h1{
	font-size: 36px;
	text-align: center;
}

.wrapper .input-box{
	width: 100%;
	height:50px;
	margin:30px 0;
	position: relative;

}

.input-box input{
	width:100%;
	height: 100%;
	background: transparent;
	border: none;
	outline: none;
	border:2px solid rgb(255, 255, 255, .2);
	border-radius: 40px;
	font-size:16px;
	color:black;
	padding:20px 45px 20px 20px;
}



input:hover {
	transition: transform .5s, outline-color .5s;
	transform: scale(1.08);
}

input:focus,
input:valid{
	transition: transform .5s, outline-color .5s;
	transform: scale(1.00);
	color:black;
	border: 2px solid #66ff00;
}


.input-box i{
	position: absolute;
	right: 20px;
	top:50%;
	transform: translateY(-50%);
	font-size: 20px;
}


.wrapper .remember{
	display: flex;
	justify-content: space-between;
	font-size: 14.5px;
	margin: 15px 0 15px;

}

.remember label input{
	accent-color: black;
	margin-right: 3px;


}


.remember a{
	color:#fff;
	text-decoration: none;
}

.remember a:hover{
	text-decoration: underline;

}

.wrapper .btn {
	width: 100%;
	height: 45px;
	background: #fff;
	border: none;
	outline: none;
	border-radius: 40px;
	box-shadow: 0 0 10px rgb(0, 0, 0, .1);
	cursor: pointer;
	font-size: 16px;
	color: #333;
	font-weight: 600;
}

.wrapper .register-link{
	font-size: 14.5px;
	text-align: center;
	margin-top: 20px;
}

.register-link p a{
	color:#fff;
	text-decoration: none;
	font-weight: 600;
}

.register-link p a:hover{
	text-decoration: underline;
	color: red;
}

.register-link p{
	color: black;
}


.btn {
	background-color: rgb(0, 94, 255);
	color: white;
	padding: 7px 20px;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: 300;
	border-radius: 20px;
	text-transform: uppercase;
	transition: transform .5s, outline-color .5s;
	outline: 1px solid transparent;
	outline-offset: 4px;
}

.btn:focus-visible {
	outline-color: rgb(0, 94, 255);
}

.btn:hover {
	transform: scale(1.05);
}

.btn:active {
	transform: scale(0.97);
}



.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
}

.modal-content {
	background: rgb(7 7 7 / 90%);
	margin: 10% auto;
	padding: 25px;
	border-radius: 10px;
	width: 90%;
	max-width: 400px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	color: #efeaea;
}

.close-btn {
	position: absolute;
	right: 20px;
	top: 15px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	color: whie;
}

.close-btn:hover {
	color: #ff0000;
}

#qr-container {
	text-align: center;
	padding: 15px;
}

#qr-image {
	width: 100%;
	max-width: 250px;
	height: auto;
	margin: 15px auto;
	display: none;
	border: 1px solid #ddd;
	border-radius: 20px;
	padding: 10px;
	background: white;
}

#qr-status {
	margin: 15px 0;
	font-size: 16px;
	min-height: 24px;
}

#qr-timer {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

#generate-qr-btn {
	background-color: #005eff;
	margin-top: 10px;
}

.loader {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #005eff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 20px auto;
	display: none;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.divider {
	display: flex;
	align-items: center;
	margin: 20px 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
}

.divider::before,
.divider::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.divider span {
	padding: 0 10px;
}

.qr-btn {
	background-color: #2d3748;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.3s ease;
	margin-bottom: 20px;
}

.qr-btn:hover {
	transform: scale(1.02);
}

.qr-btn:active {
	transform: scale(0.90);
}

.qr-btn i {
	font-size: 20px;
}


@media (min-width: 821px) {
	body{
		background: url('elite.png') no-repeat;
		background-size: cover;
		background-position: center;
	}


}


@media (max-width: 820px) {
	body{
		background: url('elitephone.png') no-repeat;
		background-size: cover;
		background-position: center;
	}
	.divider {
		display: none;
	}
	.qr-btn{
		display: none;
	}
}