/* ==========================================================================
   Veyra AI — Custom Registration Box Styles (.v2 theme aligned)
   Colors: --accent: #002f6d; --accent-deep: #001c47; --bg: #f2f7fe; --line: #d7e3f2
   ========================================================================== */

#custom-regbox {
    background-color: #f2f7fe;
    padding: 40px 16px 60px;
    border-top: 1px solid #d7e3f2;
}

#custom-regbox #main-container {
    max-width: 480px;
    margin: 0 auto;
}

.form-container {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #d7e3f2;
    box-shadow: 0 16px 40px -8px rgba(0, 47, 109, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

#custom-regbox .formHeader {
    background: linear-gradient(135deg, #002f6d 0%, #001c47 100%);
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
    padding: 24px 20px 14px;
    font-size: 22px;
    letter-spacing: -0.2px;
    line-height: 1.25;
}

#custom-regbox .formSubHeader {
    text-align: center;
    color: #cbdcf4;
    font-size: 13.5px;
    margin: 0 0 10px;
    font-weight: 400;
}

.formwrap-outer .intgrtn-form-signup {
    padding: 28px 24px 24px;
}

.intgrtn-form-signup .intgrtn-input-holder {
    margin-bottom: 16px;
    position: relative;
}

.intgrtn-form-signup .intgrtn-input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1a2a44;
    margin-bottom: 6px;
}

.intgrtn-form-signup .intgrtn-input {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    line-height: 1.4;
    color: #101c2e;
    background-color: #fbfdff;
    border: 1.5px solid #d2e0f0;
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.intgrtn-form-signup .intgrtn-input:focus {
    border-color: #002f6d;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 47, 109, 0.12);
}

.intgrtn-form-signup .intgrtn-input.activeGood {
    border-color: #10b981;
    background-color: #f7fdf9;
}

.intgrtn-form-signup .intgrtn-input.activeBad {
    border-color: #ef4444;
    background-color: #fff9f9;
}

.intgrtn-btn-go-to-step-holder {
    margin-top: 22px;
    margin-bottom: 8px;
}

.intgrtn-btn-go-to-step {
    display: block;
    width: 100%;
    background: #002f6d;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(0, 47, 109, 0.35);
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    font-family: inherit;
}

.intgrtn-btn-go-to-step:hover {
    background: #001c47;
    box-shadow: 0 10px 24px -4px rgba(0, 47, 109, 0.45);
}

.intgrtn-btn-go-to-step:active {
    transform: scale(0.99);
}

.intgrtn-btn-go-to-step:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

/* Submission feedback alert banner */
.local-lead-result {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    font-weight: 600;
}

.local-lead-result[data-state="pending"] {
    background: #eef5fc;
    color: #002f6d;
    border: 1px solid #b9d7f5;
}

.local-lead-result[data-state="success"] {
    background: #e6f9f0;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.local-lead-result[data-state="error"] {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Trust logos section */
.logos-section {
    padding: 24px 0 0;
    background: transparent;
}

.flex-logos-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    opacity: 0.75;
}

.flex-logos-wrapper img.logo {
    height: 28px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.2s, opacity 0.2s;
}

.flex-logos-wrapper img.logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Direct CTA button in Brand panel */
.v2-direct-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #002f6d;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 47, 109, 0.25);
    margin-top: 16px;
    transition: background 0.2s, transform 0.1s;
    width: fit-content;
}

.v2-direct-cta:hover {
    background: #001c47;
    transform: translateY(-1px);
}

/* Chat completion CTA button */
.v2-chat-cta {
    display: block;
    text-align: center;
    background: #002f6d;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 18px;
    border-radius: 9px;
    text-decoration: none;
    margin: 12px 0 4px;
    box-shadow: 0 4px 14px rgba(0, 47, 109, 0.2);
    transition: background 0.2s;
}

.v2-chat-cta:hover {
    background: #001c47;
}

.v2-eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #002f6d;
    background: rgba(0, 47, 109, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.v2-benefits {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v2-benefits li {
    font-size: 14px;
    color: #334e68;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v2-benefits li::before {
    content: "✓";
    color: #002f6d;
    font-weight: 900;
    font-size: 14px;
}
