* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: "Manrope", system-ui, sans-serif;
	background: #ffffff;
	min-height: 100vh;
	overflow: hidden;
}

/* -- BACKGROUND -- */
.main-div {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: linear-gradient(90deg, rgba(233, 235, 255, 0.7) 0%, rgba(255, 234, 236, 0.7) 100%);
	overflow: hidden;
}

.main-div::before {
	content: "";
	position: absolute;
	left: -160px; top: -120px;
	width: 986px; height: 814px;
	border-radius: 10.07px;
	background: rgba(219, 221, 255, 0.40);
	filter: blur(82.72px);
	z-index: 0; pointer-events: none;
}

.main-div::after {
	content: "";
	position: absolute;
	right: -80px; top: 40px;
	width: 630.9px; height: 619.15px;
	border-radius: 10.07px;
	background: rgba(255, 184, 190, 0.30);
	filter: blur(82.72px);
	z-index: 0; pointer-events: none;
}

/* -- TOP BAR -- */
.top-bar {
	position: fixed;
	top: 0; left: 0; right: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 28px;
	z-index: 10;
}

.top-bar img {
	width: 65px; height: 65px;
	margin-left: 40px;
	object-fit: contain;
}

.top-login-link {
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #111827;
	line-height: 100%;
	text-align: center;
	margin-right: 60px;
}

.top-login-link a {
	color: #283bb8;
	font-weight: 800;
	text-decoration: none;
}

.top-login-link a:hover { text-decoration: underline; }

/* -- GLASS CARD -- */
.signup-card {
	position: relative;
	z-index: 1;
	width: 550px;
	max-width: calc(100vw - 32px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 40px;
	border-radius: 16px;
	background: rgb(245, 243, 243);
	border: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 20px 50px rgba(17, 24, 39, 0.14);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
}

/* -- CARD HEADER -- */
.card-title {
	font-size: 20px;
	font-weight: 700;
	color: #050505;
	line-height: 32px;
}

.card-subtitle {
	font-family: "Inter", "Manrope", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: #6b7280;
	line-height: 20px;
	margin-bottom: 20px;
}

.card-note {
	display: none;
	font-family: "Manrope", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #6b7280;
	margin-bottom: 18px;
}

/* -- FORM -- */
.input-div {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.default-text {
	font-size: 14px;
	font-weight: 600;
	color: #374151;
	line-height: 22px;
}

.default-text span { color: #e53935; margin-left: 2px; }

.input-border {
	width: 100%;
	height: 50px;
	display: flex;
	align-items: center;
	border: none;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.92);
}

.input-text {
	width: 100%;
	height: 50px;
	padding: 0 16px;
	font-size: 14px;
	font-family: "Manrope", sans-serif;
	border: none;
	outline: none;
	background: transparent;
	color: #111827;
}

.input-text::placeholder { color: #b0b7c3; }

/* -- BUTTON -- */
.login-button {
	width: 100%;
	height: 54px;
	margin-top: 30px;
	border: none;
	border-radius: 4px;
	background: #2027A1;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	font-family: "Manrope", sans-serif;
	cursor: pointer;
	transition: background 0.2s;
}

.login-button:hover { background: #12029c; }
.login-button:disabled { background: #7c7b7b; cursor: not-allowed; }


/* -- ERROR MODAL -- */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	justify-content: center;
	align-items: center;
	padding: 1rem;
}

.modal-content {
	width: 100%;
	max-width: 20rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
	align-items: center;
	padding: 1.5rem;
	border-radius: 10px;
	background-color: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.success-modal-content {
	max-width: 32rem;
	padding: 2rem 2.5rem;
	text-align: center;
}

.success-modal-text {
	font-size: 16px;
	line-height: 24px;
	color: #374151;
}

.success-button {
	width: 100%;
	height: 54px;
    margin-top: 30px;
	border: none;
	border-radius: 4px;
	background: #2027A1;
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	font-family: "Manrope", sans-serif;
	cursor: pointer;
	transition: background 0.2s;
}

.success-button:hover { background: #12029c; }

.modal-content p {
	margin: 0;
	text-align: center;
	font-size: 14px;
	color: #374151;
}

.close-button {
	width: 50%;
	padding: 0.8rem;
	border: none;
	border-radius: 0.3rem;
	background-color: #012c6c;
	color: #ffffff;
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	cursor: pointer;
}

.close-button:hover { background-color: #004ec3; }

/* -- RESPONSIVE -- */
@media (max-width: 600px) {
	.signup-card { padding: 28px 24px; }
}
