﻿
/* =========================================
   SUVIT TRANSPORT - LOGIN PAGE
========================================= */

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    background: #ffffff;
}

/* BRAND PANEL */

.login-brand-panel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #101d3b, #172e59 65%, #1e40af);
    color: #ffffff;
    padding: 55px 65px 35px;
}

.brand-content {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 21px;
    letter-spacing: 1px;
    font-weight: 600;
}

    .brand-logo strong {
        color: #93c5fd;
        font-weight: 400;
    }

.brand-logo-icon {
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
    display: grid;
    place-items: center;
}

    .brand-logo-icon svg {
        width: 35px;
        height: 35px;
    }

.brand-message {
    margin-top: 105px;
    max-width: 560px;
}

.brand-tagline {
    color: #93c5fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-message h1 {
    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -1.8px;
    margin: 22px 0;
    color: #ffffff;
}

    .brand-message h1 span {
        color: #60a5fa;
    }

.brand-message p {
    max-width: 460px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.9;
}

/* TRANSPORT VISUAL */

.brand-visual {
    position: relative;
    flex: 1;
    min-height: 200px;
    margin-top: 20px;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(147,197,253,0.14);
}

.visual-circle-one {
    width: 260px;
    height: 260px;
    right: 12%;
    top: 0;
}

.visual-circle-two {
    width: 190px;
    height: 190px;
    right: calc(12% + 35px);
    top: 35px;
}

.route-line {
    position: absolute;
    width: 55%;
    height: 1px;
    top: 50%;
    left: 20%;
    background: linear-gradient( 90deg, transparent, #60a5fa, #93c5fd, transparent );
    transform: rotate(-13deg);
}

.route-point {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 0 7px rgba(96,165,250,0.15);
}

.route-point-start {
    left: 20%;
    top: 55%;
}

.route-point-end {
    right: 22%;
    top: 32%;
}

.transport-card {
    position: absolute;
    bottom: 12px;
    left: 12%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
}

.transport-card-icon svg {
    width: 40px;
    height: 40px;
    color: #ffffff;
}

.transport-card strong,
.transport-card span {
    display: block;
}

.transport-card strong {
    font-size: 13px;
}

.transport-card span {
    color: #cbd5e1;
    font-size: 11px;
    margin-top: 5px;
}

.brand-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #94a3b8;
    font-size: 11px;
}

/* LOGIN FORM PANEL */

.login-form-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 45px;
    background: #ffffff;
}

.login-form-container {
    width: 100%;
    max-width: 410px;
}

.mobile-brand {
    display: none;
}

.login-heading {
    margin-bottom: 38px;
}

.login-eyebrow {
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.login-heading h2 {
    color: #172033;
    font-size: 29px;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin: 13px 0 9px;
}

.login-heading p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* INPUTS */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.login-field label {
    display: block;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 9px;
}

.login-input-wrapper {
    height: 53px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 15px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #ffffff;
    transition: all 0.2s ease;
}

    .login-input-wrapper:focus-within {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
    }

    .login-input-wrapper svg {
        width: 19px;
        height: 19px;
        color: #94a3b8;
        flex-shrink: 0;
    }

    .login-input-wrapper input {
        width: 100%;
        min-width: 0;
        border: none;
        outline: none;
        color: #172033;
        font-size: 13px;
        background: transparent;
    }

        .login-input-wrapper input::placeholder {
            color: #94a3b8;
        }

.password-toggle {
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ERROR */

.login-error {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 12px;
}

    .login-error span {
        width: 18px;
        height: 18px;
        border: 1px solid #ef4444;
        border-radius: 50%;
        display: grid;
        place-items: center;
        flex-shrink: 0;
    }

/* SIGN IN BUTTON */

.login-submit-button {
    height: 53px;
    border: none;
    border-radius: 9px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 5px;
}

    .login-submit-button:hover:not(:disabled) {
        background: #1d4ed8;
        box-shadow: 0 6px 16px rgba(37,99,235,0.2);
        transform: translateY(-1px);
    }

    .login-submit-button:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

.login-button-arrow {
    font-size: 19px;
}

.login-spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: login-spin 0.7s linear infinite;
}

@keyframes login-spin {
    to {
        transform: rotate(360deg);
    }
}

/* SECURITY NOTE */

.login-security-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    color: #94a3b8;
    font-size: 11px;
}

    .login-security-note svg {
        width: 17px;
        height: 17px;
        color: #16a34a;
    }

/* RESPONSIVE */

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .login-brand-panel {
        padding: 40px 35px 25px;
    }

    .login-form-panel {
        padding: 35px;
    }

    .brand-message h1 {
        font-size: 39px;
    }

    .brand-footer {
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    .login-page {
        display: block;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        padding: 30px 24px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 65px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.8px;
        color: #172554;
    }

    .mobile-brand-icon {
        width: 38px;
        height: 38px;
        display: grid;
        place-items: center;
        background: #172554;
        color: white;
        border-radius: 9px;
        font-size: 12px;
    }

    .login-heading h2 {
        font-size: 26px;
    }

    .login-heading {
        margin-bottom: 30px;
    }
}
