/* NAV WRAPPER */
nav {
	position: absolute;
	width: 100%;
	height: 15lvh;
	padding: 12px 6%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
body {
	overflow-x: hidden !important;
	background: var(--primary) !important;
}

.body {
	position: relative;
	width: 100%;
	min-height: 100lvh;
	display: flex;
	justify-content: start;
	align-items: center;
	flex-direction: column;
	padding-bottom: 5vh;
}

/* LOGO AREA */
nav .left {
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

nav .left a {
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

nav .left img {
	width: 60px;
	height: 60px;
}

nav .left h1 {
	width: 150px;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text1);
}

nav .left .balance {
	height: 60px !important;
}

/* RIGHT SIDE */
nav .right {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* SELECT MENU */
.select-wrap {
	position: relative;
	display: inline-block;
	width: 200px;
}

.select-wrap::after {
	content: "▾";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.9rem;
	color: var(--primary);
	pointer-events: none;
}
.select-wrap select {
	width: 100%;
	padding: 0.6em 1.2em;
	border-radius: 8px;
	background: var(--secondary);
	color: var(--text1);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	appearance: none;
	outline: none;
	transition: 0.25s ease;
	border: none;
	outline: none;
}
.select-wrap select option {
	background: var(--text4);
	color: var(--text1);
	padding: 10px;
}

/* BUTTONS */

nav .additional {
	width: max-content;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	gap: 12px;
	position: relative;
}
nav .btn {
	padding: 8px 15px;
	border-radius: 7px;
	font-size: 0.95rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: 0.25s;
}

nav .signin {
	background: var(--primary);
	color: var(--text1);
	font-weight: 600;
}

nav .login {
	border: 2px solid var(--primary);
	color: var(--primary) !important;
	background: transparent;
	font-weight: 600;
}

/* BALANCE BUTTON */
nav .shot {
	background: var(--secondary);
}
.circle-login {
	top: -450%;
	right: -150px;
}
.messages {
	position: fixed;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	max-width: 600px;
	z-index: 9999;
}

.message {
	padding: 15px 20px;
	margin-bottom: 10px;
	border-radius: 5px;
	font-weight: 500;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	animation: fadeOut 0.5s ease 4s forwards;
}
/* Error */
.message.error {
	background-color: var(--bad-bg);
	color: var(--bad);
	border: 1px solid var(--bad);
}

/* Success */
.message.success {
	background-color: var(--good-bg);
	color: var(--good);
	border: 1px solid var(--good);
}

@keyframes fadeOut {
	0% {
		opacity: 1;
	}
	80% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}

@media (max-width: 720px) {
	nav .shot {
		display: none !important;
	}

	nav {
		flex-direction: column;
		height: max-content !important;
		gap: 20px;
	}

	.additional{
		position: static;
	}
	.circle-login{
		width: 102vw !important;
		height: 102vw !important;
		transform: translateY(-26vw);
		top: auto;
		right: auto;
	}

	.logo {
		width: 100%;
	}
	nav .left h1 {
		width: max-content;
	}
	.formcont {
		width: 90%;
		height: 90%;
	}
	.form {
		width: 100%;
		backdrop-filter: none;
	}
}



@media screen and (max-width: 1025px){
    .form, .formcont{
        width: 90% !important;
    }
}

@media screen and (max-width: 426px){
    .form, .formcont{
        width: 100vw !important;
        height: max-content !important;
        border-radius: 0 !important;
		background: transparent !important;
        justify-content: center;
        position: relative;
        top: 0;
        left: 0;
		backdrop-filter: none;
    }

	.form .btn{
		background: var(--secondary) !important;
	}
}