﻿/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%% NavBar Desktop %%%%%%%%%%%%%%%%%%%%%%*/
/*================== Navbar Desktop =============*/
/*%%%%%%%%%%%%%%%%%%%%%%%% END of Navbar Desktop %%%%%%%%%%%%%%%%%%%%*/
/*%%%%%%%%%%%%%%%%%%%%%%%% Navbar Mobile %%%%%%%%%%%%%%%%%%%%*/
/*%%%%%%%%%%%%%%%%%%%%%%%% END of Navbar Mobile %%%%%%%%%%%%%%%%%%%%*/
/*%%%%%%%%%%%%%%%%%%%%%%%%%%  Footer  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
/*%%%%%%%%%%%%%%%%%%%%%%%  End OF Footer  %%%%%%%%%%%%%%%%%%%%%%%%%%%*/
* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

:root {
  --white: #fff;
  --white-transparent: rgba(255, 255, 255, 0.21);
  --black: #0A0A0A;
  --black-transparent: rgba(0, 0, 0, 0.19);
  --btn-black-hover: #222222;
  --blue: #5E94FF;
  --purple: #5482ED;
  --purple-light: #C5CFF2;
  --orange: #FB691C;
  --orange-dark: #FF3D00;
  --gold: #FBBD1C;
  --yellow: #FBBD1C;
  --yellow-light: #FEF6CC;
  --red: #FF3C00;
  --red-light: #FFDED4;
  --green: #00B606;
  --green-light: #DDFAD8;
  --gray-light: #EDEDED;
  --text-title: #2D2942;
  --text-description: rgba(0, 0, 0, 0.25);
  --link-hover: #FB691C;
  --white-glass: #ffffff94;
  --white-glass-hover: #dbdbdb6e;
  --glass-blur: blur(10px);
}

