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

body{
    font-family:'Poppins',sans-serif;
    background:#edf0df;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* WRAPPER */
.login-wrapper{
    width:70%;
    height:75vh;
    background:#f4f1e5;
    border:2px solid #5b7d55;
    border-radius:20px;
    display:flex;
    overflow:hidden;
}

/* LEFT */
.login-left{
    width:50%;
    height:100%;
}

.login-left img{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* RIGHT */
.login-right{
    width:50%;
    padding:35px 45px;
    position:relative;
    display:flex;
    flex-direction:column;
}

/* TITLE */
.login-right h1{
    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    color:#146b33;
    margin-bottom:18px;
}

/* SIGN IN (smaller) */
.login-right h2{
    color:#146b33;
    font-size:24px;   /* reduced */
    margin-bottom:10px;
    font-family:'Cormorant Garamond',serif;
}

/* GOOGLE BUTTON */
.google-btn{
    width:100%;
    height:54px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;

    background:#fff;
    border:1px solid #dadce0;
    border-radius:14px;

    text-decoration:none;

    color:#3c4043;
    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:all .25s ease;

    box-shadow:
        0 2px 6px rgba(0,0,0,.05);
}

.google-btn img{
    width:22px;
    height:22px;
    object-fit:contain;
}

.google-btn:hover{
    background:#fff;
    border-color:#0d6b2f;

    box-shadow:
        0 6px 18px rgba(13,107,47,.12);

    transform:translateY(-2px);
}

.google-btn:active{
    transform:translateY(0);
}

.google-btn span{
    letter-spacing:.2px;
}
.google-btn{
    position:relative;
    justify-content:center;
}

.google-btn img{
    position:absolute;
    left:18px;
}

/* OR LINE */
.or-line{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:25px;
}

.or-line span{
    flex:1;
    height:1.5px;
    background:#146b33;
}

.or-line p{
    color:#146b33;
    font-weight:600;
    font-size:18px;   /* slightly smaller */
}

/* INPUTS (closer spacing) */
.input-group{
    margin-bottom:12px;  /* reduced spacing */
}

.input-group label{
    display:block;
    color:#146b33;
    margin-bottom:5px;
    font-size:13px;
}

.input-group input{
    width:100%;
    border:none;
    border-bottom:2px solid #5b7d55;
    background:transparent;
    padding:7px 0;
    font-size:14px;
    outline:none;
}

/* LOGIN BUTTON */
.login-btn{
    width:100%;
    height:42px;
    background:#146b33;
    color:white;
    border:none;
    border-radius:6px;
    font-size:15px;
    cursor:pointer;
    margin-top:8px;
    margin-bottom:12px;
}

/* REGISTER */
.register-btn{
    width:100%;
    height:42px;
    border:1px solid #146b33;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:6px;
    text-decoration:none;
    color:#146b33;
    font-weight:500;
    font-size:14px;
}

/* FORGOT */
.forgot{
    text-align:right;
    margin-top:10px;
}

.forgot a{
    text-decoration:none;
    color:#146b33;
    font-size:13px;
}

/* FOOTER */
.footer{
    margin-top:auto;
    padding-top:15px;
    font-size:11px;
    color:#146b33;
    text-align:right;

    padding-right:5px;
}
.error{
    color: red;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 10px;
}
.success-message{
    background-color:#e8f5e9;
    color:#2e7d32 !important;
    border:1px solid #81c784;
    padding:12px 15px;
    margin-bottom:15px;
    border-radius:8px;
    text-align:center;
    font-size:14px;
    font-weight:600;
}
