/* ========================================================
   Investor Registration Multistep Flow Styles
   Matches enterprise 4-step designs
   ======================================================== */

:root {
    --inv-primary: #2563eb;
    --inv-primary-hover: #1d4ed8;
    --inv-primary-light: #eff6ff;
    --inv-primary-border: #bfdbfe;
    --inv-navy-bg: #071224;
    --inv-navy-card: #0e1e38;
    --inv-navy-border: #1e293b;
    --inv-text-dark: #0f172a;
    --inv-text-muted: #64748b;
    --inv-border-light: #e2e8f0;
    --inv-bg-light: #f8fafc;
    --inv-success: #16a34a;
    --inv-success-light: #f0fdf4;
    --inv-success-border: #bbf7d0;
}

/* Master Page Layout */
.investor-page-container {
    background-color: var(--inv-bg-light);
    min-height: 100vh;
    font-family: 'Outfit', sans-serif;
    color: var(--inv-text-dark);
}

.investor-split-layout {
    display: flex;
    min-height: 100vh;
}

/* Left Navy Sidebar */
.investor-sidebar {
    width: 380px;
    background: linear-gradient(180deg, #071224 0%, #0a1832 50%, #060e1d 100%);
    color: #ffffff;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.investor-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2.25rem;
    text-decoration: none;
}

.investor-brand-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.investor-brand-text h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    color: #ffffff;
    line-height: 1.1;
}

.investor-brand-text h2 span {
    color: #38bdf8;
}

.investor-brand-tagline {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #38bdf8;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Sidebar Title & Intro */
.investor-sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.investor-sidebar-subtitle {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
    margin-bottom: 1.75rem;
}

/* Step 1 Features List */
.sidebar-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.sidebar-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    transition: all 0.2s ease;
}

.sidebar-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(56, 189, 248, 0.3);
}

.sidebar-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sidebar-feature-icon.teal { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }
.sidebar-feature-icon.cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.sidebar-feature-icon.purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.sidebar-feature-icon.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.sidebar-feature-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 2px;
}

.sidebar-feature-body p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

/* Sidebar Bridge Banner */
.sidebar-bridge-banner {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-bridge-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-bridge-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 36, 0.1) 0%, rgba(7, 18, 36, 0.7) 100%);
}

/* Sidebar Vertical Stepper (Steps 2, 3, 4) */
.sidebar-vertical-stepper {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    position: relative;
}

.sidebar-step-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.25s ease;
}

.sidebar-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 42px;
    bottom: -16px;
    width: 2px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.sidebar-step-item.is-completed:not(:last-child)::after {
    background: #16a34a;
}

.sidebar-step-item.is-active {
    background: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.sidebar-step-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    flex-shrink: 0;
}

.sidebar-step-item.is-completed .sidebar-step-badge {
    background: #16a34a;
    color: #ffffff;
}

.sidebar-step-item.is-active .sidebar-step-badge {
    background: #ffffff;
    color: #2563eb;
}

.sidebar-step-item.is-pending .sidebar-step-badge {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #94a3b8;
}

.sidebar-step-text {
    display: flex;
    flex-direction: column;
}

.sidebar-step-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.sidebar-step-status {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 2px;
}

.sidebar-step-item.is-active .sidebar-step-status {
    color: rgba(255, 255, 255, 0.85);
}

/* Sidebar Promo / Security Boxes */
.sidebar-security-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar-security-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.15);
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.sidebar-security-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.sidebar-security-desc {
    font-size: 0.78rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.45;
}

/* Sidebar Footer (Need Help) */
.sidebar-footer-help {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-help-heading {
    font-size: 0.85rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.sidebar-help-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.sidebar-help-item i {
    color: #38bdf8;
    font-size: 0.85rem;
}

/* Main Workspace Area */
.investor-workspace {
    flex: 1;
    padding: 2.25rem 2.75rem;
    background-color: #ffffff;
    overflow-y: auto;
    max-width: 1400px;
}

/* Workspace Top Navigation Bar */
.workspace-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    min-height: 38px;
}

.back-step-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s;
    text-decoration: none;
}

.back-step-btn:hover {
    color: var(--inv-primary);
}

.secure-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.login-redirect-link {
    font-size: 0.88rem;
    color: #64748b;
}

.login-redirect-link a {
    color: var(--inv-primary);
    font-weight: 700;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.85rem;
    border-radius: 8px;
    margin-left: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-redirect-link a:hover {
    background-color: var(--inv-primary-light);
    border-color: var(--inv-primary-border);
}

/* Step Header with Icon Badge */
.step-main-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2rem;
}