body {
  font-family: "Shabnam", sans-serif;
  background-color: var(--gray-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  direction: rtl;
}

.Container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  height: 90vh;
  min-width: 768px;
  max-width: 1200px;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .Container {
    flex-direction: column;
    width: 90%;
    min-width: 90%;
    gap: 20px;
    align-content: end;
    height: auto;
  }
}
.Container__Forms {
  height: 77vh;
  align-content: center;
  height: fit-content;
}
@media screen and (max-width: 768px) {
  .Container__Forms {
    width: 100%;
    display: flex;
    justify-content: end;
  }
}
.Container__Forms .form-container {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 350px;
  text-align: center;
  display: none;
  position: relative;
  overflow: hidden;
  height: fit-content;
}
@media screen and (max-width: 768px) {
  .Container__Forms .form-container {
    width: 90%;
    padding: 30px;
  }
}
.Container__Forms .form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}
.Container__Forms .active-form {
  display: block;
}
.Container__Forms h1 {
  color: var(--text-title);
  margin-bottom: 30px;
  font-size: 22px;
}
.Container__Forms .input-group {
  position: relative;
  margin-bottom: 25px;
}
.Container__Forms input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Vazir", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s;
}
.Container__Forms input:focus {
  border-color: var(--purple);
  outline: none;
}
.Container__Forms .otp-input {
  width: 40px;
  height: 40px;
  margin: 0 5px;
  text-align: center;
  font-size: 18px;
}
.Container__Forms .otp-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.Container__Forms .placeholder {
  position: absolute;
  right: 15px;
  top: 15px;
  color: var(--text-description);
  transition: all 0.3s ease;
  pointer-events: none;
  background-color: var(--white);
  padding: 0 5px;
}
.Container__Forms input:focus + .placeholder,
.Container__Forms input:not(:placeholder-shown) + .placeholder {
  top: -10px;
  font-size: 12px;
  color: var(--purple);
}
.Container__Forms .checkbox-group {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.Container__Forms .checkbox-group > input {
  width: 15px;
}
.Container__Forms .checkbox-group label {
  color: #0A0A0A;
  font-size: 16px;
}
.Container__Forms .btn {
  width: 100%;
  padding: 12px;
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-family: "Vazir", sans-serif;
  font-size: 16px;
  cursor: pointer;
  margin-bottom: 15px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background-color: #FB691C;
}
.Container__Forms .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  z-index: -1;
  transition: opacity 0.3s;
}
.Container__Forms .btn:hover::after {
  opacity: 0.9;
}
.Container__Forms .btn-secondary {
  background: var(--purple);
}
.Container__Forms .btn-secondary:hover {
  background: var(--blue);
}
.Container__Forms .links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.Container__Forms .links a {
  color: var(--purple);
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}
.Container__Forms .links a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
.Container__Forms .center-link {
  justify-content: center;
}
.Container__Forms .timer {
  color: var(--text-description);
  margin-top: 10px;
  font-size: 14px;
}
.Container__Forms .alert-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 350px;
  width: 100%;
}
.Container__Forms .alert-container.bottom {
  top: auto;
  bottom: 20px;
}
.Container__Forms .alert-container.center {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}
.Container__Forms .alert {
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateX(150%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
  backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
}
.Container__Forms .alert::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
}
.Container__Forms .alert.show {
  transform: translateX(0);
  opacity: 1;
}
.Container__Forms .alert.hide {
  transform: translateX(150%);
  opacity: 0;
}
.Container__Forms .alert-error {
  background-color: var(--red-light);
  color: var(--red);
}
.Container__Forms .alert-error::before {
  background-color: var(--red);
}
.Container__Forms .alert-success {
  background-color: var(--green-light);
  color: var(--green);
}
.Container__Forms .alert-success::before {
  background-color: var(--green);
}
.Container__Forms .alert-warning {
  background-color: var(--yellow-light);
  color: var(--text-title);
}
.Container__Forms .alert-warning::before {
  background-color: var(--yellow);
}
.Container__Forms .alert-info {
  background-color: var(--purple-light);
  color: var(--purple);
}
.Container__Forms .alert-info::before {
  background-color: var(--purple);
}
.Container__Forms .alert-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  margin-right: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
  padding: 0;
  line-height: 1;
}
.Container__Forms .alert-close:hover {
  opacity: 1;
}
.Container__Forms .alert-content {
  flex: 1;
  display: flex;
  align-items: center;
}
.Container__Forms .alert-icon {
  margin-left: 10px;
  font-size: 20px;
}
.Container__Forms .alert-message {
  flex: 1;
  padding: 0 10px;
  text-align: right;
}
.Container__Forms .alert-message a {
  color: inherit;
  text-decoration: underline;
  font-weight: bold;
}
.Container__Forms .input-error {
  border-color: var(--red);
  animation: shake 0.5s ease;
  background-color: var(--red-light);
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(5px);
  }
}
.Container__Forms .error-text {
  color: var(--red);
  font-size: 12px;
  margin-top: 5px;
  text-align: right;
  display: none;
}
.Container__Forms .sound-player {
  display: none;
}
.Container__Videos {
  width: fit-content;
  max-width: 400px;
  min-height: 60px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 768px) {
  .Container__Videos {
    display: none;
  }
}
.Container__Videos > div {
  max-width: 800px;
  width: 100%;
  height: fit-content;
  max-height: 80vh;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.Container__Videos > div > video {
  width: 100%;
  display: block;
}

.footer-bestui {
  width: 100%;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0A0A0A;
  position: fixed;
  bottom: 0;
}
.footer-bestui > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bestui > div > a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  gap: 10px;
  cursor: pointer;
}
.footer-bestui > div > a > span {
  color: #FF3636;
  font-weight: 100;
  font-family: Mouser;
}
@media screen and (max-width: 768px) {
  .footer-bestui > div > a > span {
    font-weight: 600;
  }
}
.footer-bestui > div > a > img {
  width: 30px;
}
