﻿/*.floating-label {
    position: relative;
    margin-bottom: 8px;
}

    .floating-label .form-control {
        transition: all 0.3s ease;
    }

    .floating-label label {
        position: absolute;
        top: 24px;
        left: 10px;
        transform: translateY(-50%);
        font-size: 12px;
        color: #686868;
        font-weight: 500;
        transition: all 0.3s ease;
        pointer-events: none;
        text-transform: inherit !important;
    }

    .floating-label .form-control:focus + label,
    .floating-label .form-control:not(:placeholder-shown) + label {
        top: 0px;
        background: #fff;
        color: #000000;
        padding: 0 10px;
    }

    .floating-label label {
        font-size: 12.5px;
    }

    .floating-label #txtareaMsgKRC + label {
        top: 0px;
        background: #fff;
        color: #000000;
        padding: 0 10px;
        font-size: 12.5px;
    }

.krc-form.doc-frm-in-lft {
    padding-left: 0;
    padding-right: 0;
    padding: 0;
    background: #171C27 !important;
}

.krc-form .doc-frm-top-lft {
    padding: 0;
}

.krc-form .bookademo {
    padding-top: 0;
}

.krc-form {
}

@media (min-width: 1450px) and (max-width: 2200px) {
    .krc-form .bookademo img {
        width: 100%;
    }
}*/
/*-------------------------------New Design---------------------------------------------*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #F3F9FF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.page {
    display: flex;
    width: 100%;
    max-width: 1060px;
    min-height: 680px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(10,90,148,0.18);
}

/* ── LEFT PANEL ── */
.left {
    width: 44%;
    background: #0A1628;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.left-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(10,90,148,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(10,90,148,0.14) 1px, transparent 1px);
    background-size: 38px 38px;
    pointer-events: none;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.brand-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0A5A94;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .brand-dot svg {
        width: 16px;
        height: 16px;
    }

.brand-name {
    font-size: 10px;
    font-weight: 600;
    color: #7A9BB8;
    letter-spacing: 2.5px;
}

.early-badge {
    display: inline-block;
    background: #0A5A94;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    width: fit-content;
}

.left-headline {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.22;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

    .left-headline span {
        color: #FFC107;
    }

.left-sub {
    font-size: 13px;
    color: #6B8EAA;
    line-height: 1.65;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
}

/* pills */
.pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.pill {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: rgba(10,90,148,0.18);
    border: 0.5px solid rgba(10,90,148,0.50);
    border-radius: 10px;
    padding: 11px 14px;
}

.pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: #0A5A94;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .pill-icon svg {
        width: 14px;
        height: 14px;
        fill: #fff;
    }

.pill-label {
    font-size: 12px;
    font-weight: 600;
    color: #D1E8FA;
    margin-bottom: 3px;
}

.pill-desc {
    font-size: 11px;
    color: #6B8EAA;
    line-height: 1.45;
}

/* credit callout */
.credit-box {
    background: rgba(255,193,7,0.10);
    border: 0.5px solid rgba(255,193,7,0.38);
    border-radius: 10px;
    padding: 13px 15px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.credit-eyebrow {
    font-size: 9px;
    font-weight: 700;
    color: #FFC107;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.credit-amount {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.credit-desc {
    font-size: 11px;
    color: #8BACC8;
    margin-top: 3px;
}

/* logos */
.logos-section {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.logos-eyebrow {
    font-size: 9px;
    font-weight: 600;
    color: #3D5A6E;
    letter-spacing: 2px;
    margin-bottom: 9px;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.logo-chip {
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.11);
    border-radius: 5px;
    padding: 4px 11px;
    font-size: 11px;
    color: #6B8EAA;
    font-weight: 500;
}

/* ── RIGHT PANEL ── */
.right {
    width: 56%;
    background: #fff;
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
}

.right-eyebrow {
    font-size: 10px;
    font-weight: 700;
    color: #0A5A94;
    letter-spacing: 2.5px;
    margin-bottom: 8px;
}

.right-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 7px;
}

.right-sub {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* live indicator */
.live-row {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F3F9FF;
    border: 0.5px solid #D1E5F7;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 20px;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22C55E;
    flex-shrink: 0;
}

.live-text {
    font-size: 11px;
    color: #374151;
}

    .live-text strong {
        color: #111827;
    }

/* form */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

    .form-group:last-child {
        margin-bottom: 0;
    }

label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 9px 13px;
    font-size: 14px;
    font-family: inherit;
    border: 1px solid #D1E5F7;
    border-radius: 8px;
    background: #F7FAFD;
    color: #111827;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 34px;
    cursor: pointer;
}

    input:focus, select:focus, textarea:focus {
        border-color: #0A5A94;
        box-shadow: 0 0 0 3px rgba(10,90,148,0.10);
        background: #fff;
    }

input::placeholder, textarea::placeholder {
    color: #9CA3AF;
}

textarea {
    resize: none;
    height: 84px;
    line-height: 1.55;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #0A5A94;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.3px;
    margin-top: 4px;
    transition: background 0.15s;
}

    .submit-btn:hover {
        background: #0d6fba;
    }

    .submit-btn:active {
        background: #084f82;
        transform: scale(0.995);
    }

/* spinner inside submit button */
.submit-btn .spinner svg { display: inline-block; vertical-align: middle; }
.submit-btn[disabled] { opacity: 0.65; cursor: not-allowed; }

.approval-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    background: #F7FAFD;
    border: 0.5px solid #D1E5F7;
    border-radius: 8px;
    padding: 11px 13px;
    margin-top: 12px;
}

    .approval-note svg {
        width: 15px;
        height: 15px;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .approval-note p {
        font-size: 11.5px;
        color: #6B7280;
        line-height: 1.55;
    }

        .approval-note p strong {
            color: #374151;
        }

@media (max-width: 720px) {
    .page {
        flex-direction: column;
    }

    .left, .right {
        width: 100%;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

.validate-text-font {
    font-size: 10px;
}

.text-danger {
    color: #dc3545 !important;
    font-size: x-small;
}

.error-message {
    color: red;
    font-size: small;
}
