﻿@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@100;200;300;400;500;600;700;800;900&display=swap');

html, body {
    visibility: hidden;
    margin: 0; padding: 0; height: 100%; overflow: hidden;
}

body {
    background-color: rgba(251, 251, 251, 1);
    transition: background-image 1s ease-in-out;
    background-size: cover; background-position: center bottom; background-repeat: no-repeat;
    display: flex; justify-content: center; align-items: center;
    font-family: 'Manrope', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    cursor: default;
}

#preloader {
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.loader {
	animation: rotate 1s infinite;
	height: 50px;
	width: 50px;
	position: relative;
	margin: auto;
	border-radius: 50%;
}

.loader:before,
.loader:after {
	content: "";
	display: block;
	height: 20px;
	width: 20px;
	border-radius: 50%;
}

.loader:before {
	animation: circle1 1s infinite;
	background-color: #b44ea7;
	box-shadow: 30px 0 0 #f99d1b;
	margin-bottom: 10px;
}

.loader:after {
	animation: circle2 1s infinite;
	background-color: #00aeee;
	box-shadow: 30px 0 0 #9aca3c;
}

@keyframes rotate {
	0% {
		-webkit-transform: rotate(0deg) scale(0.8);
		transform: rotate(0deg) scale(0.8);
	}
	50% {
		-webkit-transform: rotate(360deg) scale(1.2);
		transform: rotate(360deg) scale(1.2);
	}
	100% {
		-webkit-transform: rotate(720deg) scale(0.8);
		transform: rotate(720deg) scale(0.8);
	}
}

@keyframes circle1 {
	0% {
		box-shadow: 30px 0 0 #f99d1b;
	}
	50% {
		box-shadow: 0 0 0 #f99d1b;
		margin-bottom: 0;
		transform: translate(15px, 15px);
	}
	100% {
		box-shadow: 30px 0 0 #f99d1b;
		margin-bottom: 10px;
	}
}

@keyframes circle2 {
	0% {
		box-shadow: 30px 0 0 #9aca3c;
	}
	50% {
		box-shadow: 0 0 0 #9aca3c;
		margin-top: -20px;
		transform: translate(15px, 15px);
	}
	100% {
		box-shadow: 30px 0 0 #9aca3c;
		margin-top: 0;
	}
}

.login-container {
	opacity: 0;
	animation: loginA 0.75s ease-in-out forwards 0.25s;
	position: relative;
	width: 270px;
	padding: 32px 16px 0px 16px;
	height: 196px;
	background-color: rgba(255, 255, 255, 0.70);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border-radius: 14px 1px 24px 1px;
	text-align: center;
	z-index: 1;
	min-height: auto;
}

@keyframes loginA {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.login-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	color: rgba(255, 255, 255, 0.90);
	padding: 14px 10px;
	padding-left: 20px;
	text-align: left;
	margin: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	font-size: 14px;
	border-radius: 14px 1px 18px 1px;
}

.login-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2.4px;
	background: linear-gradient(to right, 
		#b44ea7 0%, /* Mor */
		#00aeee 33%, /* Mavi */
		#9aca3c 66%, /* Yeşil */
		#f99d1b 100%); /* Turuncu */
	border-radius: 0 1px 0 0;
}

.header-title {
	font-weight: 900; 
	font-size: 20px; 
	margin-top: 1px;
	letter-spacing: 1px;
	cursor: default;
}

.header-subtitle {
	font-weight: 300; 
	margin-top: 1px;
	font-size: 20px; 
	letter-spacing: 1px;
	cursor: default;
}

.triangle {
    position: absolute;
    top: 2.4px;
    left: 0.1px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 1000;
}

.language-div {
	position: absolute;
	top: 0px;
	left: -17.65px;
	width: 18px;
	height: 18px;
	background-color: #b44ea7;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	font-size: 9px;
	font-weight: 500;
	border-radius: 6px 0px 6px 1px;
	display: inline-block;
	line-height: 18px;
	letter-spacing: 0.03em;
	user-select: none;
}

.language-div a {
    color: white;
    text-decoration: none;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
}

