*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

body{
    display: flex;
    position: relative;
    background: url(images/homepage.jpg) no-repeat;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    direction: rtl;
    overflow: hidden;

}
body::before{
    content:"";
    position:absolute;
    inset:0;
    background: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.22) 100%);
    z-index: 0;
}
body::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    
    z-index: 1;
    pointer-events: none;
}

.container{
    position: absolute;
    bottom: 30px;
    left: 50px;
    transform: translatey(-50px);
    height: 440px;
    width: 300px;
    background:transparent;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0,0,0,0.2);
    justify-content: center;
    align-items: center;
    z-index: 2;
    display: flex;
}

.container .login-form{
    width: 100%;
    padding: 40px;
    direction: rtl;
    
}
.login-form h2{
    color: #203748;
    font-size: 2em;
    text-align: center;
   
}

.input-box{
    direction: rtl;
    text-align: right;
    position: relative;
    width: 100%;
    height: 30px;
    border-bottom: 2px solid #162938;
    margin: 50px 0;

}

.input-box label{
    position: absolute;
    top: 50%;
    right: 5px;
    color: #162938;
    transform: translateY(-50%);
    font-size: 1em;
    pointer-events: none;
    font-weight: 500;

}
.input-box input{
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    transition: 5s;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 5px 0 35px;



}
.input-box input:focus ~ label,
.input-box input:valid ~ label{
    top: -5px;
    color: #162938;
    font-size: 0.75em;
    
}
.input-box .icon{
    position: absolute;
    top: 50%;
    left: 8px;
    color: #162938;
    transform: translateY(-50%);
    z-index: 100;
   
    font-size: 1.2em;
    line-height: 57px;

}
.btn{
    width: 100%;
    height: 45px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 500;

}

.btn:hover{
    background: #162938;
}
.right-side {
  position: fixed;
  top: px;
  right: 45px;
  width: 370px;
  color: white;
  text-align: center;
  font-family: Arial, sans-serif;
  z-index: 2;
  background-color: ;
}

.logo-area {
  margin-bottom: 15px;
}

.logo-icon svg {
  width: 250px;
  height: 120px;
  fill: none;
  stroke: #d8b65c;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-area h1 {

  
  font-size: 35px;
  font-family: Georgia, serif;
  font-weight: bold;
  color: #d8b65c;
}

.logo-area p {
  margin: px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.welcome-text h2 {
 
  font-size: 35px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 20px;
}

.divider span {
  width: 95px;
  height: 2px;
  background-color: #d8b65c;
}

.divider svg {
  width: 60px;
  height: 25px;
  fill: none;
  stroke: #d8b65c;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-description {
  margin: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
}

.features {
    
  margin-top: 30px;
}

.feature {
    margin-right: 22%;

  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  text-align: right;
}

.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h3 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
}

.feature-text p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #d8b65c;
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #d8b65c;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bottom-note {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  color: #efd071;
  font-size: 27px;
  font-family: Georgia, serif;
}

.bottom-note span {
  font-size: 43px;
  line-height: 1;
}

.bottom-note p {
  margin: 0;
}

/* התאמה למסכים קטנים */
@media (max-width: 900px) {
  .right-side {
    position: static;
    width: 90%;
    margin: 40px auto;
  }

  .welcome-text h2 {
    font-size: 36px;
  }

  .main-description {
    font-size: 21px;
  }
}

@media (max-width: 700px) {
  .container {
    position: static;
    bottom: auto;
    left: auto;
    transform: none;
    width: min(100%, 380px);
    margin: 24px auto 40px;
    height: auto;
    padding: 20px;
  }

  .container .login-form {
    padding: 24px 20px;
  }

  .input-box {
    height: auto;
    margin: 30px 0;
  }

  .input-box input {
    padding: 12px 40px 12px 14px;
    font-size: 1em;
  }

  .btn {
    height: 48px;
    font-size: 1em;
  }

  .right-side {
    width: 100%;
    margin: 24px auto;
    padding: 0 16px;
  }

  .logo-icon svg {
    width: 190px;
    height: 90px;
  }

  .logo-area h1 {
    font-size: 28px;
  }

  .welcome-text h2 {
    font-size: 28px;
  }

  .divider span {
    width: 60px;
  }

  .divider svg {
    width: 50px;
  }

  .main-description {
    font-size: 17px;
  }

  .feature {
    margin-right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .feature-icon {
    width: 36px;
    height: 36px;
  }

  .feature-icon svg {
    width: 18px;
    height: 18px;
  }

  .feature-text h3 {
    font-size: 14px;
  }

  .feature-text p {
    line-height: 1.3;
  }
}
