
/* ==========================================================
   BMC MODERN LOGIN UI
   Works with default Liferay Login Portlet
   ========================================================== */

:root{
    --primary:#0F5AE5;
    --primary-dark:#0B47B8;
    --text:#1F2937;
    --muted:#6B7280;
    --border:#E5E7EB;
    --bg:#F5F9FF;
    --white:#FFFFFF;
    --shadow:0 25px 60px rgba(15,90,229,.12);
    --radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Inter",sans-serif;
    background:linear-gradient(135deg,#F8FBFF,#EDF4FF);
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
    color:var(--text);
}

#wrapper {
    background: transparent;
}

fieldset #Content, .panel-body, fieldset .show{
    padding: 0px !important;
    margin: 0px !important;
}

/* ---------- Page Layout ---------- */

.portlet-login{
    height:100vh;
    display:flex;
    align-items:center;
    padding:40px 5%;
    box-sizing:border-box;
    gap:50px;
}

/* ---------- Login Card ---------- */

.login-container{
    box-sizing:border-box;
    width:460px;
    background:var(--white);
    border-radius:var(--radius);
    padding:55px;
    box-shadow:var(--shadow);
    position:relative;
}

.sign-in-form{
    width:100%;
}

.input-container,
fieldset{
    border:0;
    margin:0;
    padding:0;
}

.panel-body{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.form-group{
    margin:0;
}

.control-label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:var(--text);
    white-space:nowrap;
}

.form-control{

    width:100%;
    height:48px;

    border:1px solid var(--border);

    border-radius:12px;

    padding:0 16px;

    background:#f7fbff;

    font-size:15px;

    box-sizing:border-box;

    transition:.25s;

}

.form-control:focus{

    outline:none;

    border-color:var(--primary);

    background:#fff;

    box-shadow:0 0 0 4px rgba(37,99,235,.12);

}

.input-checkbox-wrapper{

    margin-top:5px;

}

.input-checkbox-wrapper label{

    display:flex;

    align-items:center;

    gap:10px;

    font-weight:500;

}

.input-checkbox-wrapper input{

    width:18px;
    height:18px;

}

.button-holder {
    margin: 0 !important;
    margin-top: 25px !important;
}

.btn-primary{
    width: 100%;
    height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #1565FF, #0D4DD9);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.btn-primary:hover{
    transform: translateY(-3px);
    background: linear-gradient(90deg, #0D4DD9, #0A40B2);
    box-shadow: 0 12px 30px rgba(15, 90, 229, .25);
}

.navigation{
    margin-top:18px;
    text-align:center;
}

.navigation a{
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

.navigation a:hover{
    color: var(--primary-dark);
    text-decoration: underline;
}

.alert{
    border-radius:12px;
}

.inline-alert-container{
    margin-bottom:12px;
}

.input-checkbox-wrapper{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
}

.input-checkbox-wrapper label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.input-checkbox-wrapper label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

@media(max-width:991px){

    html,body{
        overflow:auto;
    }

    .portlet-login{
        display:block;
        padding:20px;
    }

    .login-container{
        margin:20px auto;
    }

}
