﻿
:root {
    --primary: #003096;
    --primary-hover: #003db2;
    --secondary: #002868;
    --accent: #00c3ff;
    --bg-main: #FFFFFF;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

.login-container {
    display: flex;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.login-box {
    flex: 0.7;
    background: #FFFFFF;
    padding: 36px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    z-index: 2;
}

.top-brand-header,
.form-wrapper,
.enterprise-footer {
    width: 100%;
    max-width: 380px;
}

.top-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 8px;
}

.brand-logo-img {
    max-height: 85px !important;
    width: auto;
    object-fit: contain;
    margin-left: -4px;
}

.brand-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-brand-name {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #003096 0%, #003096 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 3px;
}

.product-brand-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.form-wrapper {
    margin: auto 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.container-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.container-box p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.input-box {
    position: relative;
    margin-bottom: 16px;
}

    .input-box input {
        width: 100%;
        padding: 12px 40px 12px 14px;
        background-color: #F8FAFC;
        border: 1.5px solid var(--border);
        border-radius: 10px;
        font-size: 14px;
        color: var(--text-main);
        outline: none;
        transition: all 0.2s ease;
    }

        .input-box input::placeholder {
            color: #9CA3AF;
        }

        .input-box input:focus {
            background-color: #FFFFFF;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 79, 206, 0.15);
        }

    .input-box i {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9CA3AF;
        font-size: 18px;
        pointer-events: none;
        transition: color 0.2s ease;
    }

    .input-box input:focus ~ i {
        color: var(--primary);
    }

.remember-forgot {
    font-size: 13px;
    margin-bottom: 22px;
}

    .remember-forgot label {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--text-muted);
        cursor: pointer;
        user-select: none;
        font-weight: 500;
    }

    .remember-forgot input[type="checkbox"] {
        appearance: none;
        width: 16px;
        height: 16px;
        border: 1.5px solid var(--border);
        border-radius: 4px;
        outline: none;
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
        background-color: #F8FAFC;
    }

        .remember-forgot input[type="checkbox"]:checked {
            background-color: var(--primary);
            border-color: var(--primary);
        }

            .remember-forgot input[type="checkbox"]:checked::after {
                content: "\eb7a";
                font-family: 'boxicons';
                font-size: 12px;
                color: white;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }

    .remember-forgot a {
        color: var(--primary);
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .remember-forgot a:hover {
            color: var(--primary-hover);
            text-decoration: underline;
        }

.btn {
    background: linear-gradient(135deg, #003096 0%, #003399 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 14.5px;
    padding: 13px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0, 79, 206, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 79, 206, 0.35);
        background: linear-gradient(135deg, #003db2 0%, #002868 100%);
        color: #fff;
    }

.enterprise-footer {
    padding-top: 16px;
    border-top: 1px solid #F1F5F9;
    text-align: left;
}

.company-title {
    font-weight: 700;
    color: #334155;
    font-size: 12.5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .company-title i {
        color: var(--primary);
        font-size: 15px;
    }

.company-address {
    color: #94A3B8;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.contact-links-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    font-size: 11.5px;
}

.phone-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

    .phone-link i {
        color: var(--primary);
        font-size: 14px;
    }

    .phone-link:hover {
        color: var(--primary);
        text-decoration: underline;
    }

.footer-copyright {
    font-size: 13px; 
    color: #475569; 
    text-align: center; 
    padding: 12px 0; 
}


    .footer-copyright a {
        color: #003096;
        text-decoration: none; 
        font-weight: 600; 
        transition: all 0.2s ease-in-out;
    }

       
        .footer-copyright a:hover {
            color: #0042C8;
            text-decoration: underline;
        }
.login-side {
    flex: 1.1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #fff;
    z-index: 1;
    height: 100vh;
    width: 100%;
    margin: 0 !important; 
    padding: 0 !important;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: floatBlob 12s infinite alternate ease-in-out;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #003096;
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: #002868;
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #00c3ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: -1;
}

.visual-content {
    max-width: 520px;
    text-align: center;
    z-index: 2;
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    color: #E2E8F0;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.visual-content h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
    margin-bottom: 14px;
    background: linear-gradient(to right, #FFFFFF, #CBD5E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.visual-content p {
    font-size: 14.5px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.image-showcase {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 230px;
    margin: 0 auto;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: floating 6s ease-in-out infinite;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center; 
    display: block; 
    filter: none;
}

.img-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
}

    .img-fallback i {
        font-size: 42px;
        color: var(--accent);
    }

    .img-fallback span {
        font-size: 13px;
        font-weight: 500;
    }

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    html, body {
        overflow: auto;
        height: auto;
    }

    .login-container {
        flex-direction: column;
        height: auto;
        overflow: auto;
    }

    .login-box {
        order: 1;
        padding: 32px 24px 24px 24px;
        height: auto;
        overflow: visible;
        gap: 32px;
    }

    .top-brand-header {
        justify-content: center;
    }

    .login-side {
        order: 2;
/*        padding: 40px 24px;*/
        min-height: auto;
    }

    .visual-content h2 {
        font-size: 26px;
    }

    .visual-content p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .image-showcase {
        height: 180px;
        max-width: 320px;
    }

    .contact-links-inline {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-height: 740px) and (min-width: 992px) {
    .login-box {
        padding: 20px 36px;
    }

    .brand-logo-img {
        max-height: 100px !important;
    }

    .product-brand-name {
        font-size: 20px;
    }

    .product-brand-tag {
        font-size: 9.5px;
    }

    .container-box h3 {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .container-box p {
        font-size: 12.5px;
        margin-bottom: 16px;
    }

    .input-box {
        margin-bottom: 12px;
    }

        .input-box input {
            padding: 10px 38px 10px 12px;
            font-size: 13px;
        }

    .remember-forgot {
        margin-bottom: 16px;
        font-size: 12px;
    }

    .btn {
        padding: 11px;
        font-size: 14px;
    }

    .enterprise-footer {
        padding-top: 12px;
    }

    .company-title {
        font-size: 11.5px;
        margin-bottom: 2px;
    }

    .company-address {
        font-size: 10.5px;
        margin-bottom: 6px;
    }

    .contact-links-inline {
        margin-bottom: 4px;
        font-size: 11px;
    }

    .visual-content h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .visual-content p {
        margin-bottom: 20px;
        font-size: 13.5px;
    }

    .image-showcase {
        height: 180px;
    }
}


