* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  min-height: 100vh;
  background-image: url("../img/login.png");
  background-repeat: no-repeat;
  background-size: cover;
}

form {
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;   /* توسيط أفقي */
  align-items: flex-end;       /* توسيط عمودي */
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
  width: 100%;
}

.title i {
  font-size: 35px;
  color: #005f99;
  background-color: white;
  padding: 20px;
  border-radius: 50%;
}

/* ========= container responsive ========= */
.continer {
  background-color: #ffffff1f;
  width: 450px;
  margin-right: 150px;
  max-width: 90%;
  height: auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
   padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.continer span:nth-child(1) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.continer span:nth-child(2),
.continer span:nth-child(3) {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 10px;
  margin-top: 15px;
}

input {
  font-family: 'Cairo', sans-serif;
  text-align: right;
  padding: 7px;
  border-radius: 5px;
  border: 2px solid #8d8d8d;
  background-color: inherit;
}

/* row with select */
.span1 {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.span1 span:nth-child(1) {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 60%;
  gap: 5px;
}

/* Button */
.button {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.btn {
  font-family: 'Cairo', sans-serif;
  width: 95%;
  padding: 7px;
  color: white;
  background-color: #007bff;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
  border: 1px solid #eeeeee;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  cursor: pointer;
}

/* sign with */
.Sing_whit {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.Sing_whit i {
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0,0,0,0.5);
  padding: 5px 6px;
}

.Sing_whit i:nth-child(1) { color: rgb(255, 69, 69); }
.Sing_whit i:nth-child(2) { color: rgb(81, 69, 255); padding: 6px 9px; }
.Sing_whit i:nth-child(3) { color: rgb(69, 143, 255); }

.creat_acount {
  margin-top: 10px;
  display: flex;
  gap: 5px;
  flex-direction: row-reverse;
}

.creat_acount a {
  text-decoration: none;
  color: rgb(67, 94, 252);
  text-shadow: 2px 2px 5px rgb(68, 0, 255);

}
.text{
  color: #484848d4;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
input,
select{
  border: 2px solid #eeeeee;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}
input:focus{
  outline: none;
  border: none;
  box-shadow: 0 0 8px rgba(246, 59, 59, 0.6);
}
input::placeholder{
    color: #eeeeee;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}
.type {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  text-align: right;
}

.account_type {
  font-family: 'Cairo', sans-serif;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
  outline: none;
  background-color: inherit;
}
.account_type option {
  color: black;
}

/* ========= MEDIA QUERIES ========= */

/* موبايل صغير جداً */
@media (max-width: 380px) {
  .title i {
    font-size: 28px;
    padding: 15px;
  }
  .continer {
    padding: 15px;
  }
  input, .account_type {
    padding: 6px;
  }
}

/* موبايل عادي */
@media (max-width: 480px) {
  .title {
    margin-top: 40px;
  }
  .span1 {
    flex-direction: row;
  }
  .span1 span:nth-child(1),
  .span1 span:nth-child(2) {
    width: 100%;
  }
}

/* تابلت */
@media (max-width: 768px) {
  .continer {
    width: 90%;
    margin-right: 0;
  }
  form {
    align-items: center; 
  }
}

/* لابتوب صغير */
@media (max-width: 992px) {
  form {
    padding-top: 40px;
  }
}
