﻿.main-content {
    padding-top: calc(var(--navbar-height, 70px) + 0px);
    /* navbar height + report-bar height (~70px for bar) */
   height:83%;
}

/* Prevent scrolling entirely */
html, body {
    height: 100%;
    margin: 0;
    overflow: hidden; /* no scrollbars */
}

/* Adjust this to your actual navbar height */
:root {
    --navbar-height: 50px;
}

/* Main container centered below navbar */
.auth-container {
    position: absolute;
    top: calc(50% + var(--navbar-height) *1.5);
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50vw; /* half screen width */
    height: calc(100vh - var(--navbar-height)); /* visible area below navbar */
    text-align: center;
}

/* Image setup */
.auth-image {
    position: absolute;
    width: 100%;
    height: 450px;
    top: 0;
    left: 0;
    background-color: blue;
    object-fit: contain; /* show full image */
    object-position: center;
}

/* Buttons directly below image */
#btnlogin,
#btnHomeIndexregister {
    position: absolute;
    width: 50%;
    height: 40px;
    top: 455px; /* right below image */
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Button positions */
#btnlogin {
    left: 0;
}

#btnHomeIndexregister {
    left: 50%;
}

/* ============================
   📱 Mobile View (≤ 767px)
   ============================ */
@media screen and (max-width: 767px) {
    .auth-container {
        width: 70vw;
        height: calc(100vh - var(--navbar-height));
        top: calc(50% + var(--navbar-height)*1.3);
    }

    .auth-image {
        height: 40%;
    }

    #btnlogin,
    #btnHomeIndexregister {
        width: 100%;
        height: 15%;
        left: 0;
    }

    #btnlogin {
        top: 45%;
    }

    #btnHomeIndexregister {
        top: 62%;
    }
}
