.lo-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 58, 58, 0.92);
    z-index: 10001;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lo-backdrop.active {
    display: flex;
}

.lo-modal {
    background: #F7F8F9;
    border-radius: 20px;
    width: 80vw;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.lo-scroll {
    overflow-y: auto;
    padding: 20px 40px;
    flex: 1;
}

.lo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease;
}

.lo-close:hover {
    background: rgba(0, 0, 0, 0.12);
}

.lo-close svg {
    width: 18px;
    height: 18px;
    stroke: #374151;
    stroke-width: 2;
    fill: none;
}

.lo-header-close {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.lo-header-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lo-header-close svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
}

.lo-step {
    display: none;
}

.lo-step.active {
    display: block;
}

.lo-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    background: #091464;
    border-radius: 20px;
    padding: 16px 24px;
    width: 100%;
}

.lo-step-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.lo-step-header-text {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0;
}

.lo-step-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.0rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

.lo-title-mobile {
    display: none;
}

.lo-step-divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    font-weight: 300;
    flex-shrink: 0;
}

.lo-tooltip-wrap {
    display: none;
}

.lo-step-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lo-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lo-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    background: #F7F8F9;
}

.lo-card:hover {
    border-color: #E6007E;
    background: rgba(230, 0, 126, 0.03);
}

.lo-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(230, 0, 126, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lo-card-icon svg {
    width: 22px;
    height: 22px;
    stroke: #E6007E;
    stroke-width: 1.8;
    fill: none;
}

.lo-card-text h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px 0;
}

.lo-card-text p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.lo-card-arrow {
    margin-left: auto;
    flex-shrink: 0;
}

.lo-card-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #9ca3af;
    stroke-width: 2;
    fill: none;
}

.lo-form-group {
    margin-bottom: 8px;
}

.lo-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 3px;
}

.lo-form-group input,
.lo-form-group select,
.lo-form-group textarea {
    width: 100%;
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: #F7F8F9;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.lo-form-group input:focus,
.lo-form-group select:focus,
.lo-form-group textarea:focus {
    border-color: #E6007E;
}

.lo-form-group input::placeholder,
.lo-form-group textarea::placeholder {
    color: #9ca3af;
}

.lo-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.lo-form-group .lo-error {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}

.lo-form-group.error input,
.lo-form-group.error select {
    border-color: #ef4444;
}

.lo-form-group.error .lo-error {
    display: block;
}

.lo-doc-helper {
    font-size: 0.8rem;
    font-style: italic;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.5;
}

.lo-doc-helper a {
    color: #9ca3af;
    text-decoration: underline;
}

.lo-doc-helper a:hover {
    color: #6b7280;
}

.lo-form-row {
    display: flex;
    gap: 12px;
}

.lo-form-row .lo-form-group {
    flex: 1;
}

.lo-dropzone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    margin-bottom: 10px;
}

.lo-dropzone:hover,
.lo-dropzone.drag-active {
    border-color: #E6007E;
    background: rgba(230, 0, 126, 0.03);
}

.lo-dropzone-icon {
    margin-bottom: 8px;
}

.lo-dropzone-icon svg {
    width: 32px;
    height: 32px;
    stroke: #9ca3af;
    stroke-width: 1.5;
    fill: none;
}

.lo-dropzone-text {
    font-size: 0.85rem;
    color: #6b7280;
}

.lo-dropzone-text span {
    color: #6b7280;
    font-weight: 600;
    text-decoration: underline;
}

.lo-dropzone-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 4px;
}

.lo-file-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 20px;
}

.lo-file-preview svg {
    width: 20px;
    height: 20px;
    stroke: #E6007E;
    stroke-width: 1.8;
    fill: none;
    flex-shrink: 0;
}

.lo-file-info {
    flex: 1;
    min-width: 0;
}

.lo-file-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lo-file-size {
    font-size: 0.75rem;
    color: #9ca3af;
}

.lo-file-remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(239, 68, 68, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.lo-file-remove:hover {
    background: rgba(239, 68, 68, 0.15);
}

.lo-file-remove svg {
    width: 14px;
    height: 14px;
    stroke: #ef4444;
    stroke-width: 2;
}

.lo-back-link {
    display: none;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s ease;
}

.lo-back-link:hover {
    color: #374151;
}

.lo-back-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.lo-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    border-top: 1px solid #e5e7eb;
    background: #F7F8F9;
    border-radius: 0 0 20px 20px;
    flex-shrink: 0;
}

.lo-toggle-group {
    display: flex;
    gap: 0;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    overflow: hidden;
}

