:root {
  --primary-color: rgb(44, 62, 80);
  --accent-color: #1abc9c;
  --bg-color: #fdf6e3;
  --text-color: var(--primary-color);
}

@font-face{
	font-family: samim;
	src: url('themes/default/fonts/Samim.woff');
}
@font-face{
	font-family: samim;
	src: url('themes/default/fonts/Samim-Bold.woff');
	font-weight: bold;
}

body{
 font-family: samim;
  margin: 0;
  padding: 0;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  direction: rtl;
}

.login-container {
  width: 100%;
  max-width: 400px;
  background-color: var(--bg-color);
  padding: 50px 30px;
  border-radius: 25px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  margin: 20px;
  text-align: center;
  position: relative;
}

.logo {
  width: 90px;
  height: 90px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

h2 {
  margin-bottom: 30px;
  color: var(--text-color);
  font-size: 26px;
}

label {
  display: block;
  text-align: right;
  margin-bottom: 6px;
  font-weight: bold;
  color: var(--text-color);
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 5px var(--accent-color);
}

.remember {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  direction: ltr;
  margin-bottom: 25px;
}

button[type="submit"] {
  width: 100%;
  padding: 13px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

button[type="submit"]:hover:enabled {
  background-color: #2c3e50;
}

.login-footer {
  margin-top: 25px;
  font-size: 13px;
  color: #555;
}

.login-footer a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

.strength-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-top: -5px;
}

.bar-part {
  width: 30%;
  height: 6px;
  background-color: #ccc;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.bar-part.active {
  background-color: var(--accent-color);
}

.error-message {
  color: #b00020;
  font-size: 14px;
  margin-bottom: 15px;
  text-align: right;
  display: none;
  white-space: pre-line;
  background-color: #fdecea;
  border: 1.5px solid #f5c6cb;
  border-radius: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 6px rgba(176, 0, 32, 0.15);
  line-height: 1.4;
  font-weight: 600;
  position: relative;
}

.error-message::before {
  content: "⚠️";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

@media (max-width: 480px) {
  .login-container {
    padding: 40px 20px;
  }
  h2 {
    font-size: 22px;
  }
}
.require{
  color: #b00020;
  display: inline-block;
}