@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap");

html {
	scroll-behavior: smooth;
}

:root {
	--primary-color: #1dbbbe;
	--hover-color: #02466a;
}

body {
	font-family: "Cairo", sans-serif !important;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
	background-color: #f0f0f0;
}

.container {
	box-sizing: border-box;
	background-color: white;
	padding: 5rem;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	text-align: center;
}

.logo {
	max-width: 200px;
	max-height: 100px; /* Adjust this value as needed */
	margin-bottom: 1rem;
	object-fit: contain; /* This ensures the image keeps its aspect ratio */
}
form {
	display: flex;
	flex-direction: column;
}

h2 {
	text-wrap: balance;
	color: var(--hover-color);
}

input,
textarea,
button {
	all: unset;
	margin: 0.5rem 0;
	font-weight: 400;
	padding: 0.5rem;
	font-size: 1rem;
	box-sizing: border-box;
	font-family: "Cairo", Sans-serif;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	text-align: right;
}

textarea,
input {
	height: 120px;
	border: 1px solid #ddd;
	min-width: 600px;
	resize: none;
}

input {
	height: 48px;
}

textarea:hover,
:focus,
input:hover,
:focus {
	border: 1px solid var(--primary-color);
}
.password-container input,
.username-container input {
	padding-right: 2.2rem;
}
.password-container,
.username-container {
	position: relative;
	width: 100%;
}
.password-icon,
.email-icon,
.toggle-password {
	padding: 0;
	border: none;
	background: none;
	position: absolute;
	top: 55%;
	transform: translateY(-50%);
}

.password-icon,
.email-icon {
	right: 10px;
}

.toggle-password {
	left: 12px;
	top: 46%;
	cursor: pointer;
}

.toggle-password img,
.password-icon img,
.email-icon img {
	width: 20px;
	height: 20px;
}
button {
	cursor: pointer;
}
.btn-style {
	color: #f0f0f0;
	font-family: "Cairo", Sans-serif;
	font-weight: 500;
	text-align: center;
	transition-duration: 0.4s;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	padding: 8px 100px;
}

.confirm-btn {
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
	background-color: transparent;
	background-color: var(--primary-color);
}

.confirm-btn:hover {
	background-color: var(--hover-color);
}
.cancel-btn {
	background: transparent;
	border: 1px solid var(--primary-color);
	padding: 0.2rem 1.2rem;
	background-color: var(--primary-color);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* pop up styles */
.success-popup,
.confirm-delete-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.popup-content,
.delete-popup-content {
	background-color: white;
	font-size: 1rem;
	padding: 1rem 6rem;
	border-radius: 5px;
	text-align: center;
}

.delete-popup-content {
	background-color: rgb(255, 190, 24);
}

.popup-content button {
	margin-top: 10px;
}

.btn-container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
.delete-btn {
	padding: 0.2rem 1.2rem;
	background-color: rgb(206, 43, 43);
}
.close-btn {
	padding: 0.2rem 1.2rem;
	background-color: transparent;
	border: 1px solid #fff;
	color: #fff;
}

/* data-section */
.data-section {
	text-align: right;
}
/* media queries */
@media (max-width: 768px) {
	.container {
		padding: 1.5rem;
		width: 95%;
		border-radius: 4px;
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		-ms-border-radius: 4px;
		-o-border-radius: 4px;
	}
	h2 {
		font-size: 1.4rem;
		text-wrap: pretty;
	}
	input,
	textarea,
	button {
		font-size: 0.9rem;
		border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		-ms-border-radius: 3px;
		-o-border-radius: 3px;
	}

	textarea,
	input {
		min-width: 100%;
	}

	input {
		height: 45px;
	}

	.btn-style {
		width: 100%;
		padding: 8px;
	}
}
