﻿/* ==========================================
   GLOBAL
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #eef4fb;
    overflow-x: hidden;
}

body {
    opacity: 0;
    transition: opacity .6s ease;
}

    body.loaded {
        opacity: 1;
    }


/* ==========================================
   PAGE
========================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: radial-gradient(circle at top left, #d9ecff 0%, transparent 35%), radial-gradient(circle at bottom right, #d7e8ff 0%, transparent 40%), linear-gradient( 135deg, #edf5ff, #f8fbff);
}


/* ==========================================
   MAIN CARD
========================================== */

.login-card {
    width: 1250px;
    max-width: 100%;
    min-height: 720px;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 30px 70px rgba(0,0,0,.18);
    position: relative;
}


/* ==========================================
   LEFT PANEL
========================================== */

.login-left {
    width: 42%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    position: relative;
    z-index: 5;
}

.login-inner {
    width: 100%;
    max-width: 420px;
}

.logo-section {
    margin-bottom: 35px;
}

.login-logo {
    max-width: 230px;
    height: auto;
}


/* ==========================================
   RIGHT PANEL
========================================== */

.login-right {
    width: 58%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient( 135deg, #0b63f6 0%, #1b82ff 45%, #56a8ff 100%);
}


/* ==========================================
   OVERLAY
========================================== */

.right-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at top right, rgba(255,255,255,.20), transparent 38%), radial-gradient( circle at bottom left, rgba(255,255,255,.15), transparent 42%);
}


/* ==========================================
   RIGHT CONTENT
========================================== */

.right-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px;
    text-align: center;
}


/* ==========================================
   ILLUSTRATION
========================================== */

.illustration {
    margin-bottom: 30px;
}

.illustration-image {
    width: 100%;
    max-width: 520px;
    transition: .3s;
    filter: drop-shadow( 0 30px 45px rgba(0,0,0,.20));
}


/* ==========================================
   HERO TEXT
========================================== */

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-text span {
    display: block;
    color: #ffe27a;
}

.hero-text p {
    font-size: 17px;
    opacity: .95;
    max-width: 520px;
    margin: auto;
    line-height: 1.8;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

.login-title {
    font-size: 34px;
    font-weight: 700;
    color: #1b2b52;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #7b8ca8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}


/* ==========================================
   LABELS
========================================== */

.form-label {
    font-weight: 600;
    color: #304566;
    margin-bottom: 10px;
    font-size: 14px;
}


/* ==========================================
   INPUTS
========================================== */

.input-modern {
    border: 1px solid #dbe5f1;
    border-radius: 14px;
    overflow: hidden;
    transition: .25s;
    background: white;
}

    .input-modern:focus-within {
        border-color: #0d6efd;
        box-shadow: 0 0 0 4px rgba(13,110,253,.10);
    }

    .input-modern .input-group-text {
        background: white;
        border: none;
        color: #6d87a8;
        width: 52px;
        justify-content: center;
    }

    .input-modern .form-control {
        border: none;
        box-shadow: none;
        height: 56px;
        font-size: 15px;
        padding-left: 5px;
    }

        .input-modern .form-control::placeholder {
            color: #a5b2c5;
        }


/* ==========================================
   PASSWORD BUTTON
========================================== */

.password-toggle {
    border: none;
    background: white;
    color: #7b8ca8;
    width: 55px;
    transition: .25s;
}

    .password-toggle:hover {
        color: #0d6efd;
    }


/* ==========================================
   REMEMBER / FORGOT
========================================== */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    font-size: 14px;
}

.form-check-label {
    color: #6f7f96;
}

.forgot-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

    .forgot-link:hover {
        text-decoration: underline;
    }


/* ==========================================
   LOGIN BUTTON
========================================== */

.btn-login {
    height: 58px;
    border: none;
    border-radius: 14px;
    background: linear-gradient( 135deg, #0b63f6, #2586ff);
    color: white;
    font-size: 16px;
    font-weight: 600;
    transition: .35s;
    box-shadow: 0 15px 30px rgba(13,110,253,.25);
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 35px rgba(13,110,253,.35);
        background: linear-gradient( 135deg, #0956d4, #1875f1);
    }

    .btn-login:active {
        transform: scale(.98);
    }


/* ==========================================
   DIVIDER
========================================== */

.divider {
    position: relative;
    text-align: center;
    margin: 35px 0;
}

    .divider:before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background: #e4ebf4;
    }

    .divider span {
        position: relative;
        background: white;
        padding: 0 18px;
        color: #97a7be;
        font-size: 13px;
        letter-spacing: 1px;
    }


/* ==========================================
   SOCIAL LOGIN
========================================== */

.social-login {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 30px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #5d6d86;
    border: 1px solid #dde6f2;
    transition: .3s;
    text-decoration: none;
    font-size: 18px;
}

    .social-btn:hover {
        transform: translateY(-5px);
        border-color: #0d6efd;
        color: #0d6efd;
        box-shadow: 0 12px 24px rgba(0,0,0,.12);
    }

    .social-btn.facebook:hover {
        background: #1877f2;
        color: white;
    }

    .social-btn.google:hover {
        background: #db4437;
        color: white;
    }

    .social-btn.linkedin:hover {
        background: #0a66c2;
        color: white;
    }

    .social-btn.twitter:hover {
        background: #111;
        color: white;
    }


/* ==========================================
   REGISTER
========================================== */

.register-text {
    text-align: center;
    color: #7b8ca8;
    font-size: 15px;
}

    .register-text a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 600;
        margin-left: 5px;
    }

        .register-text a:hover {
            text-decoration: underline;
        }


/*==================================================
    FLOATING DECORATIVE CIRCLES
==================================================*/

.shape-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(2px);
}

