body {
  font-family: 'Poppins', sans-serif;
  direction: rtl;
}
  
.container, .container-signup {
  width: 22%;
  background: #F8F9FD;
  background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
  border-radius: 40px;
  padding: 25px 35px;
  border: 5px solid rgb(255, 255, 255);
  box-shadow: #a1887f 0px 30px 30px -20px;
  margin-left: auto;
  margin-right: auto;
}
.container {
  margin-top: 10%; 
}
.container-signup {
  margin-top: 4%;
}

.heading {
  text-align: center;
  font-weight: 900;
  font-size: 2rem;
  color: #8d6e63;
}

.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5%;
}

.form .input {
  width: 87%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 15px;
  box-shadow: #a1887f 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
}

.form .type {
  width: 100%;
  background: white;
  border: none;
  padding: 15px 20px;
  border-radius: 20px;
  margin-top: 15px;
  box-shadow: #a1887f 0px 10px 10px -5px;
  border-inline: 2px solid transparent;
}

.form .input::-moz-placeholder {
  color: rgb(170, 170, 170);
}

.form .input::placeholder {
  color: rgb(170, 170, 170);
}

.form .input:focus {
  outline: none;
  border-inline: 2px solid #8d6e63;
}

.form .signup {
  display: block;
  margin-top: 10px;
  width: 90%;
}

.form .signup a {
  font-size: 13px;
  color: #8d6e63;
  text-decoration: none;
}

.form .login-button {
  display: block;
  width: 100%;
  font-weight: bold;
  background: linear-gradient(45deg, #a1887f, #8d6e63, #795548);
  color: white;
  padding-block: 15px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: #a1887f 0px 20px 10px -15px;
  border: none;
  transition: all 0.2s ease-in-out;
}

.form .login-button:hover {
  transform: scale(1.03);
  box-shadow: #a1887f 0px 23px 10px -20px;
}

.form .login-button:active {
  transform: scale(0.95);
  box-shadow: #a1887f 0px 15px 10px -10px;
}

  
/* استعلامات الوسائط للشاشات الصغيرة */
@media screen and (max-width: 430px) {
  .container, .container-signup {
    width: 75%;
    background: #F8F9FD;
    background: linear-gradient(0deg, rgb(255, 255, 255) 0%, rgb(244, 247, 251) 100%);
    border-radius: 40px;
    padding: 25px 35px;
    border: 5px solid rgb(255, 255, 255);
    box-shadow: #a1887f 0px 30px 30px -20px;
    margin-left: auto;
    margin-right: auto;
  }
  .container {
    margin-top: 50%; 
  }
  .container-signup {
    margin-top: 20%;
  }
  
  .heading {
    text-align: center;
    font-weight: 900;
    font-size: 1rem;
    color: #8d6e63;
  }
  
  .form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5%;
  }
  
  .form .input {
    width: 87%;
    background: white;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: #a1887f 0px 10px 10px -5px;
    border-inline: 2px solid transparent;
  }
  
  .form .type {
    width: 100%;
    background: white;
    border: none;
    padding: 15px 20px;
    border-radius: 20px;
    margin-top: 15px;
    box-shadow: #a1887f 0px 10px 10px -5px;
    border-inline: 2px solid transparent;
  }
  
  .form .input::-moz-placeholder {
    color: rgb(170, 170, 170);
  }
  
  .form .input::placeholder {
    color: rgb(170, 170, 170);
  }
  
  .form .input:focus {
    outline: none;
    border-inline: 2px solid #8d6e63;
  }
  
  .form .signup {
    display: block;
    margin-top: 10px;
    width: 90%;
  }
  
  .form .signup a {
    font-size: 13px;
    color: #8d6e63;
    text-decoration: none;
  }
  
  .form .login-button {
    display: block;
    width: 100%;
    font-weight: bold;
    background: linear-gradient(45deg, #a1887f, #8d6e63, #795548);
    color: white;
    padding-block: 15px;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: #a1887f 0px 20px 10px -15px;
    border: none;
    transition: all 0.2s ease-in-out;
  }
  
  .form .login-button:hover {
    transform: scale(1.03);
    box-shadow: #a1887f 0px 23px 10px -20px;
  }
  
  .form .login-button:active {
    transform: scale(0.95);
    box-shadow: #a1887f 0px 15px 10px -10px;
  }
}


/* الايباد */
@media only screen 
and (max-width: 1080px) 
and (max-width: 1620px) 
and (orientation: landscape) {
  .container, .container-signup {
    width: 30%;
    box-shadow: #a1887f 0px 30px 30px -20px;
  }

  .container-signup {
    max-width: 50%;
    box-shadow: #a1887f 0px 30px 30px -20px;
  }

  .container .form .input, .container-signup .form .input {
    width: 90%;
    box-shadow: #a1887f 0px 10px 10px -5px;
  }

  .container .form .signup {
    padding: 5% 0 2.5%;
  }

  .form .login-button {
    box-shadow: #a1887f 0px 20px 10px -15px;
  }

}