/*# sourceMappingURL=style.css.map */
@import url(https://fonts.googleapis.com/css?family=Dancing+Script|Roboto);
*, *:after, *:before {
  box-sizing: border-box;
}
 @font-face {
    font-family: 'IRANSans1';
    src: url('iransans.woff2');
}

@font-face {
    font-family: 'IRANSans';
    src: url('iransans2.woff2');
}

/* متن خطا */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}

/* فرم */
@keyframes wrong-log {
  0% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-8px); }
  80% { transform: translateX(8px); }
  100% { transform: translateX(0); }
}

.wrong-entry {
  animation: shake 0.4s;
  color: #FF4081;
}

.wrong-log {
  animation: wrong-log 0.4s;
}

   /* متن هشدار */
 .alert {
  color: #e74c3c;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
}

.error-msg {
  color: red;
  margin-top: 5px;
  font-size: 14px;
  direction: rtl;
}

.success-msg {
  color: green;
  margin-top: 5px;
  font-size: 14px;
  display: none;
   direction: rtl;
}
body {
  background: #cc3367;
  text-align: center;
 font-family: 'IRANSans1';
}






.panda {
  position: relative;
  width: 200px;
  margin: 50px auto;
}

/* .panda {
  position: absolute;    از relative به absolute تغییر بده 
  top: 20px;             همیشه 20px از بالا 
  left: 50%;             وسط صفحه 
  transform: translateX(-50%);
  width: 200px;
  z-index: 1000;        بالای فرم 
} */

form {
  margin-top: 300px;
      /* فرم‌ها برن پایین‌تر تا زیر پاندا باشن */
}

.face {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 100%;
  margin: 50px auto;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  z-index: 50;
  position: relative;
}

.ear, .ear:after {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #000;
  z-index: 5;
  border: 10px solid #fff;
  left: -15px;
  top: -15px;
  border-radius: 100%;
}
.ear:after {
  content: '';
  left: 125px;
}

.eye-shade {
  background: #000;
  width: 50px;
  height: 80px;
  margin: 10px;
  position: absolute;
  top: 35px;
  left: 25px;
  transform: rotate(220deg);
  border-radius: 25px/20px 30px 35px 40px;
}
.eye-shade.rgt {
  transform: rotate(140deg);
  left: 105px;
}

.eye-white {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background: #fff;
  z-index: 500;
  left: 40px;
  top: 80px;
  overflow: hidden;
}
.eye-white.rgt {
  right: 40px;
  left: auto;
}

.eye-ball {
  position: absolute;
  width: 0px;
  height: 0px;
  left: 20px;
  top: 20px;
  max-width: 10px;
  max-height: 10px;
  transition: 0.1s;
}
.eye-ball:after {
  content: '';
  background: #000;
  position: absolute;
  border-radius: 100%;
  right: 0;
  bottom: 0px;
  width: 20px;
  height: 20px;
}

.nose {
  position: absolute;
  height: 20px;
  width: 35px;
  bottom: 40px;
  left: 0;
  right: 0;
  margin: auto;
  border-radius: 50px 20px/30px 15px;
  transform: rotate(15deg);
  background: #000;
}