.step-header-icon-box {
    width: 52px;
    height: 52px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--inv-primary);
    flex-shrink: 0;
}

.step-header-icon-box i {
    font-size: 1.55rem;
    line-height: 1;
    color: #2563eb;
    display: inline-flex;
}

.step-header-title-text h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.step-header-title-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Horizontal Top Stepper */
.horizontal-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.25rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.h-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #94a3b8;
    position: relative;
    flex-shrink: 0;
}

.h-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
}

.h-step-item.is-completed {
    color: #1e293b;
}

.h-step-item.is-completed .h-step-badge {
    background: #16a34a;
    color: #ffffff;
}

.h-step-item.is-active {
    color: var(--inv-primary);
    font-weight: 700;
}

.h-step-item.is-active .h-step-badge {
    background: var(--inv-primary);
    color: #ffffff;
}

.h-step-divider {
    flex: 1;
    height: 1px;
    background: #e2e8f0;
    margin: 0 16px;
    min-width: 20px;
}

/* Two-Column Form & Guide Layout */
.form-workspace-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.25rem;
    align-items: start;
}

/* Form Sections */
.form-section-card {
    margin-bottom: 2rem;
}

.section-headline {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-headline-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 400;
    margin-top: -0.75rem;
    margin-bottom: 1.25rem;
}

/* Input Fields & Groups */
.inv-form-group {
    margin-bottom: 1.1rem;
}

.inv-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.inv-label .req {
    color: #ef4444;
    margin-left: 2px;
}