.lo-toggle-btn {
    padding: 10px 20px;
    background: #F7F8F9;
    color: #6b7280;
    border: none;
    border-right: 1px solid #d1d5db;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.lo-toggle-btn:last-child {
    border-right: none;
}

.lo-toggle-btn:hover {
    background: #f3f4f6;
}

.lo-toggle-btn.active {
    background: #fce4ef;
    color: #e6007e;
    font-weight: 600;
}

.lo-action-buttons {
    display: flex;
    gap: 12px;
}

.lo-factsheet-layout {
    display: flex;
    gap: 32px;
    align-items: stretch;
    flex: 1;
}

.lo-factsheet-form {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.lo-factsheet-form form {
    width: 100%;
}

.lo-factsheet-image {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lo-factsheet-image img {
    height: 500px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.lo-button-row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.lo-cancel {
    padding: 12px 28px;
    background: #F7F8F9;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lo-cancel:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.lo-submit {
    padding: 12px 28px;
    background: #E6007E;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.lo-submit:hover {
    background: #cc006e;
}

.lo-submit:active {
    transform: scale(0.98);
}

.lo-submit:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

.lo-success {
    text-align: center;
    padding: 20px 0;
}

.lo-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(230, 0, 126, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.lo-success-icon svg {
    width: 36px;
    height: 36px;
    stroke: #E6007E;
    stroke-width: 2;
    fill: none;
}

.lo-success h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #091464;
    margin-bottom: 8px;
}

.lo-success p {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 32px;
    line-height: 1.5;
}

.lo-success-btn {
    display: inline-block;
    padding: 14px 40px;
    background: #E6007E;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lo-success-btn:hover {
    background: #cc006e;
}

.lo-confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10001;
}

@media (max-width: 768px) {
    .lo-backdrop {
        padding-top: 16px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        bottom: 0;
        height: auto;
    }

    .lo-modal {
        width: 92vw;
        height: calc(100vh - 32px);
        height: calc(100dvh - 32px);
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        border-radius: 16px;
        padding-top: 56px;
    }

    .lo-scroll {
        padding: 16px 24px;
    }

    .lo-close {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        margin: 0;
        z-index: 12;
        display: flex;
    }

    .lo-header-close {
        display: none;
    }

    .lo-toggle-group {
        position: absolute;
        top: 10px;
        left: 16px;
        right: 54px;
        width: auto;
        z-index: 11;
        border-radius: 8px;
    }

    .lo-step-header {
        gap: 10px;
        margin-bottom: 24px;
        width: 100%;
        padding: 12px 16px;
        border-radius: 16px;
    }

    .lo-step-logo {
        height: 44px;
    }

    .lo-step-title {
        font-size: 1.4rem;
    }

    .lo-step-header-text {
        display: block;
    }

    .lo-step-subtitle {
        display: none;
    }

    .lo-step-divider {
        display: none;
    }

    .lo-title-desktop {
        display: none;
    }

    .lo-title-mobile {
        display: inline;
    }

    .lo-doc-helper {
        display: none;
    }

    .lo-tooltip-wrap {
        display: inline-block;
        position: relative;
        margin-left: 4px;
        vertical-align: middle;
    }

    .lo-tooltip-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #e5e7eb;
        color: #6b7280;
        font-size: 0.7rem;
        font-weight: 700;
        cursor: pointer;
        line-height: 1;
    }

    .lo-tooltip-bubble {
        display: none;
        position: absolute;
        bottom: calc(100% + 8px);
        right: -8px;
        width: 260px;
        padding: 12px 14px;
        background: #1f2937;
        color: #f9fafb;
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.5;
        border-radius: 8px;
        z-index: 20;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .lo-tooltip-bubble::after {
        content: '';
        position: absolute;
        top: 100%;
        right: 14px;
        border: 6px solid transparent;
        border-top-color: #1f2937;
    }

    .lo-tooltip-bubble a {
        color: #93c5fd;
        text-decoration: underline;
    }

    .lo-tooltip-wrap.active .lo-tooltip-bubble {
        display: block;
    }

    .lo-form-row {
        flex-direction: column;
        gap: 0;
    }

    .lo-card {
        padding: 16px 18px;
    }

    .lo-card-icon {
        width: 38px;
        height: 38px;
    }

    .lo-toggle-btn {
        flex: 1;
        padding: 8px 8px;
        font-size: 0.75rem;
        text-align: center;
    }

    .lo-bottom-bar {
        padding: 12px 24px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        justify-content: flex-end;
    }

    .lo-action-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .lo-factsheet-layout {
        flex-direction: column;
    }

    .lo-factsheet-image {
        display: none;
    }

    .lo-success h2 {
        font-size: 1.4rem;
    }
}
