﻿/*==================================================
    FIFTH PILLAR CRM LOGIN
==================================================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #f4f8f5;
    overflow-x: hidden;
}

/*==========================
LEFT SIDE
==========================*/

.login-left {
    background: linear-gradient(135deg,#066b1f,#0b8c2b,#19b64d);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
   
    display: flex;
    align-items: center;
    justify-content: center;
}

    .login-left::before {
        content: "";
        position: absolute;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: rgba(255,255,255,.05);
        top: -250px;
        right: -200px;
    }

    .login-left::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(255,255,255,.06);
        bottom: -180px;
        left: -120px;
    }

.left-content {
    width: 90%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo {
    height: 90px;
    margin-bottom: 30px;
}

.left-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.left-content p {
    font-size: 18px;
    opacity: .9;
}
.dashboard-box {
    margin-top: 45px;
}

    .dashboard-box img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 25px 70px rgba(0,0,0,.25);
        animation: floatImage 5s ease-in-out infinite;
    }

@keyframes floatImage {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}
.floating-card {
    position: absolute;
    background: #fff;
    color: #222;
    border-radius: 18px;
    padding: 18px;
    min-width: 150px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    animation: floatCard 4s ease-in-out infinite;
}

    .floating-card h3 {
        color: #0E8F2A;
        font-weight: 700;
        margin-bottom: 5px;
    }

.card1 {
    top: 120px;
    left: 40px;
}

.card2 {
    top: 250px;
    left: 70px;
}

.card3 {
    bottom: 120px;
    right: 120px;
}

.col-lg-5 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 440px;
    max-width: 95%;
}
.left-content {
    max-width: 650px;
    text-align: center;
    padding: 40px;
}
    .left-content h1 {
        font-size: 52px;
        line-height: 1.2;
        margin: 25px 0;
    }

.password-box {
    position: relative;
}

    .password-box .form-control {
        padding-right: 50px;
    }

#togglePassword {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

    .divider::before,
    .divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: #ddd;
    }

    .divider span {
        padding: 0 15px;
        color: #888;
        font-weight: 600;
    }

.login-left {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
@keyframes floatCard {

    50% {
        transform: translateY(-10px);
    }
}

.login-card {
    width: 430px;
    background: #fff;
    border-radius: 30px;
    padding: 45px;
    box-shadow: 0 25px 70px rgba(0,0,0,.10);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

    .login-card h2 {
        margin-top: 20px;
        font-weight: 700;
    }

    .login-card p {
        color: #666;
        margin-bottom: 30px;
    }
.form-control {
    height: 55px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
}

    .form-control:focus {
        border-color: #0E8F2A;
        box-shadow: 0 0 0 .2rem rgba(14,143,42,.15);
    }
.password-box {
    position: relative;
}

#togglePassword {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #777;
}
.btn-success {
    background: linear-gradient(90deg,#0E8F2A,#16B347);
    border: none;
    height: 56px;
    border-radius: 12px;
    font-weight: 600;
    transition: .35s;
}

    .btn-success:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(14,143,42,.35);
    }

.btn-google {
    border: 1px solid #ddd;
    background: #fff;
    height: 52px;
    border-radius: 12px;
}

.btn-microsoft {
    border: 1px solid #ddd;
    background: #fff;
    height: 52px;
    border-radius: 12px;
}