.inv-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.inv-input-wrap .input-icon-left {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.inv-control {
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 0.9rem;
    transition: all 0.2s ease;
    outline: none;
}

.inv-input-wrap .inv-control.has-left-icon {
    padding-left: 2.45rem;
}

.inv-control:focus {
    border-color: var(--inv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.inv-control::placeholder {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Phone input group with prefix */
.inv-phone-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s;
}

.inv-phone-group:focus-within {
    border-color: var(--inv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.inv-phone-prefix {
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

.inv-phone-input {
    border: none;
    box-shadow: none !important;
    padding: 0.65rem 0.85rem;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

/* Currency input group */
.inv-currency-group {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s;
}

.inv-currency-group:focus-within {
    border-color: var(--inv-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.inv-currency-prefix {
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.inv-currency-input {
    border: none;
    box-shadow: none !important;
    padding: 0.65rem 0.85rem;
    flex: 1;
    outline: none;
    font-size: 0.9rem;
}

/* Multi-select or Checkbox chips */
.sector-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.sector-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.sector-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sector-chip span {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
    transition: all 0.2s ease;
}

.sector-chip input:checked + span {
    background: #eff6ff;
    border-color: var(--inv-primary);
    color: var(--inv-primary);
    font-weight: 600;
}

/* Step 1 Quick Upload Containers */
.quick-upload-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 8px;
    align-items: start;
}

.quick-upload-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.quick-upload-tile {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    padding: 1rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 125px;
}

.quick-upload-tile:hover {
    border-color: var(--inv-primary);
    background: #f0f7ff;
}

.quick-upload-tile.is-uploaded {
    border-color: #16a34a;
    background: #f0fdf4;
}

.quick-upload-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.quick-upload-icon {
    font-size: 1.4rem;
    color: var(--inv-primary);
    margin-bottom: 6px;
}

.quick-upload-tile.is-uploaded .quick-upload-icon {
    color: #16a34a;
}

.quick-upload-meta {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.3;
}

/* Step 3 Proof Radio Selection Cards */
.proof-radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 1.25rem;
}

.proof-radio-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proof-radio-card:hover {
    border-color: #93c5fd;
    background: #f8fafc;
}

.proof-radio-card.is-selected {
    border-color: var(--inv-primary);
    background: #eff6ff;
    box-shadow: 0 0 0 1px var(--inv-primary);
}

.proof-card-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.proof-card-info i {
    font-size: 1.1rem;
    color: var(--inv-primary);
}

.proof-custom-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.proof-radio-card.is-selected .proof-custom-radio {
    border-color: var(--inv-primary);
    background: var(--inv-primary);
    box-shadow: inset 0 0 0 3px #ffffff;
}

/* Drag & Drop Upload Container */
.dropzone-box {
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    background: #f8fafc;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.dropzone-box:hover {
    border-color: var(--inv-primary);
    background: #eff6ff;
}

.dropzone-box.is-uploaded {
    border-color: #16a34a;
    border-style: solid;
    background: #f0fdf4;
}

.dropzone-icon {
    font-size: 1.75rem;
    color: var(--inv-primary);
    margin-bottom: 6px;
}

.dropzone-box.is-uploaded .dropzone-icon {
    color: #16a34a;
}

.dropzone-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.dropzone-desc {
    font-size: 0.75rem;
    color: #64748b;
}

/* Document Date Input Grid */
.kyc-address-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 16px;
    align-items: start;
}

/* Step 3 Document Preview Card (Right Column) */
.id-card-preview-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.25rem;
}

.id-card-preview-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.id-card-replica {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1rem;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.id-replica-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #ea580c;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.id-replica-emblem {
    font-size: 0.75rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.id-replica-logo {
    color: #ef4444;
    font-size: 1.2rem;
}

.id-replica-body {
    display: flex;
    gap: 12px;
    align-items: center;
}

.id-replica-avatar {
    width: 48px;
    height: 56px;
    background: #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.5rem;
    flex-shrink: 0;
    overflow: hidden;
}

.id-replica-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-replica-details {
    font-size: 0.72rem;
    color: #334155;
    line-height: 1.4;
}

.id-replica-details strong {
    color: #0f172a;
}

.id-replica-number {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #0f172a;
    text-align: center;
    margin-top: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 4px;
}

.id-replica-tagline {
    font-size: 0.68rem;
    color: #dc2626;
    text-align: center;
    font-weight: 600;
}

.id-replica-footer-label {
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 6px;
}

/* Step 3 Secure & Private Green Banner */
.secure-bottom-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    color: #166534;
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

.secure-bottom-banner i {
    font-size: 1.2rem;
    color: #16a34a;
}

/* Step 4 Review Screen Styles */
.review-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.review-top-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.review-edit-all-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--inv-primary);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.review-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 1.5rem;
}

.review-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.review-info-card.full-width {
    grid-column: 1 / -1;
}

.review-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.65rem;
    margin-bottom: 0.85rem;
}

.review-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.review-card-title i {
    color: var(--inv-primary);
    font-size: 1rem;
}

.review-card-edit {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--inv-primary);
    text-decoration: none;
    cursor: pointer;
}

.review-card-edit:hover {
    text-decoration: underline;
}

.review-data-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-data-row {
    display: flex;
    align-items: flex-start;
    font-size: 0.82rem;
    line-height: 1.4;
}

.review-data-label {
    width: 140px;
    color: #64748b;
    flex-shrink: 0;
}

.review-data-sep {
    margin-right: 8px;
    color: #94a3b8;
}

.review-data-val {
    color: #1e293b;
    font-weight: 500;
    word-break: break-word;
}

.verified-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 4px;
}

/* Right Column Guidelines / Help Cards */
.guide-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.guide-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.guide-card-header.success { color: #16a34a; }
.guide-card-header.primary { color: var(--inv-primary); }
.guide-card-header.warning { color: #d97706; }
.guide-card-header.purple { color: #7c3aed; }

.guide-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guide-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.4;
}

.guide-checklist li i {
    color: #16a34a;
    font-size: 0.9rem;
    margin-top: 1px;
    flex-shrink: 0;
}

.guide-checklist li strong {
    display: block;
    color: #0f172a;
    font-size: 0.85rem;
}

.guide-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    padding-left: 0.5rem;
}

.guide-timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.82rem;
}

.guide-timeline-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--inv-primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.guide-timeline-content strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.guide-timeline-content p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 0.78rem;
}

.guide-note-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.45;
}

.guide-note-card strong {
    display: block;
    color: #78350f;
    margin-bottom: 4px;
    font-size: 0.85rem;
}

/* Bottom Action Bar */
.form-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-inv-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.65rem 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-inv-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.btn-inv-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--inv-primary);
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

.btn-inv-primary:hover {
    background: var(--inv-primary-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.btn-inv-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

/* Success Confirmation Screen (Step 5) */
.success-screen-box {
    text-align: center;
    max-width: 580px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.success-check-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
}

.success-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.success-ref-card {
    background: #eff6ff;
    border: 1px dashed var(--inv-primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: inline-block;
    margin-bottom: 1.75rem;
}

.success-ref-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.success-ref-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--inv-primary);
    margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .form-workspace-grid {
        grid-template-columns: 1fr;
    }
    .investor-split-layout {
        flex-direction: column;
    }
    .investor-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.5rem;
    }
    .investor-workspace {
        padding: 1.5rem;
    }
}
