﻿:root {
    --a8-primary: var(--brand-primary, #5b5ce2);
    --a8-primary-dark: var(--brand-primary-hover, #4849c7);
    --a8-dark: #0b1020;
    --a8-text: #111827;
    --a8-muted: #64748b;
    --a8-border: #e5e7eb;
    --a8-danger: #dc2626;
}


/* Remove portal shell */

.anant8-main {
    margin-left: 0 !important;
    width: 100% !important;
}

.anant8-sidebar,
.anant8-topbar,
.anant8-footer {
    display: none !important;
}

.anant8-content {
    padding: 0 !important;
}


/* =========================================================
   PAGE
   ========================================================= */

.a8-request-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 36% 64%;
    background: #ffffff;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.a8-request-showcase {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: white;
    background: radial-gradient( circle at 15% 20%, rgba(91, 92, 226, .28), transparent 38% ), radial-gradient( circle at 85% 80%, rgba(91, 92, 226, .18), transparent 40% ), var(--a8-dark);
}

.a8-request-showcase-inner {
    height: 100vh;
    padding: 36px 42px;
    display: flex;
    flex-direction: column;
}


.a8-request-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
}

.a8-request-logo {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--a8-primary);
    font-size: 15px;
    font-weight: 800;
}

.a8-request-logo-image {
    object-fit: contain;
    background: transparent;
    padding: 1px;
}


/* Main */

.a8-request-main {
    margin: auto 0;
}

.a8-request-eyebrow {
    margin-bottom: 14px;
    color: #8587ff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
}

.a8-request-main h1 {
    max-width: 390px;
    margin: 0;
    font-size: clamp(34px, 3.3vw, 48px);
    line-height: 1.05;
    letter-spacing: -2px;
}

    .a8-request-main h1 span {
        display: block;
        color: #8587ff;
    }

.a8-request-main > p {
    max-width: 390px;
    margin: 18px 0 0;
    color: #929db2;
    font-size: 12px;
    line-height: 1.65;
}


/* Product cards */

.a8-product-cards {
    max-width: 420px;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.a8-product-card {
    min-height: 55px;
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(12px);
}

.a8-product-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    border-radius: 8px;
    background: rgba(91,92,226,.16);
    color: #8587ff;
    font-size: 12px;
}

.a8-product-card strong {
    display: block;
    color: #e5e7eb;
    font-size: 11px;
}

.a8-product-card span {
    display: block;
    margin-top: 2px;
    color: #69758b;
    font-size: 9px;
}

.a8-product-status {
    margin-left: auto;
    color: #5ee2a2;
    font-size: 8px;
}

    .a8-product-status i {
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-right: 3px;
        border-radius: 50%;
        background: #35d399;
    }

.a8-product-arrow {
    margin-left: auto;
    color: #737fa0;
    font-size: 15px;
}

.a8-product-growth {
    margin-left: auto;
    color: #5ee2a2;
    font-size: 9px;
    font-weight: 600;
}


.a8-request-showcase-footer {
    color: #56627a;
    font-size: 9px;
}


/* =========================================================
   RIGHT SIDE
   ========================================================= */

.a8-request-form-section {
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
}

.a8-request-form-wrapper {
    width: 100%;
    max-width: 850px;
    height: 100%;
    margin: 0 auto;
    padding: 34px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Header */

.a8-request-header {
    margin-bottom: 20px;
}

.a8-request-label {
    color: var(--a8-primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
}

.a8-request-header h2 {
    margin: 8px 0 5px;
    color: var(--a8-text);
    font-size: 27px;
    line-height: 1.1;
    letter-spacing: -1px;
}

    .a8-request-header h2 span {
        color: var(--a8-primary);
    }

.a8-request-header p {
    margin: 0;
    color: var(--a8-muted);
    font-size: 11px;
}


/* Form */

.a8-request-form {
    width: 100%;
}

.a8-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.a8-location-row {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr .7fr;
    gap: 12px;
}

.a8-form-group {
    margin-bottom: 12px;
}

    .a8-form-group label {
        display: block;
        margin-bottom: 5px;
        color: #374151;
        font-size: 9px;
        font-weight: 600;
    }

.a8-input {
    width: 100%;
    height: 39px;
    padding: 0 11px;
    border: 1px solid var(--a8-border);
    border-radius: 7px;
    outline: none;
    color: var(--a8-text);
    background: white;
    font-family: inherit;
    font-size: 10px;
    transition: .2s;
}

    .a8-input::placeholder {
        color: #b1b8c3;
    }

    .a8-input:focus {
        border-color: var(--a8-primary);
        box-shadow: 0 0 0 3px rgba(91,92,226,.08);
    }


/* Password */

.a8-password-wrapper {
    position: relative;
}

    .a8-password-wrapper .a8-input {
        padding-right: 45px;
    }

.a8-password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--a8-primary);
    font-size: 9px;
    cursor: pointer;
}


/* Address label */

.a8-address-title {
    margin: 4px 0 9px;
    color: #8b95a3;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .12em;
}


/* Validation */

.a8-validation-summary {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #fef2f2;
    color: var(--a8-danger);
    font-size: 9px;
}

    .a8-validation-summary:empty {
        display: none;
    }

.a8-field-error {
    display: block;
    margin-top: 3px;
    color: var(--a8-danger);
    font-size: 8px;
}


/* Success */

.a8-success-message {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
    padding: 9px 11px;
    border: 1px solid #bbf7d0;
    border-radius: 7px;
    background: #f0fdf4;
    color: #166534;
    font-size: 9px;
}

.a8-success-icon {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    font-weight: 700;
}

.a8-success-message strong {
    display: block;
}

.a8-success-message span {
    display: block;
    margin-top: 2px;
}


/* Submit */

.a8-submit-button {
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
    border: none;
    border-radius: 8px;
    background: var(--a8-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

    .a8-submit-button:hover {
        background: var(--a8-primary-dark);
        transform: translateY(-1px);
    }

    .a8-submit-button span:last-child {
        font-size: 15px;
    }

.a8-form-note {
    margin-top: 6px;
    text-align: center;
    color: #a1a9b5;
    font-size: 8px;
}


/* Back login */

.a8-back-login {
    margin-top: 13px;
    text-align: center;
    color: #9ca3af;
    font-size: 9px;
}

    .a8-back-login a {
        margin-left: 4px;
        color: var(--a8-primary);
        font-weight: 600;
        text-decoration: none;
    }

    .a8-back-login span {
        margin-left: 2px;
        font-size: 12px;
    }


/* Mobile */

.a8-request-mobile-brand {
    display: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .a8-request-page {
        grid-template-columns: 34% 66%;
    }

    .a8-request-showcase-inner {
        padding: 30px;
    }

    .a8-request-form-wrapper {
        padding: 30px 35px;
    }

    .a8-location-row {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 700px) {

    .a8-request-page {
        display: block;
    }

    .a8-request-showcase {
        min-height: 260px;
    }

    .a8-request-showcase-inner {
        height: auto;
        min-height: 260px;
    }

    .a8-request-main {
        margin: 40px 0 20px;
    }

        .a8-request-main h1 {
            font-size: 34px;
        }

    .a8-product-cards {
        display: none;
    }

    .a8-request-showcase-footer {
        display: none;
    }

    .a8-request-form-section {
        height: auto;
        overflow: visible;
    }

    .a8-request-form-wrapper {
        height: auto;
        padding: 30px 22px 40px;
    }

    .a8-form-row,
    .a8-location-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}


@media (max-width: 450px) {

    .a8-request-main h1 {
        font-size: 30px;
    }

    .a8-request-header h2 {
        font-size: 25px;
    }
}
