
@font-face{
    font-family:"Cinzel";
    src:url("../fonts/product-login/Cinzel.ttf") format("truetype");
    font-style:normal;
    font-weight:400 900;
    font-display:swap;
}
/* ===== WRAP ===== */
.cdis-login-wrap{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:flex-start;
    justify-content:flex-start;

    padding:18px 0 0 18px; /* moved whole stack left so left edge ~= top edge distance */
    background:transparent;
}

.login-video{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:-3;
}

.cdis-login-wrap:before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.34);
    z-index:-2;
    pointer-events:none;
}

/* Mobile: no video; dark green background */
@media (max-width: 991.98px){
    .login-video{ display:none; }

    .cdis-login-wrap{
        padding:26px 14px;
        align-items:center;
        justify-content:center;
        background:linear-gradient(180deg, rgba(7,24,14,1) 0%, rgba(9,32,18,1) 45%, rgba(6,20,12,1) 100%);
    }
}

/* ===== STACK ===== */
.cdis-login-stack{
    width:100%;
    max-width:760px;
}

/* ===== LOGO CARD ===== */

.cdis-login-brand{
    display:flex;
    justify-content:flex-start;
    width:110%;
    margin:0 0 17px 0;
}

.cdis-logo-frame{
    width:836px;
    max-width:100%;
    aspect-ratio:836 / 99;
    margin:0;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    border-radius:15px;
    background:transparent;
}

/* ===== LOGO ===== */
.cdis-logo-img{
    display:block;
    width:102%;
    height:auto;
    max-width:none;
    max-height:none;
    flex-shrink:0;
    margin:0;
}

@media (max-width:991.98px){
    .cdis-login-brand{
        width:100%;
        justify-content:center;
        margin-bottom:26px;
    }
}

/* ===== LOGIN CARD ===== */
.cdis-login-card{
    width:100%;
    max-width:340px;
    margin:0 auto;
    border-radius:14px;
    overflow:hidden;

    background:#f5f1e8; /* off-white, no transparency */
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    box-shadow:0 22px 60px rgba(0,0,0,.32);

    opacity:0;
    transform:translate3d(0,12px,0);
    animation:cdisCardIn .45s ease-out forwards;
}

@keyframes cdisCardIn{
    to{ opacity:1; transform:translate3d(0,0,0); }
}

@media (prefers-reduced-motion: reduce){
    .cdis-login-card{
        animation:none;
        opacity:1;
        transform:none;
    }
}

.cdis-login-body{
    padding:18px 20px 20px 20px;
}

.cdis-login-title{
    font-family:"Cinzel", Georgia, serif;
    font-size:18px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
    margin-bottom:16px;
    letter-spacing:.2px;
    color:#1f2a1f;
}

.cdis-login-title span{
    display:block;
}

.cdis-login-title span + span{
    font-size:17px;
}

.cdis-login-body .form-group{
    margin-bottom:10px;
}

.cdis-login-body label{
    font-size:13px;
    margin-bottom:4px;
    color:#1f2a1f;
}


.cdis-login-card{
    color-scheme:light;
    color:#1f2a1f;
}

#cdis-login-form input.form-control{
    height:36px;
    background-color:#fff !important;
    color:#1f2a1f !important;
    border:1px solid #c9c9c9 !important;
    color-scheme:light;
}

#cdis-login-form input.form-control:focus{
    border-color:#168b76 !important;
    box-shadow:0 0 0 2px rgba(22,139,118,.15);
}

#cdis-login-form input[type="checkbox"]{
    height:auto;
    color-scheme:light;
    accent-color:#168b76;
}


.cdis-login-body .btn-primary{
    width:100%;
    font-weight:600;
    border-radius:9px;
    padding:9px 12px;
    margin-top:4px;
}

/* Center the login card beneath the enlarged desktop banner. */
@media (min-width:992px){
    .cdis-login-card{
        position:relative;
        left:5%;
    }
}
