
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Roboto-Regular.woff2") format('woff2');
}

@font-face {
    font-family: 'OswaldBold';
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Oswald-Bold.woff2") format('woff2');
}

@font-face {
    font-family: 'OswaldRegular';
    font-style: normal;
    font-display: swap;
    src: url("../fonts/Oswald-Regular.woff2") format('woff2');
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"OswaldBold", "OswaldRegular", "Roboto";
    background:#fafafa;
    color:#222;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    padding-top:65px;
}

main {
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:80px 20px;
}


/* =========================
   GLOBAL CONTAINER
========================= */

.container{
    width:90%;
    max-width:1300px;
    margin:auto;

}

/* =========================
    Register
========================= */

.register-card{
    width:100%;
    max-width:450px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    border: 1px solid #00000033;
    box-shadow:0 5px 20px rgba(0,0,0,0.04);
    display:flex;
    flex-direction:column;
    gap:15px;
    
}

.register-card h2{
    font-family:"OswaldBold";
    text-align:center;
    margin-bottom:10px;
    color:#000;
}

.register-card input{
    width:100%;
    height:50px;
    padding:0 15px;
    border:1px solid #00000033;
    border-radius:12px;
    font-size:15px;
    outline:none;
    transition:0.3s;
}

.register-card input:focus{
    border-color:#d41111;
}

.phone-group{
    width:100%;
}

.iti{
    width: 100%;
}

.register-btn{
    width:100%;
    height:50px;

    border: 1px solid #d41111;
    border-radius:12px;

    background:transparent;
    color:#d41111;

    font-size:16px;
    font-weight:700;

    cursor:pointer;
    transition:0.3s;
}

.register-btn:hover{
    background:#d41111;
    color: #fff;
}

.register-card p{
    text-align:center;
    margin-top:10px;
    color:#000;
}

.register-card p a{
    color:#d41111;
    text-decoration:none;
    font-weight:700;
}

.register-card p a:hover{
    text-decoration:underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:768px){

    body{
        padding-top:130px; /* لو بتستخدم الـ Mobile Navbar */
    }

    main{
        margin:60px 20px;
    }

    .register-card{
        max-width:100%;
        padding:30px 20px;
        border-radius:16px;
    }

    .register-card h2{
        font-size:28px;
    }

    .register-card input,
    .register-btn{
        height:48px;
    }
}

@media (max-width:480px){

    main{
        margin:40px 15px;
    }

    .register-card{
        padding:24px 16px;
    }

    .register-card h2{
        font-size:24px;
    }

    .register-card input{
        font-size:14px;
    }

    .register-btn{
        font-size:15px;
    }

    .register-card p{
        font-size:14px;
    }
}