﻿/* ==========================================
   Smart Meter HES Login
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f4f7fc;
    overflow: hidden;
}

/* Left Panel */

.login-left {
    background: linear-gradient(rgba(10, 45, 97, 0.90), rgba(13, 110, 253, 0.80)), url('/images/login-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.overlay {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 60px;
}

.content h1 {
    font-size: 52px;
    font-weight: bold;
}

.content h4 {
    margin-top: 10px;
    color: #d9e8ff;
}

.content hr {
    width: 120px;
    border: 3px solid #fff;
    opacity: 1;
    margin: 25px 0;
}

.content p {
    font-size: 20px;
    line-height: 40px;
}

/* Right Panel */

.login-right {
    background: #f8f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Card */

.login-card {
    width: 430px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.12);
    animation: fadeIn .8s;
}

    .login-card img {
        width: 90px;
    }

/* Input */

.form-control {
    height: 50px;
    border-radius: 10px;
}

.input-group-text {
    border-radius: 10px 0 0 10px;
}

.btn {
    border-radius: 10px;
    height: 50px;
}

.btn-primary {
    font-size: 18px;
    font-weight: 600;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        transition: .3s;
    }

/* Links */

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Validation */

.text-danger {
    font-size: 14px;
}

/* Animation */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */

@media (max-width:991px) {

    body {
        overflow: auto;
    }

    .login-right {
        padding: 25px;
    }

    .login-card {
        width: 100%;
        max-width: 450px;
        padding: 30px;
    }
}

@media (max-width:576px) {

    .login-card {
        padding: 25px;
    }

        .login-card h3 {
            font-size: 24px;
        }
}
