﻿body {
	font-family: 'Tahoma', sans-serif;
	background-color: #f3f4f6;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	margin: 0;
	direction: rtl;
}

.login-card {
	background: #fff;
	padding: 40px 50px;
	border-radius: 15px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	width: 360px;
	text-align: center;
}

h2 {
	margin-bottom: 25px;
	font-size: 18px;
	color: #333;
}

.txtbox {
	width: 100%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	margin-bottom: 15px;
	font-size: 14px;
	text-align: right;
	box-sizing: border-box;
}

	.txtbox::placeholder {
		color: #aaa;
	}

	.txtbox.error::placeholder {
		color: red;
		font-weight: bold;
	}

.btn {
	width: 100%;
	background-color: #007bff;
	color: white;
	border: none;
	padding: 10px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
}

.links {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
	font-size: 13px;
}

a {
	color: #007bff;
	text-decoration: none;
}

	a:hover {
		text-decoration: underline;
	}
@media (max-width: 500px) {
	.login-card {
		padding: 20px;
	}
}
.tooltip {
  position: absolute;
  background-color: #d9534f;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size:smaller;
  display: none;
  z-index: 10;
  white-space: nowrap;
  transform: translateY(-5px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.tooltip.show {
  display: block;
  opacity: 1;  
  transform: translateY(-10px);
}

.tooltip::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 10px;
  border-width: 5px;
  border-style: solid;
  border-color: #d9534f transparent transparent transparent;
}

.tooltip span.icon {
  margin-left: 5px;
}
