body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #cfdfd2 0%, #e2ebf0 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  background: url("../images/pattern.png?version=1.0.0");
  background-size: cover;
}
*{
direction : rtl;
}
.login-container {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 600px;
  max-width: 90vw;
}
.login-container img {
  height: 98px;
  margin: 0px auto;
  margin-bottom: 20px;
}
.login-container h1 {
  font-size: 20px;
  color: #1c1c1e;
  margin-bottom: 16px;
  margin-top: 16px;
}
.form-group {
  position: relative;
  margin-bottom: 20px;
}
.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  font-size: 16px;
  color: #1c1c1e;
  box-sizing: border-box;
  transition: border-color 0.3s;
  padding-left: 50px; /* Make space for the arrow button */
  text-align: right;
}
.form-group input:focus {
  border-color: #af8c09;
  /* outline-color: #af8c09; */
}
.form-group label {
  position: absolute;
  top: 10px;
  right: 12px;
  background: white;
  padding: 0 5px;
  color: #7d7d7d;
  transition: all 0.2s;
  pointer-events: none;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -8px;
  right: 10px;
  font-size: 12px;
  color: #896d04;
}
.arrow-button {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%) rotate(180deg);
  width: 30px;
  height: 30px;
  background: white;
  border: 1px solid #075084;
  border-radius: 50%;
  color: #085185;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}
.arrow-button:hover {
  background-color: #007aff;
  color: white;
}
.login-button  , .primary-button{
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e4bc23, #d2a90c);
  /* border: none !important; */
  border-radius: 10px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  display: block;
  transition: background 0.3s;
}
.login-button:hover {
  background: linear-gradient(135deg, #005bb5, #003f8a);
}
.forgot-password {
  margin-top: 20px;
  color: #007aff;
  text-decoration: none;
  font-size: 14px;
  display: block;
}
.forgot-password:hover {
  text-decoration: underline;
}.footer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 14px;
  color: #000;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.footer a {
  background: linear-gradient(145deg, #007aff, #005bb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  transition: background 0.3s ease;
}

.footer a:hover {
  color: linear-gradient(145deg, #007aff, #005bb5);
}
.error-message {
  background-color: #f8d7da; /* Light red */
  border-color: #f5c6cb; /* Red border color */
  color: #721c24;
  padding: 16px 14px;
  margin: 1rem 0px;
  border-radius: 6px;
}

