﻿:root {
    --navy-950: #061A3D;
    --navy-900: #0B2E6B;
    --navy-800: #123E8C;
    --blue-600: #1E5FD9;
    --blue-500: #2E74F0;
    --teal-400: #17B6C4;
    --teal-300: #4FD3DE;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
}

/* ---------- Left: hero / slider panel ---------- */
.login-hero {
    position: relative;
    background: radial-gradient(1200px 800px at 15% -10%, rgba(79, 211, 222, 0.18), transparent 60%), linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--blue-600) 100%);
    color: #fff;
    padding: 3.5rem 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-mark {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 4px 14px rgba(6, 26, 61, 0.25);
    align-self: flex-start;
    width: 80%;
}

.hero-logo {
    display: block;
    height: auto;
    width: 100%;
    object-fit:contain
    /*   max-width: 320px;
                    object-fit: contain; */
}

.hero-mark .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--teal-300);
    box-shadow: 0 0 0 4px rgba(79, 211, 222, 0.2);
}

.hero-mark .brand {
    color: #fff;
}

    .hero-mark .brand span {
        color: var(--teal-300);
    }

.hero-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 460px;
    margin-top:1rem
}

.hero-eyebrow {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: var(--teal-300);
    font-weight: 500;
    margin: 0 0 1rem;
}

.hero-headline {
    font-size: 2.3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 2.25rem;
}

.slides {
    position: relative;
    min-height: 108px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

    .slide.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

.slide-stat {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.slide-label {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.68);
    margin-top: 0.35rem;
}

.dots {
    display: flex;
    gap: 8px;
    margin-top: 1.75rem;
}

    .dots button {
        width: 22px;
        height: 3px;
        border-radius: 2px;
        border: none;
        background: rgba(255, 255, 255, 0.25);
        cursor: pointer;
        padding: 0;
        transition: background 0.3s ease;
    }

        .dots button.active {
            background: var(--teal-300);
        }

.skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 130px;
    opacity: 0.9;
}

.hero-foot {
    position: relative;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

/* ---------- Right: form panel ---------- */
.login-formside {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    background: #fff;
}

.login-card {
    width: 100%;
    max-width: 560px;
}

.login-brand {
    margin-bottom: 1.5rem;
}

    .login-brand img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
    color: #0F1B33;
}

.login-sub {
    font-size: 0.92rem;
    color: #5B6B85;
    margin: 0 0 2rem;
}

.field {
    display: block;
    margin-bottom: 1.15rem;
}

    .field > span {
        display: block;
        font-size: 0.82rem;
        font-weight: 500;
        color: #0F1B33;
        margin-bottom: 0.4rem;
    }

.input {
    width: 100%;
    height: 44px;
    padding: 0 0.85rem;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #E4E9F2;
    background: #F3F6FC;
    font-size: 0.92rem;
    color: #0F1B33;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

    .input:focus {
        border-color: var(--blue-500);
        background: #fff;
        box-shadow: 0 0 0 3px rgba(46, 116, 240, 0.12);
    }

.btn-primary {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.05s ease;
}

    .btn-primary:hover {
        opacity: 0.92;
    }

    .btn-primary:active {
        transform: scale(0.99);
    }

.login-error {
    background: #fdecea;
    color: #b3261e;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.row-between {
    display: flex;
    justify-content: flex-end;
    margin: -0.5rem 0 1.25rem;
}

.back-link {
    color: var(--blue-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.83rem;
}

    .back-link:hover {
        text-decoration: underline;
    }

.login-hint {
    margin-top: 1.75rem;
    font-size: 0.82rem;
    color: #5B6B85;
    text-align: center;
}

@media (max-width: 880px) {
    .hero-mark{
        width:100% !important;
    }
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-hero {
        min-height: 320px;
        padding: 2.25rem 1.75rem 2rem;
    }

    .hero-body {
        margin-top: 0.5rem;
        max-width: none;
    }

    .hero-headline {
        font-size: 1.6rem;
    }

    .skyline {
        display: none;
    }

    .login-formside {
        padding: 2rem 1.5rem;
    }
    
}
