@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;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;
	flex-direction: column;
	background: #23242a;
}
.box 
{
	position: relative;
	width: 380px;
	height: 440px;
	background: #1c1c1c;
	border-radius: 8px;
	overflow: hidden;
	filter: drop-shadow(2px 2px 32px rgba(76, 158, 255, 0.65));
}
.box::before 
{
	content: '';
	z-index: 1;
	position: absolute;
	top: -50%;
	left: -50%;
	width: 380px;
	height: 420px;
	transform-origin: bottom right;
	background: linear-gradient(0deg,transparent,#4C9EFF,#4C9EFF);
	animation: animate 6s linear infinite;
}
.box::after 
{
	content: '';
	z-index: 1;
	position: absolute;
	top: -50%;
	left: -50%;
	width: 380px;
	height: 420px;
	transform-origin: bottom right;
	background: linear-gradient(0deg,transparent,#4C9EFF,#4C9EFF);
	animation: animate 6s linear infinite;
	animation-delay: -3s;
}
@keyframes animate 
{
	0%
	{
		transform: rotate(0deg);
	}
	100%
	{
		transform: rotate(360deg);
	}
}
form 
{
	position: absolute;
	inset: 2px;
	background: #28292d;
	padding: 50px 40px;
	border-radius: 8px;
	z-index: 2;
	display: flex;
	flex-direction: column;
}
h2 
{
	color: #4C9EFF;
	font-weight: bolder;
	text-align: center;
	letter-spacing: 0.1em;
}
.inputBox 
{
	position: relative;
	width: 300px;
	margin-top: 35px;
}
.inputBox input 
{
	position: relative;
	width: 100%;
	padding: 20px 10px 10px;
	background: transparent;
	outline: none;
	box-shadow: none;
	border: none;
	color: #23242a;
	font-size: 1em;
	letter-spacing: 0.05em;
	transition: 0.5s;
	z-index: 10;
}
.inputBox span 
{
	position: absolute;
	left: 0;
	padding: 20px 0px 10px;
	pointer-events: none;
	font-size: 1em;
	color: #8f8f8f;
	letter-spacing: 0.05em;
	transition: 0.5s;
}
.inputBox input:valid ~ span,
.inputBox input:focus ~ span 
{
	color: #4C9EFF;
	transform: translateX(0px) translateY(-34px);
	font-size: 0.75em;
}
.inputBox i 
{
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #4C9EFF;
	border-radius: 4px;
	overflow: hidden;
	transition: 0.5s;
	pointer-events: none;
	z-index: 9;
}
.inputBox input:valid ~ i,
.inputBox input:focus ~ i 
{
	height: 44px;
}
.links 
{
	display: flex;
	justify-content: space-between;
}
.links a 
{
	margin: 10px 0;
	font-size: 0.75em;
	color: #8f8f8f;
	text-decoration: beige;
}
.links a:hover, 
.links a:nth-child(2)
{
	color: #4C9EFF;
}
input[type="submit"]
{
	border: none;
	outline: none;
	padding: 11px 25px;
	background: #4C9EFF;
	cursor: pointer;
	border-radius: 4px;
	font-weight: 600;
	width: 100px;
	margin-top: 10px;
}
input[type="submit"]:active 
{
	opacity: 0.8;
}

.tos-container {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
	font-size: 0.9rem;
	color: #b0b0b0;
}

.tos-container input[type="checkbox"] {
appearance: none;
width: 20px;
height: 20px;
border: 2px solid #555;
background-color: #000;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tos a{
	color: #ff5f5f;
}

.tos{
	color: #4C9EFF;
}

#dynamic-requirement {
	margin-top: 10px;
	font-size: 0.9em;
	color: #b0b0b0;
	text-align: center;
	transition: color 0.3s ease-in-out;
}

#dynamic-requirement.valid {
	color: #4caf50; /* Şifre hazır olduğunda yeşil renk */
}

.progress-container {
	display: flex;
	justify-content: space-between;
	margin-top: 15px;
}

.progress-segment {
	flex: 1;
	height: 6px;
	background-color: #555;
	border-radius: 5px;
	margin-right: 8px;
	transition: background-color 0.4s ease, transform 0.3s;
}

.progress-segment:last-child {
	margin-right: 0;
}

.progress-segment.active {
	background-color: white;
	transform: scale(1.1);
}

.inputBox input:focus ~ span,
.inputBox input:valid ~ span {
	color: #4C9EFF;
	transition: color 0.3s ease-in-out;
}