﻿:root {
    --green: #229fd0;
    --green-dark: #15984c;
    --blue: #229fd0;
    --red: #ff625f;
    --purple: #ad3bd0;
    --ink: #14151b;
    --muted: #86899a;
    --line: #e3edf0;
    --page: #f3fbf7;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    background: var(--page);
}

a {
    color: inherit;
    text-decoration: none;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(460px, 1fr) minmax(420px, 540px);
}

.login-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px 52px;
    color: #fff;
    background: linear-gradient(135deg, rgb(3, 109, 180, 0.94), rgb(20, 128, 176, 0.82)), url("https://digitalmarketingdeal.com/blog/wp-content/uploads/2023/01/LED-lighting-manufacturers.jpg") center/cover;
}

    .login-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .22), transparent 24%), linear-gradient(180deg, transparent, rgba(5, 61, 36, .34));
    }

.brand,
.hero-copy,
.preview-board {
    position: relative;
    z-index: 1;
}

.brand,
.mobile-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 0;
}

    .brand span,
    .mobile-brand span {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: rgba(255, 255, 255, .18);
        color: #fff;
        font-size: 24px;
    }

.hero-copy {
    max-width: 560px;
    margin-top: 62px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    font-size: 13px;
    font-weight: 800;
}

.hero-copy h1 {
    margin: 24px 0 18px;
    max-width: 610px;
    font-size: 58px;
    line-height: 1.03;
    font-weight: 850;
    letter-spacing: 0;
}

.hero-copy p {
    max-width: 465px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: 18px;
    line-height: 1.65;
}

.preview-board {
    width: min(620px, 100%);
    margin-top: 54px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
    background: rgba(255, 255, 255, .16);
    box-shadow: 0 24px 75px rgba(4, 63, 34, .28);
    backdrop-filter: blur(18px);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .preview-header div {
        display: grid;
        gap: 8px;
    }

    .preview-header span {
        display: block;
        height: 9px;
        border-radius: 99px;
        background: rgba(255, 255, 255, .52);
    }

        .preview-header span:first-child {
            width: 134px;
        }

        .preview-header span:last-child {
            width: 86px;
        }

    .preview-header i {
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, .2);
        font-size: 27px;
    }

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

    .mini-stats span {
        height: 74px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .88);
    }

        .mini-stats span:nth-child(2) {
            background: rgba(34, 159, 208, .9);
        }

        .mini-stats span:nth-child(3) {
            background: rgba(173, 59, 208, .88);
        }

.chart-card {
    position: relative;
    overflow: hidden;
    height: 150px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .93);
}

.chart-grid {
    position: absolute;
    inset: 22px 22px 24px;
    background-image: linear-gradient(#e8eef1 1px, transparent 1px);
    background-size: 100% 27px;
}

.chart-line {
    position: absolute;
    left: 24px;
    right: 24px;
    height: 66px;
    border-top: 4px solid;
    border-radius: 50%;
    transform: skewX(-18deg);
}

    .chart-line.red {
        top: 54px;
        border-color: var(--red);
    }

    .chart-line.green {
        top: 69px;
        border-color: var(--green);
    }

.doctor-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

    .doctor-strip img {
        width: 42px;
        height: 42px;
        border: 2px solid rgba(255, 255, 255, .78);
        border-radius: 50%;
        object-fit: cover;
    }

    .doctor-strip div {
        margin-left: 8px;
    }

    .doctor-strip strong,
    .doctor-strip span {
        display: block;
    }

    .doctor-strip strong {
        font-size: 20px;
        line-height: 1;
    }

    .doctor-strip span {
        color: rgba(255, 255, 255, .74);
        font-size: 12px;
        font-weight: 700;
    }

.login-panel {
    display: grid;
    place-items: center;
    padding: 44px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .96)), var(--page);
}

.mobile-brand {
    display: none;
    margin-bottom: 26px;
    color: var(--green-dark);
}

    .mobile-brand span {
        background: var(--green);
    }

.auth-card {
    width: min(100%, 440px);
    padding: 38px;
    border: 1px solid rgba(227, 237, 240, .85);
    border-radius: 24px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 30px 80px rgba(50, 74, 90, .12);
}

.auth-head {
    margin-bottom: 29px;
}

.icon-badge {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 18px;
    color: var(--green);
    background: #e1f9ea;
    font-size: 25px;
}

.auth-head h2 {
    margin: 0 0 9px;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: 0;
}

.auth-head p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.login-form {
    display: grid;
    gap: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: #3d4450;
    font-size: 13px;
    font-weight: 800;
}

.input-wrap {
    height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #f9fcfb;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .input-wrap:focus-within {
        border-color: rgba(33, 199, 98, .65);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(33, 199, 98, .1);
    }

    .input-wrap > i {
        color: var(--green);
        font-size: 18px;
    }

    .input-wrap input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: #222a34;
        font-size: 14px;
        font-weight: 650;
    }

.toggle-password {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    color: #87909c;
    background: transparent;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #6d7480;
    font-size: 13px;
    font-weight: 700;
}

    .form-row a {
        color: var(--green-dark);
    }

.remember {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

    .remember input {
        width: 17px;
        height: 17px;
        accent-color: var(--green);
    }

.login-btn {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 2px;
    border: 0;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, #2595ce, #1666aa);
    box-shadow: 0 16px 30px rgb(0, 126, 199, 0.28);
    font-size: 15px;
    font-weight: 850;
}

    .login-btn i {
        transition: transform .2s ease;
    }

    .login-btn:hover i {
        transform: translateX(4px);
    }

    .login-btn.loading {
        pointer-events: none;
        opacity: .86;
    }

.auth-divider {
    position: relative;
    margin: 28px 0 20px;
    color: #98a0aa;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}

    .auth-divider::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: var(--line);
    }

    .auth-divider span {
        position: relative;
        z-index: 1;
        padding: 0 14px;
        background: #fff;
    }

.social-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .social-actions button {
        height: 48px;
        border: 1px solid var(--line);
        border-radius: 14px;
        color: #3e4652;
        background: #fff;
        font-size: 13px;
        font-weight: 800;
    }

    .social-actions i {
        margin-right: 8px;
        color: var(--green);
    }

.signup-text {
    margin: 24px 0 0;
    color: #727a86;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

    .signup-text a {
        color: var(--green-dark);
        font-weight: 850;
    }

@media (max-width: 1040px) {
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
    }

    .mobile-brand {
        display: flex;
    }
}

@media (max-width: 560px) {
    .login-panel {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .auth-head h2 {
        font-size: 28px;
    }

    .form-row,
    .social-actions {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}
