/*==================================================
RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(rgba(0,45,120,.85),rgba(0,45,120,.85)),
               url("../images/hero-background.jpg");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:30px;

}

/*==================================================
COLORS
==================================================*/

:root{

    --primary:#0056d6;
    --primary-dark:#003f9f;
    --red:#d62828;
    --white:#ffffff;
    --border:#dcdcdc;
    --shadow:0 20px 45px rgba(0,0,0,.18);

}

/*==================================================
CARD
==================================================*/

.signup-wrapper{

    width:100%;
    max-width:500px;

}

.signup-card{

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    border-radius:20px;

    padding:40px;

    box-shadow:var(--shadow);

}

/*==================================================
HEADER
==================================================*/

.signup-header{

    text-align:center;

    margin-bottom:30px;

}

.signup-header h1{

    color:var(--primary);

    font-size:34px;

    font-weight:800;

    margin-bottom:8px;

}

.signup-header h2{

    color:#333;

    font-size:24px;

    margin-bottom:12px;

}

.signup-header p{

    color:#666;

    font-size:15px;

    line-height:1.7;

}

/*==================================================
ERROR MESSAGE
==================================================*/

.alert{

    padding:15px;

    border-radius:10px;

    margin-bottom:20px;

    font-weight:600;

    text-align:center;

}

.alert-error{

    background:#ffe6e6;

    color:#b00020;

}

/*==================================================
INPUTS
==================================================*/

.input-group{

    position:relative;

    margin-bottom:22px;

}

.input-group i{

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    color:var(--primary);

    font-size:18px;

}

.input-group input{

    width:100%;

    height:55px;

    border:1px solid var(--border);

    border-radius:12px;

    padding-left:50px;

    padding-right:15px;

    font-size:16px;

    transition:.3s;

}

.input-group input:focus{

    outline:none;

    border-color:var(--primary);

    box-shadow:0 0 12px rgba(0,86,214,.18);

}

/*==================================================
TERMS
==================================================*/

.terms{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin-bottom:25px;

    font-size:15px;

    color:#555;

    line-height:1.6;

}

.terms input{

    margin-top:5px;

    width:18px;

    height:18px;

    cursor:pointer;

}

.terms a{

    color:var(--primary);

    text-decoration:none;

    font-weight:700;

}

.terms a:hover{

    text-decoration:underline;

}

/*==================================================
BUTTON
==================================================*/

.signup-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:12px;

    background:var(--primary);

    color:#fff;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.signup-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.signup-btn i{

    margin-right:8px;

}

/*==================================================
SIGN IN
==================================================*/

.signin-link{

    text-align:center;

    margin-top:25px;

    font-size:15px;

    color:#666;

}

.signin-link a{

    color:var(--primary);

    text-decoration:none;

    font-weight:700;

}

.signin-link a:hover{

    text-decoration:underline;

}

/*==================================================
MODAL
==================================================*/

.modal{

    display:none;

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    justify-content:center;

    align-items:center;

    z-index:9999;

}

.modal-content{

    background:#fff;

    width:90%;

    max-width:700px;

    border-radius:18px;

    padding:35px;

    position:relative;

    max-height:85vh;

    overflow-y:auto;

}

.modal-content h2{

    color:var(--primary);

    margin-bottom:20px;

    text-align:center;

}

.modal-body{

    color:#444;

    line-height:1.9;

}

.modal-body ol{

    padding-left:25px;

}

.modal-body li{

    margin-bottom:12px;

}

.close-modal{

    position:absolute;

    top:18px;

    right:22px;

    font-size:30px;

    cursor:pointer;

    color:#666;

    transition:.3s;

}

.close-modal:hover{

    color:var(--red);

}

.alert-success{

    background:#e9f9ef;

    color:#137333;

}


/*==================================================
MOBILE
==================================================*/

@media(max-width:768px){

    body{

        padding:15px;

        align-items:flex-start;

    }

    .signup-card{

        padding:28px 22px;

        margin-top:30px;

    }

    .signup-header h1{

        font-size:28px;

    }

    .signup-header h2{

        font-size:21px;

    }

    .signup-header p{

        font-size:14px;

    }

    .input-group input{

        height:52px;

        font-size:15px;

    }

    .signup-btn{

        height:52px;

        font-size:17px;

    }

    .modal-content{

        padding:25px;

    }

}