/* Full viewport background – apply to html and force body/container transparent */
html {
    height: 100%;
    background: url('../PRCode/Images/TTInsights.jpg') no-repeat center center fixed;
    background-size: cover;
    -webkit-background-size: cover;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent !important;
    color: #fff;
}

/* Neutralize wrappers */
div, .container, .loginform,
main, section, article, header, footer, .wrapper, .page-wrapper, [class*="wrapper"] {
    background: transparent !important;
    background-color: transparent !important;
}

.container {
    max-width: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 576px) {
    .form-signin {
        right: 10px;
        left: 10px;
        top: 20mm;
        max-width: none;
        width: calc(100% - 20px);
    }
}

/* Reduce top padding of the entire panel → less space above everything */
.form-signin {
    max-width: 350px;
    width: 100%;
    position: fixed;
    top: 30mm;
    right: 30mm;
    margin: 0;
    background: rgba(30, 30, 50, 0.92);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    
    /* Reduced top padding – was 40px, now 20–25px */
    padding: 20px 30px 40px 30px;   /* top | right | bottom | left */
    
    color: #fff;
    backdrop-filter: blur(8px);
    z-index: 10;
}

/* Make heading/logo take less vertical space if present */
.form-signin .brand-heading {
    color: #3b5de7;
    font-size: 1.6rem;              /* slightly smaller if it helps */
    font-weight: 700;
    margin-bottom: 10px;            /* was 1.5rem ≈ 24px, now tighter */
    margin-top: 0;
    text-align: center;
}

.tracking-logo {
    max-width: 80px;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;       /* reduced from 15px */
}

/* Reduce space ABOVE username (by controlling margin on previous elements + inputs) */
.form-signin input[type="email"],
.form-signin input[type="password"] {
    margin-top: 8px;                /* small positive margin if needed, but usually not */
    margin-bottom: 20px;            /* keep for username → password gap base */
    border-radius: 6px;
}

/* Make gap between username and password noticeably larger */
.form-signin input[type="password"] {
    margin-top: 12px;               /* optional extra push-down */
    margin-bottom: 45px;            /* was 30px → now much larger gap before button */
}

.form-signin .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}
.form-signin .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.form-signin label {
    color: #ddd;
}

.form-signin input[type="email"],
.form-signin input[type="password"] {
    margin-bottom: 20px;
    border-radius: 6px;
}

.form-signin input[type="password"] {
    margin-bottom: 30px;              /* more space before button */
}
/* Logo styling inside the login panel */
.tracking-logo {
    max-width: 80px;               /* Adjust this to fit nicely – try 180–280px */
    height: auto;
    display: block;
    margin: 0 auto 15px auto;       /* Centers it with some bottom spacing */
}

/* Optional: Make the text heading match your brand blue */
.form-signin .brand-heading {
    color: #3b5de7;                 /* your rgb(59,93,231) color */
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.full-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}