* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
		Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background-color: black;
	color: white;
}

header,
main {
	padding: 16px;
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-block: 60px;
}

form {
	max-width: 100%;
}

.input-wrapper {
	position: relative;
}

label {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	color: white;
	background-color: rgba(0, 0, 0, 0);
	padding-inline: 8px;
	opacity: 0.75;
	pointer-events: none;
	transition: all 0.3s ease;
}

input {
	padding: 12px 20px;
	border-radius: 100px;
	outline: none;
	color: white;
	border: 1px solid white;
	background-color: rgb(0, 0, 0);
	width: 400px;
	max-width: 100%;
}

input:focus + label,
input:not(:placeholder-shown) + label {
	top: 0;
	font-size: 0.75rem;
	opacity: 1;
	background-color: rgba(0, 0, 0, 1);
}

.btn-primary {
	width: 100%;
	margin-top: 12px;
	padding: 12px 20px;
	border-radius: 100px;
	border: none;
	background-color: rgb(255, 140, 197);
	font-weight: 600;
	cursor: pointer;
}

.btn-primary[disabled] {
	opacity: 0.75;
	cursor: not-allowed;
}

/* Modal */
.modal {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.modal-container {
	width: 400px;
	max-width: 100%;
	background-color: rgb(255, 140, 197);
	border-radius: 16px;
	min-height: 400px;
	display: flex;
	flex-direction: column;
}

.modal-header {
	padding: 12px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.modal-header button {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.modal-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
	flex: 1;
}

.modal-content p {
	font-size: 2rem;
}

.modal-content button {
	width: 64px;
	height: 64px;
}

.notification {
	position: absolute;
	right: 24px;
	top: 24px;
	transform: translateY(-200%);
	opacity: 0;
	pointer-events: none;
	background-color: white;
	color: rgb(255, 140, 197);
	max-width: 100%;
	border-radius: 100px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.notification.notification-active {
	transform: translateY(0%);
	background-color: rgb(255, 140, 197);
	color: white;
	opacity: 1;
}

.notification img {
	width: 16px;
}
