
*{box-sizing:border-box}

body{
  margin:0;
  min-height:100vh;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  background:linear-gradient(135deg,#0b4fa8,#2f89ff);
  display:flex;
  justify-content:center;
  align-items:center;
  color:#0b2b57;
}

/* 🌟 الكرت الرئيسي */
.page{
  width:92%;
  max-width:1100px;
  min-height:680px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(20px);
  border-radius:24px;
  overflow:hidden;
  display:flex;
  box-shadow:0 25px 60px rgba(0,0,0,.25);
}

/* 🎨 جهة اليسار */
.brand{
  width:50%;
  background:linear-gradient(135deg,#f6f9ff,#eef4ff);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:45px;
  position:relative;
}

.brand-logo{
  width:180px;
  margin-bottom:20px;
}

.brand h1{
  font-size:50px;
  margin:0;
  color:#082d5d;
  font-weight:900;
}

.brand p{
  font-size:22px;
  color:#5d6878;
  margin:20px 0 40px;
}

/* ⭐ Features */
.features{
  display:flex;
  gap:40px;
  justify-content:center;
}

.feature{
  text-align:center;
  transition:.2s;
}

.feature:hover{
  transform:translateY(-4px);
}

.feature .icon{
  font-size:38px;
  margin-bottom:10px;
}

.feature b{
  display:block;
  font-size:16px;
}

.feature span{
  color:#7a8494;
  font-size:13px;
}

/* 🌊 Wave */
.wave{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:110px;
  background:linear-gradient(135deg,#e9f1ff,#dce9fb);
  clip-path:polygon(0 45%,20% 70%,42% 72%,65% 45%,100% 55%,100% 100%,0 100%);
}

/* 🔐 جهة تسجيل الدخول */
.login{
  width:50%;
  padding:70px 60px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.login h2{
  font-size:34px;
  margin:0 0 10px;
  text-align:center;
  font-weight:900;
}

.login .sub{
  text-align:center;
  color:#5d6878;
  margin-bottom:30px;
}

/* ⚠️ رسالة الخطأ */
.error{
  background:#ffe8e8;
  color:#b00020;
  padding:12px;
  border-radius:12px;
  margin-bottom:20px;
  text-align:center;
  font-size:14px;
  font-weight:bold;
}

/* 🧾 Inputs */
.input-box{
  position:relative;
  margin-bottom:22px;
}

.input-box input,.input-box select{
  width:100%;
  height:58px;
  border:1px solid #d7deea;
  border-radius:14px;
  padding:0 55px 0 18px;
  font-size:16px;
  font-weight:600;
  transition:.2s;
  background:white;
}

.input-box input:focus,.input-box select:focus{
  border-color:#0b4fa8;
  box-shadow:0 0 0 4px rgba(11,79,168,.1);
  outline:none;
}

.input-box .i{
  position:absolute;
  right:18px;
  top:15px;
  font-size:22px;
  opacity:.7;
}

/* 🔘 زر الدخول */
.btn{
  width:100%;
  height:60px;
  background:linear-gradient(135deg,#082f63,#0b4f91);
  color:white;
  border:none;
  border-radius:14px;
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  transition:.2s;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* 📝 Footer */
.footer{
  text-align:center;
  margin-top:25px;
  color:#7a8494;
  font-size:14px;
}

/* 📱 موبايل */
@media(max-width:850px){

  body{
    align-items:flex-start;
    padding:15px 0;
  }

  .page{
    flex-direction:column;
    border-radius:18px;
  }

  .brand,.login{
    width:100%;
  }

  .brand{
    padding:25px 15px 70px;
  }

  .brand h1{
    font-size:34px;
  }

  .brand p{
    font-size:17px;
  }

  .features{
    gap:10px;
    flex-wrap:wrap;
  }

  .feature{
    width:30%;
  }

  .feature .icon{
    font-size:28px;
  }

  .login{
    padding:30px 18px;
  }

  .login h2{
    font-size:26px;
  }

  .input-box input{
    height:52px;
  }

  .btn{
    height:52px;
    font-size:18px;
  }
}
