/* 🌐 تنسيقات صفحة تسجيل الدخول */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Almarai', sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background: #fff;
  position: relative;
  overflow: hidden;
  color: #000;
  direction: rtl;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img-header-bg.svg") no-repeat center center;
  background-size: cover;
  z-index: -1;
  animation: movebg 20s linear infinite;
  opacity: 0.15;
}

@keyframes movebg {
  0% {
    background-position: 0% 0%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 0%;
  }
}

.container {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  padding: 35px 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}


/* الهيدر */
.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-header img {
  display: block;
  margin: 0 auto 10px auto;
  height: 45px;
  opacity: 1 !important;
  visibility: visible !important;
}

.login-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

/* ✅ input-box مثل صفحة إنشاء حساب */
.input-box {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 15px;
  padding: 0 12px;
  height: 50px;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  position: relative;
  gap: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
  direction: rtl;
}

.input-box:focus-within {
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.input-box i {
  margin-right: 8px;
  color: #777;
  font-size: 16px;
}

.input-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
  direction: rtl;
  height: 100%;
}

.input-box input::placeholder {
  color: #aaa;
  font-size: 14px;
}

.input-box span {
  cursor: pointer;
  font-size: 20px;
  color: #555;
  margin-left: 8px;
}

/* الخيارات */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 10px 0 20px 0;
}

.options a {
  color: #00AEEF;
  text-decoration: none;
}

.options a:hover {
  text-decoration: underline;
}

/* زر */
.btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: #00AEEF;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #0095cc;
}

/* الفاصل */
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: #888;
  font-size: 12px;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.separator:not(:empty)::before {
  margin-left: 10px;
}

/* تسجيل بواسطة */
.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.btn-social {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  font-weight: bold;
  font-size: 14px;
  color: #444;
  text-decoration: none;
}

.btn-social:hover {
  background: #f5f5f5;
  border-color: #bbb;
}

/* نص التسجيل */
.register-text {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.register-text a {
  color: #00AEEF;
  font-weight: bold;
  text-decoration: none;
}

.error_box {
	background: #ffe5e5;
	color: #ff0000;
	border: 1px solid #ff9d9d;
	padding: 15px 15px;
	border-radius: 10px;
	font-size: 15px;
	margin-bottom: 15px;
	display: flex;
	/* align-items: center !important; */
	gap: 8px;
	animation: fadeIn 0.4s ease-in-out;
  /* text-align: center !important; */
}

.span_error {
	font-size: 14px;
  font-weight: bold;
	color: #ff0000;
  /* text-align: center !important; */
  margin-right: 20%;
}