﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

html, body {
    height: 100%;
}

/* WRAPPER */
.auth-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* FULL SCREEN IMAGE */
/*.background-image {
    position: absolute;
    inset: 0;
    background: url('bg-image.jpeg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}*/

.background-image {
    position: absolute;
    inset: 0;
    background: url('bg-image-1.PNG') no-repeat center top;
    background-size: 100% 100%; 
    background-position: center;
    z-index: 1;
}

    /* DARK OVERLAY */
    .background-image::after {
        content: "";
        position: relative;
        inset: 0;
        background: linear-gradient( to right, rgba(0,0,0,0.75) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100% );
    }

/* LEFT TEXT */
.left-content {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    /*color: white;*/
    max-width: 600px;
    z-index: 2;
}

/*.logo {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 200px;
    color: #04010f;     
}*/

.logo {
    margin-bottom: 200px;
    margin-top: -60px;
}

    .logo img {
        width: 220px; /* perfect size */
        height: auto;
        display: block;
    }

.left-content h1 {
    font-size: 25px;
    line-height: 1.3;
    margin-bottom: 30px;
}

    .left-content h1 span {
        color: #4ade80;
    }

.features span {
    margin-right: 15px;
    font-size: 15px;
    opacity: 0.9;
}

/* RIGHT LOGIN CARD */
/*.login-card {
    position: absolute;
    right: 1%;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 33px;
    width: 420px;
    max-height: 76vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    z-index: 3;
}*/

.login-card {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 22px 26px; /* vertical padding kam */
    width: 425px;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    z-index: 3;
}

    .login-card::-webkit-scrollbar {
        width: 6px;
    }

    .login-card::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 10px;
    }


.card-logo {
    font-size: 20px;
    letter-spacing: 2px;
    color: #555;
    /*margin-bottom: 10px;*/
    margin-top: 0px;
}

.welcome {
    font-size: 20px;
    color: #777;
    margin-bottom: 10px;
}

/*.login-card h2 {
    font-size: 26px;
    margin-bottom: 25px;
}*/

.login-card h2 {
    font-size: 26px;
    margin-bottom: 12px; 
}

/*.login-card input {
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    font-size: 14px;
}*/

.login-card input {
    width: 100%;
    padding: 8px 11px; /* vertical height kam */
    border-radius: 8px; /* thoda subtle */
    border: 1px solid #ddd;
    margin-bottom: 8px; /* spacing kam */
    font-size: 14px;
}

.login-card button {
    width: 100%;
    padding: 6px;
    border-radius: 12px;
    border: none;
    background: #3b82f6;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .login-card button:hover {
        background: #2563eb;
    }

/* Divider */

.divider {
    display: flex;
    align-items: center;
    margin: 8px 0;
    color: #999;
    font-size: 14px;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #e5e5e5;
    }

    .divider span {
        margin: 0 12px;
    }

/* Google Button */

.google-btn {
    width: 100%;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

    .google-btn img {
        width: 18px;
    }

    .google-btn:hover {
        background: #f5f5f5;
    }

/* Terms */

.terms {
    margin-top: 12px;
    font-size: 12px;
    color: #777;
    text-align: center;
}

    .terms a {
        color: #3b82f6;
        text-decoration: none;
    }

        .terms a:hover {
            text-decoration: underline;
        }


.error {
    color: red;
    font-size: 13px;
    margin-top: 10px;
}



/* ============================= */
/* RESPONSIVE */
/* ============================= */

/* Tablet */
@media (max-width: 1024px) {

    .left-content h1 {
        font-size: 22px;
    }

    .login-card {
        width: 350px;
        margin-right: 1px;
    }
}

/* ============================= */
/* MOBILE FIX PROPER */
/* ============================= */

/*@media (max-width: 768px) {

    .auth-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    .left-content {
        display: none;
    }

    .login-card {
        position: relative;*/ /* VERY IMPORTANT */
        /*right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        padding: 40px 25px;
        border-radius: 14px;
    }

    .background-image::after {
        background: rgba(0,0,0,0.65);
    }
}*/


@media (max-width: 768px) {

    .auth-wrapper {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 15px;
        overflow: hidden;
    }

    .background-image {
        display: none !important; /* background remove */
        color:aliceblue !important;
    }

    .left-content {
        display: none !important; /* left content remove */
    }

    .login-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto;
        padding: 25px 20px;
        box-shadow: none; /* optional clean look */
        border-radius: 10px;
    }
}
/* SMALL MOBILE */

@media (max-width: 480px) {

    .login-card {
        padding: 30px 20px;
    }

        .login-card h2 {
            font-size: 20px;
        }

        .login-card input,
        .login-card button {
            padding: 14px;
            font-size: 14px;
        }
}



/* NEW HERO TITLE COLORS */
.hero-title {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 30px;
}

    .hero-title .green {
        color: #22c55e; /* same green tone */
    }

    .hero-title .red {
        color: #ef4444; /* red tone */
    }

    .hero-title .purple {
        color: #6366f1; /* purple/blue tone */
    }