.wrapper {
    position: relative;
    margin-top: 10vh;
    width: 400px;
    height: max-content;
    background: transparent;
    border: 2px solid rgba(233, 183, 146, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper .form-box {
   width: 100%;
   padding: 40px;
}

.form-box h2{
   font-size: 2em;
   color: #162938;
   text-align: center;
}

.input-box {
   position: relative;
   width: 100%;
   height: 50px;
   border-bottom: 2px solid #162938;
   margin: 30px 0;
}

.input-box label{
   position: absolute;
   top: 50%;
   right: 5px;
   transform: translateY(-50%);
   font-size: 1em;
   color:#162938;
   font-weight: 500;
   pointer-events: none;
   transition: 0.5s;
}

.input-box-gender label{
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   font-size: 1em;
   color:#162938;
   font-weight: 500;
   pointer-events: none;
   transition: 0.5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
   top: -5px;
}


.input-box input{
   width: 100%;
   height: 100%;
   direction: rtl;
   background: transparent;
   border: none;
   outline: none;
   font-size: 1em;
   color: #162938;
   font-weight: 600;
   padding: 0 35px 0 5px;
}

.input-box .icon{
   position: absolute;
   left: 8px;
   font-size: 1.2em;
   color:#162938;
   line-height: 57px;
   transition: .5s;
}


.hyf {
   margin-top: -30px;

}
.btn-signup {
   width: 100%;
   height: 45px;
   margin-top: 10px;
   background:#162938;
   border: none;
   outline: none;
   border-radius: 6px;
   cursor: pointer;
   font-size: 1em;
   color:#fff;
   font-weight: 500;
}

.login-register {
   font-size: 1.4em;
   text-align: center;
   margin: 25px 0;
}

.login-register .register-link {
   color: #b4e3ff;
   text-decoration: none;
   font-weight: 700;
   position: relative;
   transition: color 0.3s ease;
   display: inline-block;
   background: linear-gradient(transparent 60%, rgba(180, 227, 255, 0.25) 40%);
   padding: 0 6px;
}

.login-register .register-link::after {
   content: '';
   position: absolute;
   width: 100%;
   height: 2px;
   bottom: -2px;
   left: 0;
   background-color: #955412;
   transform: scaleX(0);
   transition: transform 0.3s ease;
}

.login-register .register-link:hover {
   color: #e8ecef;
}

.login-register .register-link:hover::after {
   transform: scaleX(1);
}

select {
   width: 100%;
   height: 50px;
   background: transparent;
   border: 2px solid #162938;
   border-radius: 5px;
   font-size: 1em;
   color: #162938;
   padding: 0 10px;
   outline: none;
   margin-top: 5px;
}

.gender-radio label {
   margin-bottom: 50px; /* מרווח בין התווית לכפתור */
   display: block;
   font-size: 1em;
   color: #162938;
   align-items: center;
   font-weight: 500;
}

.gender-radio {
   display: flex; 
   justify-content: space-between; /* לפיזור אחיד של הכפתורים */
   flex-direction: row;
   align-items: center;
   margin-bottom: 85px;
   gap: 20px;
}

.gender-radio div {
   text-align: center; /* ליישור שם המגדר במרכז */
   display: flex;
   flex-direction: column; /* תווית מעל כפתור */
   align-items: center;
   justify-content: space-between;
}

.input-box-gender {
   position: relative;
   width: 100%;
   height: 50px;
   margin: 30px 0;
}

input[type="radio"] {
   appearance: none; 
   width: 15px; 
   height: 15px;
   border: 2px solid #162938; 
   border-radius: 70%; 
   outline: none;
   cursor: pointer;
   transition: all 0.3s ease; 
}

input[type="radio"]:checked {
   background-color: #c99c8b;
    border-color: #955412;
}

input[type="radio"]:hover {
   border-color: #b3886b;
   background-color: #f7f2ef;
}

.r-label {
   text-align: center;
   cursor: pointer;
   background-color: transparent;
   margin-left: 10px;
   font-size: 16px;
   color: #162938;
   cursor: pointer;  
}

.password-rules {
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 0.9em;
}

.password-rules p {
    margin: 0 0 5px 0;
    color: #fff;
    font-weight: bold;
}

.password-rules ul {
    margin: 0;
    padding-right: 20px;
    color: #fff;
}

.password-rules li {
    margin: 3px 0;
}