.custom-tooltip::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    font-weight: 500;
    font-size: 11px;
    transform: translateX(-8%);
    background-color: rgba(78, 85, 90, 0.75);
    color: rgba(254, 254, 252, 0.9);
    padding: 4px 8px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.custom-tooltip:hover::after {
    visibility: visible;
    opacity: 1;
}

.login-container input {
    width: calc(90% - 20px);
    padding: 9px;
    padding-left: 28px;
    margin: 4px 0;
    border: 1px solid #ccc;
    border-radius: 32px;
    font-family: 'Manrope';
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0px;
    color: #939fa8;
    background-color: rgba(227, 229, 227, 0.85);
    border: 1px solid #3e4a5e;
}

.login-container input[type="password"] {
    width: calc(90% - 42px);
    padding-right: 31px;
}

.placeholder-day::placeholder {
	color: rgba(57, 64, 70, 0.7);
}

.placeholder-night::placeholder {
	color: rgba(251, 251, 244, 0.5);
}

.login-container input:-webkit-autofill,
.login-container input:-webkit-autofill:hover,
.login-container input:-webkit-autofill:focus,
.login-container input:-webkit-autofill:active {
	transition: background-color 5000s ease-in-out 0s;
	background-color: rgba(218, 218, 222, 0.4) !important;
	-webkit-text-fill-color: rgba(152, 164, 172, 0.9) !important;
}

.login-container input:-moz-autofill,
.login-container input:-moz-autofill:hover,
.login-container input:-moz-autofill:focus,
.login-container input:-moz-autofill:active {
	transition: background-color 5000s ease-in-out 0s;
	background-color: rgba(218, 218, 222, 0.4) !important;
	color: rgba(152, 164, 172, 0.9) !important;
}

.login-container input:focus {
	border: 1.5px solid rgba(147, 159, 168, 0.90) !important;
	outline: none;
}

.login-container input:first-of-type {
    margin-top: 42px;
}

.login-container button {
    padding: 8px 14px; 
    background: linear-gradient(to right top, rgba(0, 174, 238, 0.85), rgba(102, 200, 230, 0.95));
    color: white; 
    border: none; 
    border-radius: 32px;
    cursor: pointer; 
    margin-top: 10px; 
    margin-bottom: 15px;
    font-family: 'Manrope';
    font-weight: 600; 
    font-size: 13px; 
    margin-right: 4px;
	letter-spacing: 0.03em;
    margin-left: auto;
    display: block;
}

.login-container button:hover {
	background: linear-gradient(to right top, rgba(180, 78, 167, 1), rgba(210, 130, 200, 1));
	box-shadow: 0 2px 8px rgba(180, 78, 167, 0.4);
}

.error-message {
	opacity: 0;
	visibility: visible;
	animation: errorA 0.75s ease-in-out forwards 0.25s;
	box-shadow: 0 6px 12px rgba(255, 76, 76, 0.9);
	background-color: rgba(255, 76, 76, 0.80); 
	color: #fbfbfb;
	padding: 8px 0px 8px 21px;
	margin: -1px 0;
	display: none;
	width: 281px;
	text-align: left;
	font-size: 14px;
	font-weight: 400;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	z-index: -1000;
}

