﻿/*==========================================
AL HIRA CLIENT PORTAL
Premium Login UI
==========================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green: #16a34a;
    --green-dark: #0b7c37;
    --dark: #05281d;
    --white: #ffffff;
    --light: #f7f9fb;
    --gray: #6b7280;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #05281d;
    overflow: hidden;
}

/*==============================
MAIN
==============================*/

.main-container {
    width: 100%;
    height: 100vh;
    display: flex;
}

/*==============================
LEFT PANEL
==============================*/

.left-side {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* VIDEO */

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(5,40,29,.82), rgba(0,0,0,.45) );
}

/*==============================
CENTER CONTENT
==============================*/

.company-info {
    position: absolute;
    z-index: 10;
    width: 85%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    color: white;
}

/* LOGO */

.company-logo {
    width: 170px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 8px #ffffff) drop-shadow(0 10px 25px rgba(0,0,0,.35));
    animation: logoFloat 4s infinite ease-in-out;
}

/* TITLE */

.company-info h1 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 8px;
    text-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.company-info h3 {
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 25px;
}

/* DESCRIPTION */

.company-info p {
    font-size: 22px;
    font-weight: 300;
    line-height: 36px;
    margin-bottom: 35px;
}

/*==============================
SLOGAN TAGS
==============================*/

.slogan {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

    .slogan span {
        background: rgba(255,255,255,.18);
        border: 1px solid rgba(255,255,255,.20);
        backdrop-filter: blur(18px);
        padding: 12px 24px;
        border-radius: 40px;
        transition: .35s;
        cursor: default;
    }

        .slogan span:hover {
            background: var(--green);
            transform: translateY(-6px);
        }

/*==============================
RIGHT PANEL
==============================*/

.right-side {
    width: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(25px);
    box-shadow: -15px 0 40px rgba(0,0,0,.15);
    padding: 50px;
}

/*==============================
LOGIN BOX
==============================*/

.login-box {
    width: 100%;
    max-width: 380px;
    animation: fadeIn .8s;
}

/* SMALL LOGO */

.small-logo {
    width: 95px;
    margin-bottom: 15px;
}

.login-box h2 {
    color: var(--dark);
    font-size: 30px;
    font-weight: 700;
}

.login-box p {
    color: #777;
    margin-top: 8px;
    margin-bottom: 35px;
    font-size: 15px;
}
/*==========================================
LOGIN FORM
==========================================*/

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.input-group {
    margin-bottom: 22px;
}

.input-group-text {
    width: 55px;
    border: none;
    background: #f4f7fa;
    border-radius: 14px 0 0 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #16a34a;
    font-size: 17px;
}

.form-control {
    height: 58px;
    border: none;
    background: #f4f7fa;
    border-radius: 0 14px 14px 0;
    font-size: 15px;
    padding-left: 15px;
    transition: .35s;
}

    .form-control:focus {
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(22,163,74,.15);
    }

.btn-outline-secondary {
    border: none;
    background: #f4f7fa;
    border-radius: 0 14px 14px 0;
}

    .btn-outline-secondary:hover {
        background: #eef2f6;
    }

/*==========================================
REMEMBER
==========================================*/

.d-flex a {
    color: #16a34a;
    font-weight: 500;
}

    .d-flex a:hover {
        color: #0d7b37;
    }

/*==========================================
LOGIN BUTTON
==========================================*/

.btn-login {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg,#16a34a,#1fc85f);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .35s;
}

    .btn-login:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(22,163,74,.35);
    }

    .btn-login i {
        margin-right: 8px;
    }

/*==========================================
LOGIN CARD
==========================================*/

.login-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

/*==========================================
SMALL LOGO
==========================================*/

.small-logo {
    width: 105px;
    margin-bottom: 18px;
}

/*==========================================
FOOTER
==========================================*/

.copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}

/*==========================================
STATISTICS
==========================================*/

.stats {
    margin-top: 45px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.stat {
    width: 120px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.15);
    transition: .35s;
}

    .stat:hover {
        transform: translateY(-6px);
        background: rgba(22,163,74,.35);
    }

    .stat h3 {
        font-size: 24px;
        margin-bottom: 6px;
        font-weight: 700;
    }

    .stat small {
        font-size: 13px;
        opacity: .9;
    }

/*==========================================
ALERT
==========================================*/

.alert {
    border-radius: 12px;
    border: none;
}
/*==========================================
PREMIUM ANIMATIONS
==========================================*/

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes glow {

    0% {
        box-shadow: 0 0 0 rgba(22,163,74,.1);
    }

    50% {
        box-shadow: 0 0 35px rgba(22,163,74,.35);
    }

    100% {
        box-shadow: 0 0 0 rgba(22,163,74,.1);
    }
}

/*==========================================
FLOATING CIRCLES
==========================================*/

.left-side::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    top: -100px;
    left: -120px;
    animation: logoFloat 8s infinite;
}

.left-side::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    right: 40px;
    bottom: 40px;
    animation: logoFloat 6s infinite;
}

/*==========================================
LOGIN BOX
==========================================*/

.login-box {
    position: relative;
    overflow: hidden;
}

    .login-box::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(22,163,74,.05);
    }

/*==========================================
INPUT ICON
==========================================*/

.input-group-text i {
    transition: .35s;
}

.input-group:hover .input-group-text i {
    transform: scale(1.15);
    color: #16a34a;
}

/*==========================================
BUTTON
==========================================*/

.btn-login {
    animation: glow 3s infinite;
}

    .btn-login:active {
        transform: scale(.98);
    }

/*==========================================
HOVER EFFECT
==========================================*/

.login-box:hover {
    transform: translateY(-5px);
    transition: .35s;
}

/*==========================================
LINK
==========================================*/

a {
    transition: .3s;
}

    a:hover {
        color: #16a34a;
    }

/*==========================================
VIDEO
==========================================*/

.bg-video {
    filter: brightness(.82);
}

/*==========================================
COMPANY INFO
==========================================*/

.company-info {
    animation: fadeIn 1s;
}

    .company-info h1 {
        text-transform: uppercase;
    }

    .company-info h3 {
        text-transform: uppercase;
    }

/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:1200px) {

    .right-side {
        width: 460px;
    }
}

@media(max-width:992px) {

    .left-side {
        display: none;
    }

    .right-side {
        width: 100%;
        padding: 40px;
    }

    .login-box {
        max-width: 420px;
        margin: auto;
    }

    body {
        overflow: auto;
    }
}

@media(max-width:576px) {

    .right-side {
        padding: 25px;
    }

    .login-box {
        padding: 30px;
    }

    .company-logo {
        width: 130px;
    }

    .small-logo {
        width: 80px;
    }

    .login-box h2 {
        font-size: 24px;
    }

    .btn-login {
        height: 55px;
        font-size: 16px;
    }
}
