/* ==========================================
   PUSTAKMANDI LOGIN 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:linear-gradient(135deg,#2563eb,#1e3a8a); */
    background-color:  #f2f2f2;
}

/* Main Container */

.container{
    width:1100px;
    max-width:95%;
    min-height:650px;
    display:flex;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

/* ===========================
LEFT PANEL
=========================== */

.left{
    width:50%;
    background:url("https://images.unsplash.com/photo-1524995997946-a1c2e315a42f?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:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:40px;
}

.overlay h1{
    font-size:48px;
    margin-bottom:20px;
}

.overlay p{
    font-size:18px;
    line-height:1.8;
}

/* ===========================
RIGHT PANEL
=========================== */
.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;
  
    height:100px;
    width:100%;}
.right{
    width:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.login-form{
    width:100%;
    max-width:420px;
}

.login-form h2{
    text-align:center;
    margin-bottom:35px;
    color:#1e3a8a;
    font-size:36px;
}

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

.input-box{
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:20px;
    padding:14px 18px;
    transition:.3s;
}

.input-box:hover,
.input-box:focus-within{
    border-color:#2563eb;
    box-shadow:0 0 10px rgba(37,99,235,.15);
}

.input-box i{
    color:#2563eb;
    font-size:18px;
}

.input-box input{
    width:100%;
    border:none;
    outline:none;
    margin-left:12px;
    font-size:16px;
    background:transparent;
}

#togglePassword{
    cursor:pointer;
    color:#666;
}

/* ===========================
OPTIONS
=========================== */

.options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    font-size:14px;
}

.options a{
    text-decoration:none;
    color:#2563eb;
    font-weight:500;
}

.options a:hover{
    text-decoration:underline;
}

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

.login-btn{
    width:100%;
    border:none;
    background:#2563eb;
    color:white;
    padding:15px;
    border-radius:10px;
    font-size:17px;
    cursor:pointer;
    transition:.3s;
}

.login-btn:hover{
    background:#1e40af;
    transform:translateY(-2px);
}

/* ===========================
DIVIDER
=========================== */

.divider{
    text-align:center;
    margin:25px 0;
    color:#888;
    position:relative;
}

.divider::before,
.divider::after{
    content:"";
    position:absolute;
    width:40%;
    height:1px;
    background:#ddd;
    top:50%;
}

.divider::before{
    left:0;
}

.divider::after{
    right:0;
}

/* ===========================
SOCIAL BUTTONS
=========================== */

.social-login{
    display:flex;
    gap:15px;
}

.social-login button{
    flex:1;
    border:none;
    padding:14px;
    border-radius:10px;
    cursor:pointer;
    font-size:15px;
    transition:.3s;
}

.google{
    background:#ffffff;
    border:1px solid #ddd !important;
}

.google:hover{
    background:#f5f5f5;
}

.facebook{
    background:#1877f2;
    color:white;
}

.facebook:hover{
    background:#145dbf;
}

/* ===========================
SIGNUP
=========================== */

.signup{
    margin-top:30px;
    text-align:center;
    font-size:15px;
}

.signup a{
    color:#2563eb;
    font-weight:600;
    text-decoration:none;
}

.signup a:hover{
    text-decoration:underline;
}

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

@media(max-width:900px){

.container{
    flex-direction:column;
    min-height:auto;
}

.left{
    width:100%;
    height:250px;
}

.right{
    width:100%;
    padding:35px 25px;
}

.overlay h1{
    font-size:34px;
}

.login-form h2{
    font-size:30px;
}

.social-login{
    flex-direction:column;
}

}