@charset "UTF-8";
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazir.eot");
  src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"), url("../fonts/Vazir.woff2") format("woff2"), url("../fonts/Vazir.woff") format("woff"), url("../fonts/Vazir.ttf") format("truetype");
}
:root {
  --primary-color: #ffbd59;
  --secondary-color: #e89e3a;
  --background-color: #f8f9fa;
  --card-color: #fff;
  --text-color: #495057;
  --placeholder-color: #adb5bd;
  --input-border-color: #ced4da;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Vazirmatn", sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--background-color);
}

.container {
  background-color: var(--card-color);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: right;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  position: relative;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.container h2 {
  font-size: 2.2rem;
  color: var(--text-color);
  margin-bottom: 20px;
  position: relative;
  text-align: right;
}

.container h2::after {
  content: "";
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  display: block;
  margin: 10px 0 0;
  border-radius: 2px;
}

.container input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--input-border-color);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--text-color);
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  direction: rtl;
  margin-bottom: 15px;
  text-align: right;
}

.container input[type=email],
.container input[type=password] {
  direction: ltr;
  text-align: left;
}

.container input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 189, 89, 0.2);
}

.container input::-moz-placeholder {
  color: var(--placeholder-color);
}

.container input::placeholder {
  color: var(--placeholder-color);
}

#register-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

#register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.link {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.link a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.link a:hover {
  color: var(--primary-color);
}

.error {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-align: right;
}

.input-group-captcha {
  display: flex;
  align-items: center;
  gap: 10px; /* فاصله بین فیلد و تصویر */
  margin-bottom: 20px;
}

.input-group-captcha input {
  flex-grow: 1; /* اجازه رشد به فیلد ورودی برای پر کردن فضا */
  margin-bottom: 0;
}

.input-group-captcha img {
  height: 50px;
  width: 100px; /* عرض تصویر کپچا رو ثابت می‌کنیم */
  border-radius: 8px;
  border: 1px solid var(--input-border-color);
}/*# sourceMappingURL=register.css.map */