/* ===========================================
   PUSTAKMANDI SIGNUP PAGE
=========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background-color:  #f2f2f2;
    padding:40px;
}

/* ==========================
CONTAINER
========================== */

.container{

    width:1150px;

    max-width:95%;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    display:flex;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

}

/* ==========================
LEFT SIDE
========================== */

.left{

    width:45%;

    background:url("https://images.unsplash.com/photo-1513258496099-48168024aec0?auto=format&fit=crop&w=1200&q=80");

    background-size:cover;

    background-position:center;

    position:relative;

} 

.overlay{

    width:100%;

    height:100%;

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

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    text-align:center;

    padding:40px;

}

.overlay h1{

    font-size:45px;

    margin-bottom:20px;

}

.overlay p{

    font-size:18px;

    line-height:1.8;

}

/* ==========================
RIGHT SIDE
========================== */

.p-logo {
    
   
    height:100px;
    width:100px;
border-radius: 50%;
    object-fit: cover;
}
.p-logo-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
   
    }

.right{

    width:55%;

    padding:40px;

    display:flex;

    justify-content:center;

    align-items:center;

}

.signup-form{

    width:100%;

    max-width:500px;

}

.signup-form h2{

    text-align:center;

    color:#1e3a8a;

    margin-bottom:30px;

    font-size:34px;

}

/* ==========================
ROW
========================== */

.row{

    display:flex;

    gap:15px;

}

.row .input-box{

    flex:1;

}

/* ==========================
INPUT BOX
========================== */

.input-box{

    display:flex;

    align-items:center;

    border:1px solid #ddd;

    border-radius:10px;

    padding:14px 18px;

    margin-bottom:18px;

    transition:.3s;

}

.input-box:hover,
.input-box:focus-within{

    border-color:#2563eb;

    box-shadow:0 0 10px rgba(37,99,235,.2);

}

.input-box i{

    color:#2563eb;

    font-size:18px;

}

.input-box input,
.input-box select{

    width:100%;

    border:none;

    outline:none;

    margin-left:12px;

    font-size:15px;

    background:transparent;

}

.input-box select{

    cursor:pointer;

}

#togglePassword{

    cursor:pointer;

    color:#777;

}

/* ==========================
PASSWORD STRENGTH
========================== */

.strength{

    width:100%;

    height:8px;

    background:#ddd;

    border-radius:20px;

    overflow:hidden;

    margin-bottom:20px;

}

#strengthBar{

    width:0;

    height:100%;

    background:red;

    transition:.4s;

}
    .error {
    color: #dc3545;
    background-color: #ffe6e6;
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 8px;
    font-size: 14px;
}
/* ==========================
UPLOAD
========================== */

.upload{

    margin-bottom:20px;

}

.upload label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

}

.upload input{

    width:100%;

}

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

.terms{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:25px;

    font-size:14px;

}

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

.signup-btn{

    width:100%;

    padding:15px;

    border:none;

    background:#2563eb;

    color:#fff;

    font-size:17px;

    border-radius:10px;

    cursor:pointer;

    transition:.3s;

}

.signup-btn:hover{

    background:#1d4ed8;

    transform:translateY(-2px);

}

/* ==========================
LOGIN LINK
========================== */

.login-link{

    margin-top:25px;

    text-align:center;

}

.login-link a{

    text-decoration:none;

    color:#2563eb;

    font-weight:600;

}

.login-link a:hover{

    text-decoration:underline;

}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:900px){

.container{

    flex-direction:column;

}

.left{

    width:100%;

    height:250px;

}

.right{

    width:100%;

}

.row{

    flex-direction:column;

    gap:0;

}

.overlay h1{

    font-size:34px;

}

.signup-form h2{

    font-size:30px;

}

}