﻿.noscroll {
    overflow-y: hidden;
}

/* Background for images with blur, uncomment the lines to test */
body {
    overflow: hidden;
}
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: url("/img/building1.png") center/cover no-repeat;
        filter: blur(3px);
        z-index: -2;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.18);
        z-index: -1;
    }

/* Main layout */
.maindv {
    min-height: 100vh;
}

.pd-center {
    padding-top: 5.5rem; 
}

@media (max-width: 992px) {
    .pd-center {
        padding-top: 4.5rem;
    }
}

@media (max-width: 740px) {
    .pd-center {
        padding-bottom: 60rem;
    }
}

/* Card */
.login-card {
    width: 440px;
    max-width: 95%;
}

/* Frosted glass  */
.glass-card {
    position: relative;
    border-radius: 18px;
    padding: 34px 34px;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
    overflow: hidden;
}

    /* Frost highlight  */
    .glass-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(255,255,255,0.55), rgba(255,255,255,0.18) );
        pointer-events: none;
        z-index: 1;
    }

    .glass-card * {
        position: relative;
        z-index: 2;
    }

/* Header */
.login-header {
    text-align: center;
    margin-bottom: 22px;
}

.login-brand {
    display: inline-block;
}

.login-logo {
    height: 50px;
    max-width: 100%;
    filter: drop-shadow(0 12px 22px rgba(0,0,0,0.10));
    margin:35px;
}

.login-title {
    margin-top: 10px;
    font-weight: 600;
    font-size: 20px;
    color: rgba(0,0,0,0.80);
}

.login-subtitle {
    margin-top: 4px;
    font-size: 13px;
    color: rgba(0,0,0,0.52);
}

/* Labels and rows */
.login-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(0,0,0,0.58);
    margin: 0 0 8px 2px;
}

.login-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-link {
    font-size: 12px;
    color: rgba(0,0,0,0.55);
    text-decoration: none;
}

    .login-link:hover {
        color: rgba(0,0,0,0.75);
        text-decoration: underline;
    }

/* Inputs (subtle rounded rectangles, not pills) */
.form-control.form-control-solid {
    background: rgba(255,255,255,0.62) !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    border-radius: 12px !important;
    height: 48px;
    padding: 0 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

    .form-control.form-control-solid:focus {
        border-color: rgba(0,120,255,0.40) !important;
        box-shadow: 0 0 0 4px rgba(0,120,255,0.14), 0 12px 28px rgba(0,0,0,0.08);
    }

/* Checkbox */
.login-check .form-check-input {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.18);
}

.login-check .form-check-label {
    margin-left: 8px;
    font-size: 13px;
    color: rgba(0,0,0,0.60);
}

/* Button */
.login-btn {
    width: 58%;
    border-radius: 12px !important;
    height: 48px;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(0,120,255,0.22);
}

/* Meta content */
.login-meta {
    margin-top: 10px;
}

.login-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(0,0,0,0.55);
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.40);
    border: 1px solid rgba(255,255,255,0.30);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 180, 120, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 180, 120, 0.18);
}

.login-meta-text {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(0,0,0,0.55);
}

/* Disconnect message */
#disconMsg {
    color: rgba(0,0,0,0.65);
    font-size: 12px;
    font-weight: 600;
    padding-top: 10px;
    display: none;
}

/* Footer wrapper stays fixed at bottom */
.footerdv {
    position: fixed;
    bottom: 14px;
    width: 100%;
    z-index: 5;
}

/* The "Powered by" row */
.powered-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 12px;
    /* subtle readable pill over any background */
    background: rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.18);
}

/* Logo footer */
.powered-by__logo {
    height: 22px;
    width: auto;
    display: block;
}

/* Text stack */
.powered-by__text {
    line-height: 1.05;
    text-align: left;
}

.powered-by__label {
    font-size: 10px;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
}

.powered-by__brand {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}


/* Mobile tweaks */
@media (max-width: 740px) {
    .loginCbx {
        margin-left: 0;
        margin-right: 0;
    }

    .glass-card {
        padding: 28px 22px;
    }

    .login-btn {
        width: 70%;
    }
}
