/* ====================================
   PROFESSIONAL ENTERPRISE LOGIN CSS
   ==================================== */

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Background */

body.login-page {
    min-height: 100vh !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, .96),
            /*rgba(30, 41, 59, .94)*/
        ),
        url('../images/login-bg.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 20px;
    box-sizing: border-box;
}

/* Main Login Container */

.login-box {
    width: 450px;
    max-width: 100%;
    margin: 0 auto !important;
}

/* Login Card */

.login-box-body {
    background: #ffffff;

    border-radius: 18px;

    padding: 35px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.12);

    border-top: 5px solid #0d6efd;
}

/* Logo */

.register-logo {
    text-align: center;
    margin-bottom: 8px;
}

.register-logo a {
    text-decoration: none;
    color: #1e293b;
    font-size: 30px;
    font-weight: 700;
}

.register-logo b {
    color: #0d6efd;
}

/* Subtitle */

.login-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Form Groups */

.form-group {
    margin-bottom: 18px;
}

/* Labels */

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* Inputs */

.form-control {
    height: 50px;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    box-shadow: none;
    font-size: 14px;
    transition: all .3s ease;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, .12);
}

/* Input Icons */

.form-control-feedback {
    top: 8px;
    color: #64748b !important;
}

/* Select Dropdown */

select.form-control {
    cursor: pointer;
}

/* Remember Me */

.checkbox {
    margin: 0;
}

.checkbox label {
    color: #475569;
    font-size: 13px;
    font-weight: 500;
}

/* Login Button */

.btn-primary {
    height: 50px;
    border-radius: 10px;
    border: none;

    background: linear-gradient(
        135deg,
        #f0f1f3,
        #0b5ed7
    );

    font-size: 15px;
    font-weight: 600;

    transition: all .3s ease;
}

.btn-primary:hover {
    background: linear-gradient(
        135deg,
        #0b5ed7,
        #084298
    );

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(13,110,253,.25);
}

/* Alert */

.alert-danger {
    margin-top: 15px;
    border-radius: 10px;
    border: none;
}

/* Footer */

.login-footer {
    margin-top: 25px;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
}

/* Status */

#status {
    font-size: 12px;
    font-weight: 600;
}

/* Card Hover */

.login-box-body:hover {
    transition: .3s;
    transform: translateY(-2px);
}

/* Remove Bootstrap Weird Margin */

.row {
    margin-left: 0;
    margin-right: 0;
}

/* Mobile Responsive */

@media (max-width: 768px) {

    body.login-page {
        padding: 15px;
        overflow-y: auto;
    }

    .login-box {
        width: 100%;
    }

    .login-box-body {
        padding: 25px;
        border-radius: 15px;
    }

    .register-logo a {
        font-size: 24px;
    }

    .btn-primary,
    .form-control {
        height: 46px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {

    .login-box-body {
        padding: 20px;
    }

    .register-logo a {
        font-size: 22px;
    }

    .form-control {
        font-size: 13px;
    }
}