@keyframes errorA {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

.icon1 {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.icon1 img {
	width: 18px;
	height: auto;
	margin-top: -86px;
	margin-left: 4px;
}

.icon4 {
	display: flex;
	align-items: center;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

.icon4 img {
	width: 20px;
	height: auto;
	margin-top: -86px;
	margin-left: 3px;
}

.icon3 {
	top: 0; 
	right: 10px;
	position: absolute; 
	z-index: 1; 
	transform: scale(0.6);
	text-align: right;
}

.toggle-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: #4a4a4a;
	margin-top: -86px;
	margin-left: 3px;
	cursor: pointer; 
}

.login-container {
    text-align: center;
}

.toggle-password {
    position: absolute;
    top: 49.5%;;
    left: 84%;
    transform: translateY(116%);
    color: #939fa8;
    border: none;
    background: none;
    cursor: pointer;
}

.user-icon {
    position: absolute;
    font-size: 13px;
    top: 31.5%;
    right: 85.75%;
    transform: translateY(116%);
    color: #939fa8;
    border: none;
    background: none;
}

.password-icon {
    position: absolute;
    font-size: 13px;
	height: 10px;
    top: 53%;
    right: 85.75%;
    transform: translateY(116%);
    color: #939fa8;
    border: none;
    background: none;
}

.toggle-password[data-tooltip]:hover:after {
	content: attr(data-tooltip);
	position: absolute;
 	 top: 50%;
  	left: 50%;
  	transform: translate(-50%, -140%);
	background-color: rgba(67, 74, 80, 0.70);
	color: #f9fbfd;
	padding: 7px 7px;
	border-radius: 1px;
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
	font-family: 'Manrope', sans-serif;
	text-transform: none;
}

@media (max-width: 768px) {
	.toggle-password {
		right: 9%;
	}
}

@media (min-width: 769px) {
	.toggle-password {
		right: 9%;
	} 
}

.toggle-container {
	position: fixed;
	display: flex;
	cursor: pointer;
	z-index: 1000;
	top: 36px;
	left: -220px;
	animation: slideIn 1s forwards;
}

@keyframes slideIn {
	0% {
		left: -220px;
	}
	100% {
		left: 0;
	}
}

@media screen and (min-width: 1024px) {
	.toggle-container {
		transform: scale(0.54);
		transform-origin: left;
		left: -220px;
		animation: slideInLarge 1s forwards;
	}
}

@keyframes slideInLarge {
	0% {
		left: -220px;
	}
	100% {
		left: 0;
	}
}

@media screen and (min-width: 0px) and (max-width: 1023px) {
	.toggle-container {
		top: 5px;
		transform: scale(0.40);
		left: -220px;
		animation: slideInSmall 1s forwards;
	}
}

@keyframes slideInSmall {
	0% {
		left: -220px;
	}
	100% {
		left: -62px;
	}
}

@media screen and (min-width: 767px) and (orientation: portrait) {
	.toggle-container {
		transform: scale(0.60);
		transform-origin: left;
		left: -220px;
		top: 36px;
		animation: slideInPortrait 1s forwards;
	}
}

@keyframes slideInPortrait {
	0% {
		left: -220px;
	}
	100% {
		left: 0;
	}
}

.icon2 {
	margin-left: -2px;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 48%;
	height: 100%;
	background-color: rgba(255, 0, 0, 0);
	z-index: 1001;
}

.page-image {
	width: 0;
	height: 0;
	overflow: hidden;
	background-size: cover;
	position: absolute;
}

.tooltip {
	display: none;
	text-align: left;
	transform: scale(0.978);
	position: absolute;
	top: -172px;
	background-color: rgba(235, 239, 238, 0.98);
	color: #51525b;
	font-size: 12.5px;
	font-weight: 500;
	padding: 10px 8px 10px 12px;
	border-radius: 4px;
}

.button-preloader {
	border: 3px solid rgba(255, 255, 255, 0.6);
	border-top: 3px solid #ffffff;
	border-radius: 50%;
	width: 12px;
	height: 12px;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

button {
	position: relative;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	overflow: hidden;
	display: inline-block;
}

button.loading .button-text {
	visibility: hidden;
}

iframe {
	opacity: 0;
	animation: iframeA 0.75s ease-in-out forwards 0.25s;
	width: 190px;
	height: 120px;
	border: none;
	background-color: transparent;
	position: absolute;
	top: 14px;
	right: 20px;
	transform: scale(0.72);
	transform-origin: top right;
}

@keyframes iframeA {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

@media (min-width: 1200px) {
	iframe {
		transform: scale(1.4);
		top: 48px;
		right: 64px;
	}
}

@media (min-width: 900px) and (max-width: 1279px) {
	iframe {
		transform: scale(1.02);
		top: 22px;
		right: 36px;
	}
}

@media (min-width: 1280px) and (max-width: 1369px) {
	iframe {
		transform: scale(1.1);
		top: 32px;
		right: 46px;
	}
}

@media screen and (min-width: 450px) and (orientation: portrait) {
	iframe {
		transform: scale(1.05);
		top: 32px;
		right: 42px;
	}
}

@media screen and (min-width: 451px) and (min-width: 1024px) and (orientation: portrait) {
	iframe {
		transform: scale(1.05);
		top: 42px;
		right: 52px;
	}
}