:root {
  --primary-color: #267881;
  --secondary-color: #ff6347;
  --background-color: #f8f9fa;
  --error-color: #ff4d4d;
  --success-color: #267881;
  --text-color: #333;
  --light-text-color: #666;
  --button-hover-color: #0056b3;
  --input-focus-border-color: #dba197;
}


.login-container {
  height: 100vh;
  background: linear-gradient(145deg, var(--input-focus-border-color), var(--background-color));
  background-size: 200% 200%;
  animation: gradientAnimation 10s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family:'IBM Plex Sans Arabic', sans-serif;
}
.body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.wrapper {
  max-width: 420px;
  margin: 0 auto;
  padding: 30px;
  background: linear-gradient(145deg, #f2f2f2, #e0e0e0);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.header {
  text-align: center;
  margin-bottom: 25px;
}

.title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.text {
  font-size: 14px;
  color: var(--light-text-color);
}

.space {
  margin-bottom: 20px;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item {
  display: flex;
  align-items: center;
}

.label {
  font-size: 14px;
  color: var(--text-color);
}

.action {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.userInfo {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-text-color);
}

.login,
.password {
  display: block;
  font-size: 14px;
  color: var(--text-color);
}

.copy {
  font-size: 14px;
  color: var(--secondary-color);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.copy:hover {
  opacity: 0.8;
}

@media (max-width: 480px) {
  .wrapper {
    width: 90%;
  }
}

.input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  color: var(--text-color);
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}


.input[dir="rtl"] {
  padding-right: 40px; 
}

.input:focus {
  outline: none;
  border-color: var(--input-focus-border-color);
  box-shadow: 0 0 8px rgba(255, 99, 71, 0.5);
}

.input.error {
  border-color: var(--error-color);
}

.button {
  background-color: var(--primary-color);
  color: white;
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s, transform 0.2s ease;
}

.button:hover {
  background-color: var(--button-hover-color);
  transform: scale(1.05);
}

.button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

.forgot-password {
  text-align: right;
  font-size: 14px;
  color: var(--secondary-color);
  cursor: pointer;
  transition: color 0.3s;
}

.forgot-password:hover {
  color: #e5533d; 
  text-decoration: underline;
}

.language-button {
  position: fixed;
  top: -200px;; 
  right: -600px; 
  background-color:  #ff6347; 
  color: white; 
  padding: 8px 16px; 
  border: none; 
  border-radius: 8px; 
  font-size: 19px; 
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease; 
  z-index: 1000;
}

.language-button:hover {
  background-color: #ff7f50; 
  transform: scale(1.05); 
}

.logo-container {
  text-align: center;
  margin-top: -500px;
}

.logo {
  width: 300px;
  height: 300px;
  margin-right: 1000px;
  margin-top: -100px;
}

.logo-mask {
  width: 150px;
  height: auto;
  margin-bottom: 50px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
}


.ant-input-prefix[dir="rtl"] {
  margin-left: 8px; 
}