﻿* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	background: #f0f2f5;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.login-container {
	background: white;
	padding: 40px 50px;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.15);
	width: 320px;
	text-align: center;
	position: relative;
}

	.login-container h2 {
		margin-bottom: 30px;
		font-weight: 700;
		color: #333;
	}

label {
	display: block;
	text-align: left;
	margin-bottom: 8px;
	font-weight: 600;
	color: #444;
}

input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 12px 15px;
	margin-bottom: 25px;
	border: 1.5px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
	transition: border-color 0.3s ease;
}

	input[type="text"]:focus,
	input[type="password"]:focus {
		border-color: #007bff;
		outline: none;
	}

.btn {
	cursor: pointer;
	width: 100%;
	padding: 14px 0;
	font-size: 1.1rem;
	font-weight: 700;
	border-radius: 5px;
	border: none;
	transition: background-color 0.3s ease;
}

.login-btn {
	background-color: #007bff;
	color: white;
	margin-bottom: 15px;
}

	.login-btn:hover {
		background-color: #0056b3;
	}

.register-btn {
	background-color: transparent;
	color: #007bff;
	border: 2px solid #007bff;
}

	.register-btn:hover {
		background-color: #007bff;
		color: white;
	}

.error-message {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #ff4d4f;
	color: white;
	padding: 25px 40px;
	font-size: 1.3rem;
	font-weight: 700;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(255, 77, 79, 0.5);
	display: none;
	z-index: 1000;
	max-width: 90%;
	text-align: center;
}

.login-logo {
	width: 200px; /* eski 150px yerine 200px yaptım */
	height: auto;
	display: block;
	margin: 0 auto 20px auto;
}




/*Burasıda bitior giris sayfası css*/

/*giris ekranı yazı efekti giris*/





/*giris ekranı yazı efekti bitis*/

/*girisekranı arkaplan css*/


/* Alt kısımda çim efekti için CSS */

.grass-container {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 180px;
	background: radial-gradient(circle at 10% 80%, #3a7d0a 15%, transparent 70%), radial-gradient(circle at 30% 90%, #2e6c08 15%, transparent 70%), radial-gradient(circle at 50% 80%, #3a7d0a 20%, transparent 80%), radial-gradient(circle at 70% 90%, #2e6c08 15%, transparent 70%), radial-gradient(circle at 90% 80%, #3a7d0a 15%, transparent 70%);
	background-repeat: repeat-x;
	background-size: 100px 100px;
	z-index: 5;
	box-shadow: inset 0 10px 20px #2a5d06;
}


/*girisekranı arkaplan css bitis*/

/*pandahareket bas*/
#panda {
	position: absolute;
	width: 80px;
	height: 80px;
	top: 50px;
	left: 50px;
	z-index: 10;
	transition: top 0.08s ease, left 0.08s ease; /* Gecikme azaltıldı */
	pointer-events: none;
}

/*panda hareket bitis*/

/*giris ekranı arkaplan bas*/
body.login-page {
	margin: 0;
	height: 100vh;
	background: #2e6b2e; /* Bambu yeşili arka plan */
	overflow: hidden;
	position: relative;
}

/* Yaprak şekli için */
.leaf {
	position: fixed;
	top: -50px;
	width: 25px;
	height: 40px;
	background: linear-gradient(135deg, #a2c86f 0%, #5a7d3a 100%);
	border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
	opacity: 0.8;
	pointer-events: none;
	animation-name: fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

/* Yaprakların yavaşça dönerek düşmesi */
@keyframes fall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0.9;
	}

	100% {
		transform: translateY(110vh) rotate(360deg);
		opacity: 0;
	}
}

position: relative;
}

/* Yapraklar için stil */
/* CSS aynı kalabilir, gerekirse yaprak boyutunu biraz küçültebilirsin */
.leaf {
	position: fixed;
	top: -50px;
	width: 20px; /* biraz küçültüldü */
	height: 35px;
	background: linear-gradient(135deg, #a2c86f 0%, #5a7d3a 100%);
	border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
	opacity: 0.8;
	pointer-events: none;
	animation-name: fall;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}


@keyframes fall {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 0.8;
	}

	100% {
		transform: translateY(110vh) rotate(360deg);
		opacity: 0;
	}
}








/*giris ekranı arkaplan bitis*/
