﻿/* =========================================================
   VENDOR LOGIN PAGE
========================================================= */

.wsm-vendorlogin-page {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 180deg, #f8fbfd 0%, #f4f8fb 100% );
}

/* =========================================================
   HERO
========================================================= */

.wsm-vendorlogin-hero {
    position: relative;
    padding: clamp(70px, 9vw, 130px) clamp(20px, 4vw, 60px) clamp(80px, 9vw, 120px);
    overflow: hidden;
}

    .wsm-vendorlogin-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(12, 171, 220, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 171, 220, 0.07) 1px, transparent 1px);
        background-size: 36px 36px;
        pointer-events: none;
    }

.wsm-vendorlogin-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(50px, 7vw, 100px);
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

/* =========================================================
   LEFT
========================================================= */

.wsm-vendorlogin-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.86);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #0891b2;
    margin-bottom: 26px;
}

.wsm-vendorlogin-left h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: .92;
    letter-spacing: -0.06em;
    font-weight: 900;
    color: #071c44;
}

.wsm-vendorlogin-left p {
    margin-top: 28px;
    max-width: 68ch;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #61708b;
}

/* =========================================================
   BUTTONS
========================================================= */

.wsm-vendorlogin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.wsm-vendorlogin-primary,
.wsm-vendorlogin-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 58px;
    padding: 0 28px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: .95rem;
    transition: .35s ease;
}

.wsm-vendorlogin-primary {
    background: linear-gradient( 135deg, #06b6d4, #0284c7 );
    color: white;
    box-shadow: 0 20px 50px rgba(6,182,212,0.25);
}

    .wsm-vendorlogin-primary:hover {
        transform: translateY(-3px);
    }

.wsm-vendorlogin-secondary {
    background: rgba(255,255,255,0.92);
    color: #071c44;
    border: 1px solid rgba(15,23,42,.08);
}

    .wsm-vendorlogin-secondary:hover {
        transform: translateY(-3px);
    }

/* =========================================================
   TAGS
========================================================= */

.wsm-vendorlogin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

    .wsm-vendorlogin-tags span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        background: rgba(255,255,255,0.88);
        border: 1px solid rgba(15,23,42,.08);
        font-weight: 700;
        font-size: .84rem;
        color: #071c44;
    }

/* =========================================================
   RIGHT PANEL
========================================================= */

.wsm-vendorlogin-panel {
    background: rgba(255,255,255,0.76);
    backdrop-filter: blur(18px);
    border-radius: 34px;
    border: 1px solid rgba(15,23,42,.06);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15,23,42,.08);
}

.wsm-vendorlogin-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(15,23,42,.06);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #7b8ba7;
}

    .wsm-vendorlogin-panel-top span:last-child {
        color: #0891b2;
    }

.wsm-vendorlogin-panel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    padding: 28px;
}

.wsm-vendorlogin-mini-card {
    min-height: 220px;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(15,23,42,.08);
    transition: .35s ease;
}

    .wsm-vendorlogin-mini-card:hover {
        transform: translateY(-6px);
    }

    .wsm-vendorlogin-mini-card i {
        font-size: 2.8rem;
        color: #c7eef7;
    }

    .wsm-vendorlogin-mini-card h3 {
        margin-top: 16px;
        margin-bottom: 12px;
        font-size: 1.9rem;
        font-weight: 900;
        letter-spacing: -.04em;
        color: #071c44;
    }

    .wsm-vendorlogin-mini-card p {
        margin: 0;
        line-height: 1.9;
        color: #64748b;
        font-weight: 600;
    }

/* =========================================================
   FORM SECTION
========================================================= */

.wsm-vendorlogin-form-section {
    position: relative;
    padding: 20px clamp(20px, 4vw, 60px) 120px;
}

.wsm-vendorlogin-form-shell {
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(20px);
    border-radius: 34px;
    border: 1px solid rgba(15,23,42,.06);
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(15,23,42,.08);
}

.wsm-vendorlogin-form-head {
    padding: 40px;
    border-bottom: 1px solid rgba(15,23,42,.06);
}

.wsm-vendorlogin-label {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(6,182,212,.10);
    color: #0891b2;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.wsm-vendorlogin-form-head h2 {
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: -.05em;
    color: #071c44;
}

.wsm-vendorlogin-form-head p {
    max-width: 70ch;
    color: #64748b;
    line-height: 1.9;
}

/* =========================================================
   FORM
========================================================= */

.wsm-vendorlogin-form {
    padding: 40px;
}

.wsm-vendorlogin-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.wsm-vendorlogin-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .wsm-vendorlogin-field label {
        font-size: .82rem;
        font-weight: 800;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: #071c44;
    }

    .wsm-vendorlogin-field input,
    .wsm-vendorlogin-field select {
        width: 100%;
        height: 64px;
        padding: 0 22px;
        border-radius: 18px;
        border: 1px solid rgba(15,23,42,.08);
        background: #f7fafc;
        font-size: 1rem;
        font-weight: 600;
        color: #071c44;
        outline: none;
        transition: .3s ease;
    }

        .wsm-vendorlogin-field input:focus,
        .wsm-vendorlogin-field select:focus {
            border-color: #06b6d4;
            box-shadow: 0 0 0 4px rgba(6,182,212,.12);
        }

/* =========================================================
   BOTTOM
========================================================= */

.wsm-vendorlogin-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.wsm-vendorlogin-remember {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #475569;
}

.wsm-vendorlogin-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 30px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #06b6d4, #0284c7 );
    color: white;
    font-size: .95rem;
    font-weight: 800;
    cursor: pointer;
    transition: .35s ease;
    box-shadow: 0 20px 50px rgba(6,182,212,.22);
}

    .wsm-vendorlogin-submit:hover {
        transform: translateY(-3px);
    }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .wsm-vendorlogin-grid {
        grid-template-columns: 1fr;
    }

    .wsm-vendorlogin-left h1 {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .wsm-vendorlogin-panel-grid,
    .wsm-vendorlogin-row {
        grid-template-columns: 1fr;
    }

    .wsm-vendorlogin-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .wsm-vendorlogin-submit {
        width: 100%;
        justify-content: center;
    }

    .wsm-vendorlogin-form,
    .wsm-vendorlogin-form-head {
        padding: 26px;
    }

    .wsm-vendorlogin-left h1 {
        font-size: 3.6rem;
    }
}


.wsm-vendorlogin-error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 4px rgba(220,38,38,.12) !important;
}

.wsm-vendorlogin-error-text {
    margin-top: 4px;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 800;
}