/* ===========================
   LOGIN / REGISTER PAGE
=========================== */

body{
    margin:0;
    padding:0;
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
}

.login-section{
    position:relative;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#6b1220;
}

/* Login Card */

.login-card{

    position:relative;

    z-index:10;

    width:100%;

    max-width:430px;

    padding:35px;

    border-radius:20px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.25);

    box-shadow:0 20px 50px rgba(0,0,0,.35);

}

/* Logo */

.login-logo{

    position:absolute;
    top:24px;
    left:32px;
    z-index:10;

}

.login-logo img{

    width:85px;

}

/* FEATURE: clickable brand/home-link at the top of the login/register
   cards (like a site logo you can click to go back home). */
.login-brand-link{

    display:inline-block;
    font-weight:700;
    font-size:1.15rem;
    color:#fff;
    text-decoration:none;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);

}

.login-brand-link:hover{

    color:#f1d9a8;
    text-decoration:underline;

}

/* Title */

.login-title{

    color:#fff;

    text-align:center;

    font-weight:700;

    margin-bottom:5px;

}

.login-subtitle{

    text-align:center;

    color:#f1f1f1;

    margin-bottom:30px;

}

/* Labels */

.form-label{

    color:#fff;

    font-weight:600;

}

/* Inputs */

.form-control{

    height:48px;

    border-radius:12px;

    background:rgba(255,255,255,.90);

    border:none;

}

.form-control:focus{

    box-shadow:0 0 0 .25rem rgba(201, 162, 39,.35);

}

/* Button */

.btn-login{

    width:100%;

    height:50px;

    border:none;

    border-radius:12px;

    background:#c9a227;

    color:white;

    font-weight:bold;

    transition:.3s;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

}

.btn-login:hover{

    background:#b38f1f;

    transform:translateY(-2px);

}

/* Links — used by "Forgot Password?", "Back to Login", "Create one" and
   "Login" (register→login). Same blue as the site's normal link color,
   just without the underline. */

.login-footer{

    margin-top:20px;

    text-align:center;

    color:white;

}

.login-link,
.login-link:visited{

    color:#0d6efd;

    font-weight:600;

    text-decoration:none;

}

.login-link:hover{

    color:#fff;

}

/* Responsive */

@media(max-width:768px){

.login-card{

margin:20px;

padding:25px;

}

}

/* =====================================
   RESPONSIVE LOGIN / REGISTER LAYOUT
===================================== */
.login-card .btn-login{
    text-align:center;
}

.login-card > .btn-login{
    width:100%;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
}

@media (max-width: 576px){
    .login-section{
        min-height:100dvh;
        padding:92px 16px 28px;
        align-items:center;
        box-sizing:border-box;
    }
    .login-logo{
        top:20px;
        left:18px;
        right:18px;
    }
    .login-brand-link{
        font-size:1rem;
    }
    .login-card{
        width:100%;
        max-width:430px;
        padding:28px 20px;
        margin:0 auto;
        box-sizing:border-box;
    }
    .login-card > .btn-login{
        width:100%;
        min-height:50px;
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;
    }
}

@media (min-width: 577px){
    .login-card > .btn-login{
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;
    }
}
