/*
==========================================================
Casino Energy Monitor V1.0
File: assets/css/login.css
==========================================================
*/

/* -------------------------------------------------------
   Full Page
------------------------------------------------------- */

html,
body{

    width:100%;
    height:100%;
    margin:0;
    padding:0;

    font-family:
        "Segoe UI",
        Tahoma,
        Geneva,
        Verdana,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #0f4c81,
            #1565c0,
            #1e88e5
        );

}

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

.page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    box-sizing:border-box;

}

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

.card{

    width:100%;

    max-width:430px;

    background:#ffffff;

    border-radius:18px;

    padding:40px;

    box-sizing:border-box;

    box-shadow:
        0 15px 40px rgba(0,0,0,.20);

}

/* -------------------------------------------------------
   Headings
------------------------------------------------------- */

.title{

    margin:0;

    text-align:center;

    color:#1565c0;

    font-size:30px;

    font-weight:700;

}

.subtitle{

    margin-top:10px;

    margin-bottom:30px;

    text-align:center;

    color:#777;

    font-size:15px;

}

/* -------------------------------------------------------
   Form
------------------------------------------------------- */

.form-group{

    margin-bottom:20px;

}

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#444;

}

.form-group input{

    width:100%;

    padding:14px;

    border:1px solid #d5d5d5;

    border-radius:10px;

    font-size:15px;

    outline:none;

    transition:.3s;

    box-sizing:border-box;

}

.form-group input:focus{

    border-color:#1565c0;

    box-shadow:0 0 0 3px rgba(21,101,192,.15);

}

/* -------------------------------------------------------
   Login Button
------------------------------------------------------- */

.btn{

    width:100%;

    padding:15px;

    border:none;

    border-radius:10px;

    background:#1565c0;

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.btn:hover{

    background:#0d47a1;

}

.btn:active{

    transform:scale(.98);

}

/* -------------------------------------------------------
   Footer
------------------------------------------------------- */

.footer{

    margin-top:25px;

    text-align:center;

    font-size:14px;

    color:#666;

}

.footer a{

    color:#1565c0;

    font-weight:600;

    text-decoration:none;

}

.footer a:hover{

    text-decoration:underline;

}

/* -------------------------------------------------------
   Alerts
------------------------------------------------------- */

.alert{

    padding:14px;

    margin-bottom:20px;

    border-radius:10px;

    font-size:14px;

    font-weight:500;

}

.alert-success{

    background:#e8f5e9;

    color:#2e7d32;

    border:1px solid #81c784;

}

.alert-error{

    background:#ffebee;

    color:#c62828;

    border:1px solid #ef9a9a;

}

/* -------------------------------------------------------
   Fade In Animation
------------------------------------------------------- */

.fade-in{

    animation:fadeIn .6s ease-in-out;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(-20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* -------------------------------------------------------
   Mobile Responsive
------------------------------------------------------- */

@media (max-width:768px){

    .card{

        padding:30px 25px;

        max-width:95%;

    }

    .title{

        font-size:24px;

    }

    .subtitle{

        font-size:14px;

    }

}

/* -------------------------------------------------------
   Desktop Enhancement
------------------------------------------------------- */

@media (min-width:1200px){

    .card{

        max-width:460px;

    }

}

/* -------------------------------------------------------
   Logo (For Future Use)
------------------------------------------------------- */

.logo{

    display:block;

    margin:0 auto 15px auto;

    width:100px;

    height:100px;

    object-fit:contain;

    border-radius:50%;

    background:#ffffff;

    padding:8px;

    box-shadow:0 4px 12px rgba(0,0,0,.15);

}

/*=====================================
Forgot Password Link
======================================*/

.forgot-link{

    color:#0d6efd;

    text-decoration:none;

    font-size:14px;

    font-weight:500;

}

.forgot-link:hover{

    text-decoration:underline;

    color:#084298;

}