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

body{
    min-height:100vh;
    background:linear-gradient(135deg,#5f7fb9,#7fa0d8);
    width:100vw;
    overflow-x:hidden;
}

.main{
    width:100%;
    min-height:100vh;
    display:flex;
    align-items:center;
}
.sub-address{
    font-size:18px;
    font-weight:400;
    opacity:0.85;
    margin-top:10px;
}



.Login-left{
    flex:1;
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:60px;
    text-align:center;
}

.logo img{
    width:260px;
    margin-bottom:25px;
}

.Login-left h1{
    font-size:32px; /* sakto lang, hindi na overpower */
    font-weight:600;
    margin-bottom:5px;
}

.Login-left h3{
    font-size:30px;
}

.Login-right{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
}

.card{
    width:100%;
    max-width:560px;
    padding:85px 70px;
    border-radius:26px;

    background:rgba(255,255,255,0.15);
    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,0.25);
    box-shadow:0 15px 45px rgba(0,0,0,0.30);
    color:white;
}

/* Hide browser default password reveal icon */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-password-reveal-button {
    display: none !important;
}

.card h2{
    text-align:center;
    font-size:36px;
}

.card p{
    text-align:center;
    font-size:18px;
    margin-bottom:40px;
}

/* INPUT GROUP */
.card-box{
    position:relative;
    margin-bottom:36px;
}

.card-box input{
    width:100%;
    padding:24px 18px;
    border-radius:16px;
    outline:none;

    border:1px solid rgba(255,255,255,0.35);
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(12px);

    color:#fff;
    font-size:18px;
}

.card-box label{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    font-size:16px;
    color:rgba(255,255,255,0.85);
    transition:.3s;
}

/* FLOAT EFFECT */
.card-box input:focus + label,
.card-box input:not(:placeholder-shown) + label,
.card-box input:-webkit-autofill + label{

    top:0;
    transform:translateY(-60%);
    font-size:13px;

    background:rgba(95,127,185,0.95);
    padding:0 10px;
    border-radius:6px;
    color:#fff;
}


.card-box input:focus{
    border-color:#fff;
    box-shadow:0 0 0 4px rgba(255,255,255,0.18);
}

/* AUTOFILL FIX */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{

    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.12) inset !important;
    box-shadow: 0 0 0 1000px rgba(255,255,255,0.12) inset !important;

    -webkit-text-fill-color: #ffffff !important;

    border:1px solid rgba(255,255,255,0.35) !important;

    transition: background-color 9999s ease-in-out 0s;
}

.login-btn{
    width:100%;
    padding:22px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,0.4);

    background:rgba(255,255,255,0.18);
    backdrop-filter:blur(10px);

    color:white;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
}

.login-btn:hover{
    background:rgba(255,255,255,0.3);
}

.forgot{
    text-align:center;
    margin-top:20px;
}

.forgot a{
    color:#fff;
    font-size:20px;
}

@media(max-width:768px){

    .main{
        flex-direction:column;
    }

    .Login-left{
        padding:40px 20px;
    }

    .card{
        padding:55px 35px;
    }

    .Login-left h1{
        font-size:28px;
    }

    .Login-left h3{
        font-size:18px;
    }
}