@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
    font-family:'Cairo',sans-serif;
}

body{

    background:
        linear-gradient(rgba(0,0,0,.18), rgba(0,0,0,.18)),
        url("../images/mm.png") center center no-repeat;

    background-size:cover;
    background-attachment:fixed;

}

/*************************
Container
*************************/

.container{
    width:100%;
    min-height:100vh;

    display:flex;

    justify-content:flex-end;

    align-items:center;

    padding:40px 60px;

    direction:ltr;   /* مهم جداً */
}

/*************************/

.left-side{

    display:none;

}

/*************************/

.right-side{

    width:100%;

    display:flex;

    justify-content:flex-end;

    align-items:center;

}

/*************************
Glass Card
*************************/

.login-card{

    width:100%;
    max-width:520px;

    margin-left:auto;
    margin-right:0;

    direction:rtl;

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(25px);
    -webkit-backdrop-filter:blur(25px);

    border:1px solid rgba(255,255,255,.45);

    border-radius:22px;

    padding:45px;

    box-shadow:
        0 8px 35px rgba(0,0,0,.35),
        inset 0 1px 1px rgba(255,255,255,.30);

}

/*************************/

.login-card::before{

    content:"";

    position:absolute;

    inset:0;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.12),
        transparent 50%
    );

    pointer-events:none;

}

/*************************/

.logo{

    text-align:center;

    margin-bottom:25px;

}

.logo img{

    width:70px;

    margin-bottom:15px;

}

.logo h1{

    color:#f4c75d;

    font-size:42px;

    font-weight:bold;

}

/*************************/

h2{

    color:#f4c75d;

    text-align:center;

    margin-bottom:10px;

}

p{

    color:#fff;

    text-align:center;

    opacity:.9;

    margin-bottom:35px;

}

label{

    display:block;

    color:#fff;

    margin-bottom:8px;

    font-weight:600;

}

/*************************/

.input-box{

    position:relative;

    margin-bottom:22px;

}

.input-box input{

    width:100%;

    height:56px;

    padding:0 50px 0 15px;

    border-radius:10px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.35);

    color:#fff;

    outline:none;

}

.input-box input::placeholder{

    color:#ececec;

}

.input-box input:focus{

    border-color:#ffd86c;

    background:rgba(255,255,255,.15);

}

.input-box i{

    position:absolute;

    right:18px;

    top:19px;

    color:#f4c75d;

}

/*************************/

button{

    width:100%;

    height:58px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    font-family:'Cairo';

    font-size:22px;

    font-weight:bold;

    color:#111;

    background:linear-gradient(90deg,#ffe27c,#d69a18);

}

button:hover{

    box-shadow:0 8px 20px rgba(255,215,120,.45);

}

/*************************
Responsive
*************************/

@media(max-width:768px){

.container{

    justify-content:center;

    padding:20px;

}

.right-side{

    justify-content:center;

}

.login-card{

    max-width:420px;

    padding:30px 20px;

}

.logo h1{

    font-size:32px;

}

.logo img{

    width:60px;

}

}