.body {
  background: #fff;
  position: absolute;
  top: 200px;
  left: -20px;
  border-radius: 100px 100px 100px 100px/126px 126px 96px 96px;
  width: 250px;
  height: 282px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.hand, .hand:after, .hand:before {
  width: 40px;
  height: 30px;
  border-radius: 50px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
  background: #000;
  margin: 5px;
  position: absolute;
  top: 70px;
  left: -25px;
}
.hand:after, .hand:before {
  content: '';
  left: -5px;
  top: 11px;
}
.hand:before {
  top: 26px;
}
.hand.rgt, .rgt.hand:after, .rgt.hand:before {
  left: auto;
  right: -25px;
}
.hand.rgt:after, .hand.rgt:before {
  left: auto;
  right: -5px;
}

.foot {
  top: 360px;
  left: -80px;
  position: absolute;
  background: #000;
  z-index: 1400;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  border-radius: 40px 40px 39px 40px/26px 26px 63px 63px;
  width: 82px;
  height: 120px;
}
.foot:after {
  content: '';
  width: 55px;
  height: 65px;
  background: #222;
  border-radius: 100%;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: auto;
}
.foot .finger, .foot .finger:after, .foot .finger:before {
  position: absolute;
  width: 25px;
  height: 35px;
  background: #222;
  border-radius: 100%;
  top: 10px;
  right: 5px;
}
.foot .finger:after, .foot .finger:before {
  content: '';
  right: 30px;
  width: 20px;
  top: 0;
}
.foot .finger:before {
  right: 55px;
  top: 5px;
}
.foot.rgt {
  left: auto;
  right: -80px;
}
.foot.rgt .finger, .foot.rgt .finger:after, .foot.rgt .finger:before {
  left: 5px;
  right: auto;
}
.foot.rgt .finger:after {
  left: 30px;
  right: auto;
}
.foot.rgt .finger:before {
  left: 55px;
  right: auto;
}




/* فرم‌ها */
form {
  max-width: 400px;
  padding: 20px 40px;
  background: #fff;
  margin: auto;
  display: none;            /* پیش‌فرض مخفی */
  box-shadow: 0 10px 15px rgba(0,0,0,0.15);
  transition: 0.3s;
  position: relative;
  transform: translateX(0); /* فرم سر جای خودش */
  z-index: 500;
  border: 1px solid #eee;
  margin-top: -96px;
}

form.active { 
  display: block;   /* فقط فرم فعال نمایش داده بشه */
}

form.up { 
  transform: translateY(-60px); /* حرکت ملایم به چپ */
}


h1 { color:#FF4081; font-family:'Dancing Script', cursive; }

.btn {
  box-sizing: border-box;
  --webkit-appearance: none;
  --moz-appearance: none;
  background-color: transparent;
  background:#fff;
   font-family: 'iransans';
  padding:5px;
  width:150px;
  height:35px;
  border:1px solid #FF4081;
  border-radius: 0.4em;
  margin-top:25px;
  cursor:pointer;
  transition:0.3s;
  box-shadow:0 50px #FF4081 inset;
  color:#fff;
   align-self: center;
    font-size: 1rem;
    line-height: 1;
     text-transform: uppercase;
      appearance: none;
    font-weight: 500;
     text-align: center;
      box-shadow: 0 0 40px 40px #FF4081 inset, 0 0 0 0 #FF4081;
    transition: all 500ms ease-in-out;
}


    
   
    
 
   



.btn:hover {box-shadow: 0 0 10px 0 #FF4081 inset, 0 0 10px 4px #FF4081;
  color: #FF4081; }


/* فیلدها */
.form-group { position:relative; font-size:15px; color:#666; }
.form-group+.form-group { margin-top:30px; }
.form-label {position:absolute;right:0;top:-3px;transition:0.3s;padding-right: 3px;}



.form-control {
  width:100%;
  height:35px;
  background:none;
  border:none;
  border-bottom:1px solid #777;
  color: #555555d9;
  padding:5px 0;
  z-index:3;
  position:relative;
  direction: rtl;
  font-size: 18px;
  font-weight: 600;
 transition: color 0.3s ease, text-shadow 0.3s ease; /* فقط متن تغییر کند */
}


.form-control.fade-text {
  color: #7e7e7e; /* متن محو شده */
  text-shadow: 0 0 3px rgba(0,0,0,0.3); /* افکت نرم‌تر */
}





/* متن محو شود */
/* .form-control.fade-text {
  opacity: 0;
} */





.form-control:focus, .form-control:valid {
  outline:none; border-color:#FF4081; box-shadow:0 1px #FF4081;
}
.form-control:focus+.form-label, .form-control:valid+.form-label {
  font-size:12px; color:#FF4081; transform:translateY(-15px);
}

/* پیغام خطا */
form .alert {
  color:#f00;
  font-size:14px;
  margin-top:10px;
  display:none;
  position: static; /* 👈 تا جای فرم بمونه */
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
/* افکت خطا */





input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus,
input.form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    -webkit-text-fill-color: #555 !important;
     background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s ;
}


.rbg{
    text-decoration-line: none;
    font-weight: 600;
    font-size: 17px;
    font-family: 'iransans';
    color: #ff4081;
}

.rbg:hover{
     text-shadow: 1px 2px 4px #ff40809b;
     
}

.rbg1{
    text-decoration-line: none;
    font-weight: 600;
    font-size: 17px;
    font-family: 'iransans';
    color: #ff4081;
}

.rbg1:hover{
     text-shadow: 1px 2px 4px rgb(34 34 34);
}


 

 
 

    
   










/* کانتینر فیلد رمز
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

اینپوت
.password-wrapper .form-control {
  width: 100%;
  padding-right: 40px;  جا برای آیکن چشم 
  border: 2px solid #cc3367; رنگ ثابت 
  border-radius: 8px;
  font-size: 16px;
  transition: color 0.3s ease, text-shadow 0.3s ease;  نرم شدن متن 
}

لیبل
.password-wrapper .form-label {
  position: absolute;
  top: -10px;
  right: 10px;
  background: #fff;
  padding: 0 5px;
  font-size: 14px;
  color: #cc3367;
} */

/* دکمه چشم
.toggle-pass {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 10;
} */



/* 
.password-wrapper {
  position: relative;
   transition: color 0.3s ease, text-shadow 0.3s ease;   
} */




.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}






/* .toggle-pass{

} */





.toggle-pass {
  position: absolute;
   left: 0;
  top: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
   padding: 4px;
  z-index: 1000;
}

  
 

.toggle-pass i {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toggle-pass i.fade-out {
  opacity: 0;
  transform: scale(0.8);
}