.circle1 {
    width: 180px;
    height: 180px;
    top: -50px;
    right: -50px;
}

.circle2 {
    width: 120px;
    height: 120px;
    bottom: 120px;
    left: 50px;
}

.circle3 {
    width: 60px;
    height: 60px;
    bottom: 60px;
    right: 120px;
}


/*==================================================
    DOT PATTERN
==================================================*/

.dots {
    position: absolute;
    width: 140px;
    height: 140px;
    opacity: .18;
    background-image: radial-gradient( white 2px, transparent 2px);
    background-size: 18px 18px;
}

.dots-top {
    top: 40px;
    left: 40px;
}

.dots-bottom {
    right: 50px;
    bottom: 40px;
}


/*==================================================
    HOVER EFFECTS
==================================================*/

.login-card {
    transition: .35s;
}

    .login-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 40px 90px rgba(0,0,0,.20);
    }

.login-logo {
    transition: .3s;
}

    .login-logo:hover {
        transform: scale(1.03);
    }

.illustration-image {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}


/*==================================================
    FADE ANIMATION
==================================================*/

.login-left {
    animation: fadeLeft .8s ease;
}

.login-right {
    animation: fadeRight .9s ease;
}

@keyframes fadeLeft {

    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeRight {

    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


/*==================================================
    INPUT ANIMATION
==================================================*/

.form-control {
    transition: .25s;
}

    .form-control:focus {
        transform: translateX(2px);
    }


/*==================================================
    BUTTON RIPPLE EFFECT
==================================================*/

.btn-login {
    position: relative;
    overflow: hidden;
}

    .btn-login:before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 120%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.35), transparent);
        transition: .7s;
    }

    .btn-login:hover:before {
        left: 120%;
    }


/*==================================================
    SCROLLBAR
==================================================*/

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #b9cde8;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: #eef4fb;
}


/*==================================================
    RESPONSIVE
==================================================*/

@media (max-width:1200px) {

    .login-card {
        width: 100%;
    }
}


@media (max-width:991px) {

    .login-card {
        flex-direction: column;
        min-height: auto;
    }

    .login-left {
        width: 100%;
        padding: 50px;
    }

    .login-right {
        width: 100%;
        min-height: 520px;
        order: -1;
    }

    .hero-text h1 {
        font-size: 34px;
    }

    .illustration-image {
        max-width: 380px;
    }
}


@media (max-width:768px) {

    .login-page {
        padding: 20px;
    }

    .login-left {
        padding: 35px;
    }

    .login-right {
        min-height: 420px;
        padding: 25px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 15px;
    }

    .login-title {
        font-size: 28px;
    }

    .login-logo {
        max-width: 180px;
    }

    .illustration-image {
        max-width: 300px;
    }

    .dots {
        display: none;
    }
}


@media (max-width:576px) {

    .login-page {
        padding: 10px;
    }

    .login-card {
        border-radius: 20px;
    }

    .login-left {
        padding: 25px;
    }

    .login-right {
        min-height: 340px;
    }

    .hero-text h1 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .login-title {
        font-size: 24px;
    }

    .social-login {
        gap: 10px;
    }

    .social-btn {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}


/*==================================================
    OPTIONAL GLASS EFFECT
==================================================*/

.login-left {
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(8px);
}

.login-right {
    position: relative;
}

    .login-right::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(255,255,255,.05), rgba(255,255,255,.01));
        pointer-events: none;
    }