body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.auth-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column !important;
    }

    .left-panel {
        width: 100% !important;
        min-width: unset !important;
        min-height: 100vh !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 1.5rem !important;
    }

    .right-panel {
        display: none !important;
    }
}



.left-panel {
    position: relative;
    z-index: 1;
    width: 24%;
    min-height: 100vh;
    /* glass transparency */
     background: 
        radial-gradient(1200px 900px at -10% -10%, rgba(29,233,182,.18), transparent 55%),
        radial-gradient(900px 500px at 110% -10%, rgba(29,196,233,.18), transparent 55%),
        radial-gradient(1000px 700px at 110% 110%, rgba(29,196,233,.25), transparent 60%),
        rgba(17, 20, 24, 0.85); /* semi-transparent dark base */

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    /* optional subtle glow */
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(0,0,0,0.4);

}



.right-panel {
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    z-index: 0;
    background: linear-gradient(to bottom right, rgba(29,196,233,0.55), rgba(17,20,24,0.7)), url('/images/login_background.jpg') center/cover no-repeat;
}

    .right-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }



.logo {
    background: white;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #1de9b6;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.brand {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.login-form {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

    .login-form label {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    .login-form input {
        padding: 0.75rem;
        border: none;
        border-bottom: 2px solid white;
        background: transparent;
        color: white;
        font-size: 1rem;
        margin-bottom: 1.5rem;
        border-radius: 0;
    }

    .login-form input:focus {
        padding: 0.75rem;
        border: none;
        border-bottom: 2px solid white;
        background: transparent;
        color: white;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .login-form button,
    .register-form button {
        padding: 0.75rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.3px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .login-form button:hover,
        .register-form button:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: rgba(255, 255, 255, 0.35);
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
        }

.terms {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
    opacity: 0.9;
}

.help {
    font-size: 0.75rem;
    margin-top: 3rem;
    opacity: 0.8;
    text-align: center;
}

    .help a {
        color: white;
    }

.login-form input:focus {
    outline: none;
    box-shadow: none;
    border-color: white;
}
.register-form {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Tight vertical spacing */
}

    .register-form label {
        font-size: 0.85rem;
        font-weight: 600;
        color: white;
        margin-bottom: 0.25rem;
        display: block;
    }

    .register-form input {
        width: 100%;
        padding: 0.5rem 0;
        background: transparent;
        border: none;
        border-bottom: 2px solid white;
        color: white;
        font-size: 0.95rem;
        border-radius: 0;
        transition: border-color 0.2s ease;
        appearance: none; /* removes default styles on autofill for some browsers */
    }

        .register-form input:focus {
            outline: none;
            border-bottom: 2px solid white;
        }

        .register-form input::placeholder {
            color: #bbb;
        }

        .register-form input:-webkit-autofill {
            box-shadow: 0 0 0px 1000px transparent inset !important;
            -webkit-text-fill-color: white !important;
            transition: background-color 9999s ease-out 0s;
        }


