/* OVZA Order Tracker Styles - Updated to match React Dashboard */
:root {
    --ovza-primary: #10B981;
    --ovza-primary-dark: #059669;
    --ovza-primary-light: #ecfdf5;
    --ovza-text: #0F172A;
    --ovza-text-light: #64748B;
    --ovza-text-muted: #94a3b8;
    --ovza-border: #e2e8f0;
    --ovza-bg: #F9FAFB;
    --ovza-white: #fff;
    --ovza-success: #10b981;
    --ovza-error: #ef4444;
    --ovza-warning: #f59e0b;
}

.ovza-tracker-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ovza-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   DASHBOARD BLUR EFFECT (before login)
   ============================================ */
.ovza-dashboard.ovza-blurred {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.4s ease;
}

.ovza-dashboard.ovza-blurred * {
    pointer-events: none;
}

/* Remove blur when logged in */
.ovza-dashboard:not(.ovza-blurred) {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

/* ============================================
   MODAL STYLES
   ============================================ */
.ovza-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: ovzaFadeIn 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-y: auto; /* Allow scrolling */
}

@keyframes ovzaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ovzaSlideUp {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ovza-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(2px);
}

.ovza-modal-content {
    position: relative;
    background: #fff;
    background: var(--ovza-white, #fff);
    border-radius: 32px;
    padding: 48px;
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 40px); /* Prevent overflow */
    overflow-y: auto; /* Allow internal scrolling */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    border-color: var(--ovza-border, #e2e8f0);
    animation: ovzaSlideUp 0.5s ease;
    color: #0F172A;
    color: var(--ovza-text, #0F172A);
    margin: auto; /* Center vertically when scrolling */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .ovza-modal {
        padding: 10px;
        align-items: flex-start; /* Start from top on mobile */
    }
    
    .ovza-modal-content {
        padding: 32px 24px;
        max-height: calc(100vh - 20px);
        border-radius: 24px;
    }
}

.ovza-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #94a3b8;
    color: #94a3b8;
    color: var(--ovza-text-muted, #94a3b8);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    width: 36px;
    height: 36px;
}

.ovza-modal-close:hover {
    color: #64748B;
    color: var(--ovza-text-light, #64748B);
    background: #F9FAFB;
    background: var(--ovza-bg, #F9FAFB);
}

.ovza-modal-logo {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    max-width: 85px;
}

.ovza-modal-logo-img {
    height: 32px !important;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.ovza-modal-icon {
    width: 80px;
    height: 80px;
    background: #ecfdf5;
    background: var(--ovza-primary-light, #ecfdf5);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.ovza-form-section {
    padding-top: 20px;
}

.ovza-form-section h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #0F172A;
    color: var(--ovza-text, #0F172A);
}

.ovza-form-section > p {
    text-align: center;
    color: #94a3b8;
    color: var(--ovza-text-muted, #94a3b8);
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 32px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}

.ovza-form-group {
    margin-bottom: 20px;
}

.ovza-form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ovza-text-muted);
    margin-bottom: 6px;
    margin-left: 4px;
}

.ovza-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--ovza-border);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    background: var(--ovza-bg);
    transition: all 0.2s;
    box-sizing: border-box;
    color: var(--ovza-text);
}

.ovza-form-group input::placeholder {
    color: #cbd5e1;
}

.ovza-form-group input:focus {
    outline: none;
    border-color: var(--ovza-primary);
    background: var(--ovza-white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.05);
}

.ovza-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: var(--ovza-primary);
    color: var(--ovza-white);
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Track trigger button specific overrides */
button.ovza-track-trigger.ovza-btn-primary {
    width: auto;
    padding: 8px 8px 8px 10px;
    font-size: 13px;
    font-weight: 600;
    background: white;
    color: #10b981;
    border: 2px solid #10b981;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
    gap: 6px;
}

button.ovza-track-trigger.ovza-btn-primary:hover {
    background: #f0fdf4;
    border-color: #059669;
    color: #059669;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

button.ovza-track-trigger.ovza-btn-primary:active {
    transform: scale(0.98);
    background: #ecfdf5;
}

.ovza-btn-primary:hover:not(.ovza-track-trigger) {
    background: var(--ovza-primary-dark);
}

.ovza-btn-primary:active:not(.ovza-track-trigger) {
    transform: scale(0.98);
}

.ovza-btn-primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.ovza-link-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--ovza-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-top: 32px;
    padding: 10px;
    transition: color 0.2s;
}

.ovza-link-btn:hover {
    color: var(--ovza-primary);
}

.ovza-error-message {
    background: #fef2f2;
    color: var(--ovza-error);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin: 16px 0;
    display: none;
}

.ovza-error-message.show { display: block; }

.ovza-attempts-warning {
    background: #fef3c7 !important;
    color: #d97706 !important;
    padding: 10px 16px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    margin: 12px 0 !important;
    text-align: center !important;
    border: 1px solid #fbbf24 !important;
    display: none !important;
}

.ovza-attempts-warning.show { 
    display: block !important; 
    animation: ovzaSlideUp 0.3s ease !important;
}

.ovza-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin: 16px 0;
    display: none;
}

.ovza-message.success {
    display: block;
    background: var(--ovza-primary-light);
    color: var(--ovza-primary-dark);
}

.ovza-message.error {
    display: block;
    background: #fef2f2;
    color: var(--ovza-error);
}

/* ============================================
   CAPTCHA CHALLENGE STYLES
   ============================================ */
#ovza-captcha-challenge {
    background: var(--ovza-primary-light);
    border: 2px solid var(--ovza-primary);
    border-radius: 12px;
    padding: 16px;
    margin-top: 8px;
}

#ovza-captcha-challenge label {
    color: var(--ovza-primary-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ovza-captcha-question {
    background: var(--ovza-white);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ovza-text);
    text-align: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

#ovza-captcha-answer {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--ovza-primary);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    background: var(--ovza-white);
    transition: all 0.2s;
    box-sizing: border-box;
    color: var(--ovza-text);
}

#ovza-captcha-answer:focus {
    outline: none;
    border-color: var(--ovza-primary-dark);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

#ovza-captcha-answer::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */
.ovza-dashboard {
    min-height: 100vh;
    background: var(--ovza-bg);
    padding-bottom: 60px;
    position: relative;
    overflow-x: hidden;
    animation: ovzaFadeIn 0.7s ease;
}

.ovza-bg-decor {
    position: fixed;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 50%;
    filter: blur(120px);
    transform: translate(50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.ovza-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    position: relative;
    z-index: 1;
}

.ovza-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 24px;
}

.ovza-dashboard-header h1 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    color: var(--ovza-text);
}

.ovza-tracking-id {
    color: var(--ovza-text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ovza-tracking-id span {
    background: var(--ovza-white);
    border: 1px solid var(--ovza-border);
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'SF Mono', Monaco, monospace;
    font-weight: 600;
    color: var(--ovza-text-light);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* Tabs */
.ovza-tabs {
    display: flex;
    background: #e2e8f0;
    padding: 4px;
    border-radius: 16px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.ovza-tab {
    position: relative;
    padding: 10px 24px;
    background: none;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ovza-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.ovza-tab.active {
    background: var(--ovza-primary);
    color: var(--ovza-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.ovza-tab:not(.active):hover {
    color: var(--ovza-text);
}

.ovza-tab-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    background: #f43f5e;
    color: var(--ovza-white);
    font-size: 8px;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 10px;
    animation: ovzaPulse 2s infinite;
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.3);
}

/* OVZA Club disabled state - "SOON" badge */
.ovza-tab-badge.ovza-badge-soon {
    background: #94a3b8;
    animation: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Disabled tab styling */
.ovza-tab.ovza-tab-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ovza-tab.ovza-tab-disabled:hover {
    color: var(--ovza-text-light);
}

.ovza-tab.active .ovza-tab-badge {
    display: none;
}

@keyframes ovzaPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.ovza-tab-content {
    display: none;
    animation: ovzaSlideUp 0.5s ease;
}

.ovza-tab-content.active {
    display: block;
}

/* Status Tab Grid */
.ovza-status-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.ovza-status-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ovza-status-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

/* Cards */
.ovza-card {
    background: var(--ovza-white);
    border-radius: 28px;
    border: 1px solid var(--ovza-border);
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Prevent overflow */
}

.ovza-card h3 {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin: 0 0 4px !important;
    color: var(--ovza-text) !important;
    display: block !important;
}

.ovza-subtitle {
    color: var(--ovza-text-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    margin: 0 0 32px !important;
    display: block !important;
}

.ovza-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 24px !important;
    flex-direction: row !important;
}

.ovza-doc-header-content {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 12px !important;
}

.ovza-doc-header-icon {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    max-width: 32px !important;
    max-height: 32px !important;
}

.ovza-card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Progress Badge */
.ovza-progress-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ovza-primary-light);
    color: var(--ovza-primary);
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.ovza-pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--ovza-primary);
    border-radius: 50%;
    animation: ovzaPulse 2s infinite;
}


/* ============================================
   TIMELINE
   ============================================ */
.ovza-timeline {
    position: relative;
    padding-left: 48px;
}

.ovza-timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.ovza-timeline-item:last-child {
    padding-bottom: 0;
}

/* Timeline line */
.ovza-timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 40px;
    bottom: -8px;
    width: 2px;
    background: var(--ovza-border);
}

.ovza-timeline-item.completed:not(:last-child)::before {
    background: var(--ovza-primary);
}

.ovza-timeline-icon {
    position: absolute;
    left: -48px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    transition: transform 0.3s;
}

.ovza-timeline-item:hover .ovza-timeline-icon {
    transform: scale(1.1);
}

.ovza-timeline-icon.completed {
    background: var(--ovza-primary);
    color: var(--ovza-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.ovza-timeline-icon.completed svg {
    width: 16px;
    height: 16px;
}

.ovza-timeline-icon.current {
    background: var(--ovza-primary-light);
    border: 2px solid var(--ovza-primary);
    color: var(--ovza-primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15), 0 4px 12px rgba(16, 185, 129, 0.2);
    font-weight: 800;
}

.ovza-timeline-icon.current::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 50%;
    animation: ovzaPing 1.5s infinite;
}

@keyframes ovzaPing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.ovza-timeline-icon.pending {
    background: var(--ovza-white);
    border: 2px solid var(--ovza-border);
    color: #cbd5e1;
}

.ovza-timeline-content {
    padding-top: 4px;
}

.ovza-timeline-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--ovza-text);
}

.ovza-timeline-title.current {
    color: var(--ovza-primary);
    font-weight: 800;
}

.ovza-timeline-title.pending {
    color: var(--ovza-text-muted);
}

.ovza-timeline-desc {
    font-size: 14px;
    color: var(--ovza-text-light);
    max-width: 500px;
    line-height: 1.5;
}

.ovza-timeline-desc.pending {
    color: #cbd5e1;
}

.ovza-timeline-action {
    margin-top: 12px;
    display: inline-block;
    color: var(--ovza-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding-bottom: 2px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.ovza-timeline-action:hover {
    border-color: var(--ovza-primary);
}

/* ============================================
   DOCUMENTS
   ============================================ */
.ovza-documents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .ovza-documents-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.ovza-documents-card {
    /* Card already has base styles from .ovza-card */
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Prevent grid blowout */
}

/* Force horizontal layout for document card headers */
.ovza-documents-card .ovza-card-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.ovza-documents-card .ovza-doc-header-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.ovza-doc-header-text {
    display: block !important;
    text-align: left !important;
}

.ovza-doc-title {
    margin: 0 0 4px !important;
    display: block !important;
    text-align: left !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.ovza-doc-subtitle {
    margin: 0 !important;
    display: block !important;
    text-align: left !important;
    font-size: 13px !important;
    color: var(--ovza-text-light) !important;
}

.ovza-documents {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.ovza-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--ovza-bg);
    border-radius: 16px;
    border: 1px solid var(--ovza-border);
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; /* Prevent overflow */
}

.ovza-doc-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ovza-doc-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.ovza-doc-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.ovza-doc-icon.available {
    background: var(--ovza-primary-light);
    color: var(--ovza-primary);
}

.ovza-doc-icon.pending {
    background: var(--ovza-bg);
    color: #cbd5e1;
}

.ovza-doc-info-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ovza-doc-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--ovza-text);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ovza-doc-shareholder {
    font-weight: 700;
    font-size: 15px;
    color: var(--ovza-text);
    display: block;
}

.ovza-doc-type {
    font-weight: 500;
    font-size: 12px;
    color: var(--ovza-text-muted);
    display: block;
}

.ovza-notary-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    vertical-align: middle;
}

.ovza-doc-meta {
    font-size: 11px;
    font-weight: 500;
    color: var(--ovza-text-muted);
    margin-top: 2px;
}

.ovza-doc-download {
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--ovza-text-muted);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ovza-doc-download:hover {
    color: var(--ovza-primary);
    background: var(--ovza-primary-light);
}

.ovza-doc-pending-badge {
    font-size: 10px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    background: var(--ovza-bg);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--ovza-border);
}

.ovza-btn-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--ovza-primary-light);
    color: var(--ovza-primary);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.ovza-btn-download:hover {
    background: rgba(16, 185, 129, 0.15);
}

.ovza-empty {
    color: var(--ovza-text-muted);
    text-align: center;
    padding: 40px 20px;
    grid-column: 1 / -1;
}

/* ============================================
   ORDER DETAILS SIDEBAR
   ============================================ */
.ovza-order-details h3 {
    margin-bottom: 32px;
}

.ovza-detail-item {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ovza-bg);
}

.ovza-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ovza-detail-item label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ovza-text-muted);
    margin-bottom: 4px;
}

.ovza-detail-item p {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
    color: var(--ovza-text);
}

/* Progress Bar */
.ovza-progress-bar {
    height: 8px;
    background: var(--ovza-border);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.ovza-progress-fill {
    height: 100%;
    background: var(--ovza-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Status Indicator */
.ovza-status-indicator {
    text-align: center;
    padding: 24px !important;
}

.ovza-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 16px;
}

.ovza-status-badge.on-track {
    background: var(--ovza-primary-light);
    color: var(--ovza-primary-dark);
}

.ovza-status-badge.at-risk {
    background: #fef3c7;
    color: #d97706;
}

.ovza-status-badge.late {
    background: #fef2f2;
    color: #dc2626;
}

.ovza-status-badge.completed {
    background: #dbeafe;
    color: #2563eb;
}

.ovza-days-remaining {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ovza-days-remaining .days-number {
    font-size: 40px;
    font-weight: 800;
    color: var(--ovza-primary);
    line-height: 1;
}

.ovza-days-remaining .days-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ovza-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ovza-days-remaining.overdue .days-number {
    color: #dc2626;
}

.ovza-days-remaining.due-soon .days-number {
    color: #d97706;
}

/* Help Card */
.ovza-help-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px !important;
    background: var(--ovza-primary-light) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    cursor: pointer;
    transition: all 0.2s;
}

.ovza-help-card:hover {
    background: rgba(16, 185, 129, 0.15) !important;
}

.ovza-help-icon {
    width: 40px;
    height: 40px;
    background: var(--ovza-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ovza-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    flex-shrink: 0;
}

.ovza-help-content {
    flex: 1;
}

.ovza-help-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--ovza-text);
    margin: 0;
}

.ovza-help-subtitle {
    font-size: 10px;
    font-weight: 700;
    color: var(--ovza-primary);
    text-transform: uppercase;
    margin: 0;
}

.ovza-help-card > svg {
    color: rgba(16, 185, 129, 0.5);
}

/* Track Another Button */
.ovza-btn-track-another {
    width: 100%;
    padding: 14px 20px;
    background: var(--ovza-white);
    color: var(--ovza-text-light);
    border: 1px solid var(--ovza-border);
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ovza-btn-track-another:hover {
    border-color: var(--ovza-primary);
    color: var(--ovza-primary);
}

/* Order Type Badge */
#ovza-order-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.order-type-company {
    background: #dbeafe;
    color: #2563eb;
}

.order-type-bank {
    background: #fef3c7;
    color: #d97706;
}

.order-type-notary {
    background: #f3e8ff;
    color: #9333ea;
}


/* ============================================
   OVZA CLUB TAB
   ============================================ */
.ovza-club-header {
    text-align: center;
    margin-bottom: 48px;
    padding-top: 16px;
}

.ovza-club-header h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ovza-text);
}

.ovza-club-header p {
    color: var(--ovza-text-light);
    font-size: 16px;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.ovza-perks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.ovza-perk-card {
    background: var(--ovza-white);
    border-radius: 32px;
    border: 1px solid var(--ovza-border);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.ovza-perk-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.ovza-perk-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.ovza-perk-icon {
    width: 56px;
    height: 56px;
    background: var(--ovza-primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--ovza-primary);
    transition: all 0.3s;
}

.ovza-perk-card:hover .ovza-perk-icon {
    background: var(--ovza-primary);
    color: var(--ovza-white);
}

.ovza-perk-badge {
    background: var(--ovza-primary);
    color: var(--ovza-white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.ovza-perk-category {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ovza-primary);
    margin-bottom: 4px;
}

.ovza-perk-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ovza-text);
}

.ovza-perk-company {
    font-size: 12px;
    font-weight: 600;
    color: var(--ovza-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 12px;
}

.ovza-perk-desc {
    font-size: 14px;
    color: var(--ovza-text-light);
    font-weight: 500;
    margin: 0 0 32px;
    line-height: 1.6;
}

.ovza-btn-claim {
    width: 100%;
    padding: 14px 20px;
    background: var(--ovza-primary);
    color: var(--ovza-white);
    border: none;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.ovza-btn-claim:hover {
    background: var(--ovza-primary-dark);
}

.ovza-btn-claim:active {
    transform: scale(0.98);
}

.ovza-btn-claim:disabled {
    background: #e2e8f0;
    color: var(--ovza-text-muted);
    cursor: default;
    box-shadow: none;
}

/* Claimed State */
.ovza-perk-card.claimed {
    opacity: 0.85;
}

.ovza-perk-card.claimed .ovza-btn-claim {
    background: var(--ovza-primary-light);
    color: var(--ovza-primary-dark);
}

.ovza-claimed-date {
    font-size: 11px;
    color: var(--ovza-text-muted);
    margin-top: 8px;
    text-align: center;
}

.ovza-perks-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--ovza-text-muted);
}

/* Refined OVZA Club Perks */
.ovza-perks-grid {
    gap: 28px;
}

.ovza-perk-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
}

.ovza-perk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.ovza-perk-brand {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 32px;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.ovza-perk-logo {
    display: block;
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ovza-perk-brand--fallback .ovza-perk-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-size: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ovza-perk-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ovza-perk-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ovza-perk-label--partner {
    color: var(--ovza-primary-dark);
    background: rgba(16, 185, 129, 0.12);
}

.ovza-perk-label--category {
    color: var(--ovza-text-light);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.ovza-perk-card .ovza-perk-title {
    font-size: 24px;
    line-height: 1.24;
    margin: 0;
    color: var(--ovza-text);
}

.ovza-perk-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: var(--ovza-text-light);
    flex: 1 1 auto;
}

.ovza-perk-offer {
    margin: 0;
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.24);
    background: rgba(16, 185, 129, 0.04);
    color: var(--ovza-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.ovza-perk-modal__linkbox {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.18);
}

.ovza-perk-modal__link-label {
    margin: 0 0 8px;
    color: var(--ovza-primary-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ovza-perk-modal__link-value {
    margin: 0;
    color: var(--ovza-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    word-break: break-all;
}

.ovza-btn-claim {
    min-height: 54px;
    border-radius: 14px;
    margin-top: auto;
}

.ovza-perk-card.claimed {
    opacity: 1;
    border-color: rgba(16, 185, 129, 0.24);
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.5) 0%, #fff 100%);
}

.ovza-perk-card.claimed .ovza-btn-claim {
    background: var(--ovza-primary-light);
    color: var(--ovza-primary-dark);
}

.ovza-claimed-date {
    margin-top: -6px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--ovza-text-muted);
}

.ovza-perk-modal {
    position: fixed;
    inset: 0;
    z-index: 10040;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.ovza-perk-modal.is-open {
    display: flex;
}

body.ovza-perk-modal-open {
    overflow: hidden;
}

.ovza-perk-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.46);
    backdrop-filter: blur(3px);
}

.ovza-perk-modal__content {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: 36px;
    border-radius: 30px;
    background: var(--ovza-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 32px 70px rgba(15, 23, 42, 0.22);
}

.ovza-perk-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--ovza-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ovza-perk-modal__close:hover {
    background: rgba(148, 163, 184, 0.18);
    color: var(--ovza-text);
}

.ovza-perk-modal__eyebrow {
    margin: 0 0 12px;
    color: var(--ovza-primary-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ovza-perk-modal__title {
    margin: 0;
    color: var(--ovza-text);
    font-size: 29px;
    line-height: 1.18;
    font-weight: 800;
}

.ovza-perk-modal__message {
    margin: 14px 0 0;
    color: var(--ovza-text-light);
    font-size: 15px;
    line-height: 1.7;
}

.ovza-perk-modal__instructions {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--ovza-bg);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.ovza-perk-modal__instructions p {
    margin: 0;
    color: var(--ovza-text);
    font-size: 14px;
    line-height: 1.7;
}

.ovza-perk-modal__instructions p + p {
    margin-top: 14px;
}

/* Copy buttons inside perk popup — minimal reset only.
   All visual styling (colors, borders, padding) lives inline on the
   button so admins can match each perk's coupon design from the
   "Popup Display HTML" field. */
.ovza-perk-modal__instructions [data-ovza-copy] {
    cursor: pointer;
    font: inherit;
}

.ovza-perk-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ovza-perk-modal__actions .ovza-btn-outline,
.ovza-perk-modal__actions .ovza-btn-primary {
    flex: 1 1 0;
    width: auto;
    min-height: 50px;
    justify-content: center;
    text-decoration: none;
}

/* Theme link styles can override the primary CTA color on hover/focus when
   it's rendered as <a>. Force white in all interactive states. */
a.ovza-perk-modal__primary,
a.ovza-perk-modal__primary:link,
a.ovza-perk-modal__primary:visited,
a.ovza-perk-modal__primary:hover,
a.ovza-perk-modal__primary:focus,
a.ovza-perk-modal__primary:active {
    color: #ffffff;
    text-decoration: none;
}

/* ============================================
   SUGGESTION BOX
   ============================================ */
.ovza-suggestion-box {
    background: var(--ovza-primary-light);
    border-radius: 32px;
    padding: 48px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.ovza-suggestion-left h4 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--ovza-text);
}

.ovza-suggestion-left > p {
    color: var(--ovza-text-light);
    font-weight: 500;
    margin: 0 0 24px;
}

.ovza-suggestion-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ovza-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ovza-primary);
}

.ovza-feature-check {
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.ovza-suggestion-right {
    background: var(--ovza-white);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.ovza-suggestion-right textarea {
    width: 100%;
    height: 120px;
    padding: 16px;
    border: 1px solid var(--ovza-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    resize: none;
    margin-bottom: 16px;
    font-family: inherit;
    background: var(--ovza-bg);
    color: var(--ovza-text);
    transition: all 0.2s;
    box-sizing: border-box;
}

.ovza-suggestion-right textarea::placeholder {
    color: #cbd5e1;
}

.ovza-suggestion-right textarea:focus {
    outline: none;
    border-color: var(--ovza-primary);
    background: var(--ovza-white);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.05);
}

#ovza-suggestion-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

#ovza-suggestion-message.success {
    background: var(--ovza-primary-light);
    color: var(--ovza-primary-dark);
}

#ovza-suggestion-message.error {
    background: #fef2f2;
    color: var(--ovza-error);
}

/* ============================================
   BANK APPLICATIONS
   ============================================ */
.ovza-bank-app-item {
    background: var(--ovza-bg);
    border: 1px solid var(--ovza-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
}

.ovza-bank-app-item:last-child {
    margin-bottom: 0;
}

.ovza-bank-app-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ovza-bank-app-num {
    font-weight: 700;
    color: var(--ovza-primary);
    font-size: 14px;
}

.ovza-bank-app-bank {
    flex: 1;
    font-weight: 700;
    font-size: 15px;
    color: var(--ovza-text);
}

.ovza-bank-app-status {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.ovza-bank-app-date {
    font-size: 12px;
    color: var(--ovza-text-muted);
    margin-top: 8px;
}

.ovza-bank-summary {
    background: #dbeafe;
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.ovza-bank-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    color: var(--ovza-text);
}

.ovza-bank-summary-row:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ovza-perks-grid {
        gap: 20px;
    }

    .ovza-suggestion-box {
        grid-template-columns: 1fr;
    }

    .ovza-perk-card {
        padding: 24px;
    }

    .ovza-perk-brand {
        padding: 20px 24px;
    }
}

@media (max-width: 768px) {
    .ovza-perks-grid {
        grid-template-columns: 1fr;
    }

    .ovza-perk-card {
        padding: 22px;
        gap: 16px;
        border-radius: 24px;
    }

    .ovza-perk-brand {
        padding: 18px 20px;
    }

    .ovza-perk-card .ovza-perk-title {
        font-size: 21px;
    }

    .ovza-perk-desc {
        font-size: 14px;
    }

    .ovza-perk-modal {
        padding: 16px;
        align-items: center;
    }

    .ovza-perk-modal__content {
        width: 100%;
        padding: 28px 22px 22px;
        border-radius: 24px;
    }

    .ovza-perk-modal__title {
        font-size: 24px;
    }

    .ovza-perk-modal__actions {
        flex-direction: column-reverse;
    }

    .ovza-status-grid {
        grid-template-columns: 1fr;
    }
    
    .ovza-status-sidebar {
        position: static;
    }
    
    .ovza-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .ovza-main {
        padding: 24px 16px;
    }
    
    .ovza-card {
        padding: 24px;
        border-radius: 20px;
    }
    
    .ovza-modal-content {
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .ovza-documents {
        grid-template-columns: 1fr;
    }
    
    /* Documents header mobile layout */
    .ovza-documents-card .ovza-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px;
    }
    
    .ovza-documents-card .ovza-btn-download {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .ovza-suggestion-box {
        padding: 32px 24px;
    }
    
    .ovza-timeline {
        padding-left: 40px;
    }
    
    .ovza-timeline-icon {
        left: -40px;
        width: 32px;
        height: 32px;
    }
    
    .ovza-timeline-item:not(:last-child)::before {
        left: -24px;
    }
}

/* ============================================
   BUTTON SHORTCODE STYLES
   ============================================ */
.ovza-track-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ovza-track-trigger.ovza-btn-primary {
    padding: 14px 17px;
    font-size: 14px;
    font-weight: 400;
}

.ovza-btn-secondary {
    padding: 14px 17px;
    background: var(--ovza-white);
    color: var(--ovza-primary);
    border: 2px solid var(--ovza-primary);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.ovza-btn-secondary:hover {
    background: var(--ovza-primary-light);
}

.ovza-btn-outline {
    padding: 14px 17px;
    background: transparent;
    color: var(--ovza-text-light);
    border: 1px solid var(--ovza-border);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s;
}

.ovza-btn-outline:hover {
    background: var(--ovza-primary);
    color: var(--ovza-white);
    border-color: var(--ovza-primary);
}
/* ============================================
   LANDING PAGE STYLES
   ============================================ */

.ovza-landing {
    min-height: 100vh;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 0;
}

.ovza-landing-hero {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.ovza-landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.ovza-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.ovza-logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.ovza-logo-text-large {
    font-size: 32px;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
}

.ovza-landing h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.1;
}

.ovza-hero-subtitle {
    font-size: 20px;
    margin: 0 0 40px;
    opacity: 0.9;
    line-height: 1.5;
}

.ovza-hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.ovza-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ovza-feature-icon {
    font-size: 20px;
}

.ovza-btn-hero {
    background: white;
    color: #10b981;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ovza-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.ovza-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.ovza-info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: transform 0.3s ease;
}

.ovza-info-card:hover {
    transform: translateY(-4px);
}

.ovza-info-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.ovza-info-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1f2937;
}

.ovza-info-card p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.ovza-preview-section {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.ovza-preview-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 50px;
    color: #1f2937;
}

.ovza-preview-dashboard {
    max-width: 900px;
    margin: 0 auto;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.ovza-preview-header {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.ovza-preview-tabs {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.ovza-preview-tab {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    color: #6b7280;
}

.ovza-preview-tab.active {
    background: #10b981;
    color: white;
}

.ovza-preview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 30px;
    text-align: left;
}

.ovza-preview-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ovza-preview-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    transition: all 0.3s ease;
}

.ovza-preview-step.completed {
    border-color: #10b981;
    background: #f0fdf4;
}

.ovza-preview-step.active {
    border-color: #f59e0b;
    background: #fffbeb;
}

.ovza-step-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.ovza-preview-step.completed .ovza-step-icon {
    background: #10b981;
    color: white;
}

.ovza-preview-step.active .ovza-step-icon {
    background: #f59e0b;
    color: white;
}

.ovza-preview-step .ovza-step-icon {
    background: #e2e8f0;
    color: #64748b;
}

.ovza-step-content h4 {
    margin: 0 0 5px;
    font-weight: 600;
    color: #1f2937;
}

.ovza-step-content p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.ovza-preview-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ovza-preview-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.ovza-preview-card h4 {
    margin: 0 0 15px;
    font-weight: 600;
    color: #1f2937;
}

.ovza-preview-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ovza-preview-detail:last-child {
    border-bottom: none;
}

.ovza-preview-detail span:first-child {
    color: #6b7280;
    font-size: 14px;
}

.ovza-preview-detail span:last-child {
    font-weight: 500;
    color: #1f2937;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ovza-landing h1 {
        font-size: 36px;
    }
    
    .ovza-hero-subtitle {
        font-size: 18px;
    }
    
    .ovza-hero-features {
        gap: 15px;
    }
    
    .ovza-feature {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .ovza-preview-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .ovza-info-cards {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

/* Hide landing when dashboard is shown */
.ovza-tracker-container.dashboard-active .ovza-landing {
    display: none;
}

.ovza-tracker-container.dashboard-active .ovza-dashboard {
    display: block !important;
}

/*
 ============================================
   BANK APPLICATIONS INLINE (Timeline)
   ============================================ */
.ovza-bank-apps-inline {
    background: #fef3c7;
    border-radius: 16px;
    margin: 16px 0;
    padding: 4px 0;
}

.ovza-bank-apps-inline .ovza-timeline-icon.bank-apps {
    background: #f59e0b;
    color: white;
    font-size: 16px;
}

.ovza-bank-apps-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.ovza-bank-app-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    transition: all 0.2s;
}

.ovza-bank-app-inline:hover {
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.ovza-bank-app-inline[data-status="approved"] {
    border-color: #10b981;
    background: #f0fdf4;
}

.ovza-bank-app-inline[data-status="rejected"] {
    border-color: #ef4444;
    background: #fef2f2;
}

.ovza-bank-app-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.ovza-bank-app-name {
    font-weight: 600;
    color: #1f2937;
    flex: 1;
}

.ovza-bank-app-progress {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.ovza-bank-app-status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ovza-bank-apps-summary {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 13px;
    font-weight: 600;
}

.ovza-bank-apps-summary .approved {
    color: #10b981;
}

.ovza-bank-apps-summary .pending {
    color: #f59e0b;
}

.ovza-bank-apps-summary .rejected {
    color: #ef4444;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ovza-bank-app-inline {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .ovza-bank-app-name {
        flex: 1 1 100%;
        order: 1;
    }
    
    .ovza-bank-app-icon {
        order: 0;
    }
    
    .ovza-bank-app-progress {
        order: 2;
    }
    
    .ovza-bank-app-status-badge {
        order: 3;
        margin-left: auto;
    }
    
    .ovza-bank-apps-summary {
        flex-wrap: wrap;
        gap: 10px;
    }
}


/* ============================================
   TIMELINE SUB-STEPS (Bank Applications)
   ============================================ */
.ovza-timeline-substeps {
    margin-left: 0;
    padding-left: 20px;
    margin-top: -32px;
    margin-bottom: 32px;
    position: relative;
}

.ovza-timeline-substeps::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 0;
    bottom: -48px;
    width: 2px;
    background: var(--ovza-border);
}

/* When the step before the substeps is completed, color the connector green */
.ovza-timeline-item.completed + .ovza-timeline-substeps::before {
    background: var(--ovza-primary);
}

.ovza-substep {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--ovza-bg);
    border-radius: 12px;
    border: 1px solid var(--ovza-border);
    position: relative;
    transition: all 0.2s;
}

.ovza-substep:last-child {
    margin-bottom: 0;
}

.ovza-substep:hover {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.02);
}

.ovza-substep.completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.ovza-substep.current {
    border-color: var(--ovza-primary);
    background: var(--ovza-primary-light);
}

.ovza-substep-connector {
    position: absolute;
    left: -50px;
    top: 50%;
    width: 50px;
    height: 2px;
    background: var(--ovza-border);
}

.ovza-substep.completed .ovza-substep-connector {
    background: var(--ovza-primary);
}

.ovza-substep-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

.ovza-substep-content {
    flex: 1;
    min-width: 0;
}

.ovza-substep-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--ovza-text);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Shareholder number circle - white background with green border to match main stages */
.ovza-substep-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ovza-white);
    color: var(--ovza-primary);
    border: 2px solid var(--ovza-primary);
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1;
}

.ovza-substep-progress {
    font-size: 12px;
    font-weight: 500;
    color: var(--ovza-text-muted);
    background: var(--ovza-white);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid var(--ovza-border);
}

.ovza-substep-status {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    text-transform: capitalize;
}

.ovza-substep-status.pending {
    color: var(--ovza-text-muted);
}

.ovza-substep-status.in-progress {
    color: #f57c00;
    background: #fff3e0;
    padding: 2px 8px;
    border-radius: 4px;
}

.ovza-substep.in-progress {
    border-color: rgba(245, 124, 0, 0.3);
    background: rgba(245, 124, 0, 0.05);
}

.ovza-substep.in-progress .ovza-substep-connector {
    background: #f57c00;
}

.ovza-substep-status.preparing,
.ovza-substep-status.submitted,
.ovza-substep-status.under_review {
    color: #f59e0b;
}

.ovza-substep-status.approved {
    color: var(--ovza-success);
}

.ovza-substep-status.rejected {
    color: var(--ovza-error);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ovza-timeline-substeps {
        padding-left: 12px;
        margin-left: -8px;
    }
    
    .ovza-timeline-substeps::before {
        left: -16px;
    }
    
    .ovza-substep-connector {
        left: -28px;
        width: 30px;
    }
    
    .ovza-substep {
        padding: 10px 12px;
    }
    
    .ovza-substep-title {
        font-size: 13px;
    }
}


/* ============================================
   SHAREHOLDER SUB-STEPS
   ============================================ */

/* Method badge styling */
.ovza-substep-method {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

/* Method-specific colors */
.ovza-substep-method.method-notary {
    background: #f3e8ff;
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.ovza-substep-method.method-upload {
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.ovza-substep-method.method-mail,
.ovza-substep-method.method-email,
.ovza-substep-method.method-later {
    background: #ffedd5;
    color: #ea580c;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

/* Shareholder sub-step dot colors */
.ovza-substep.shareholder .ovza-substep-dot {
    background: var(--ovza-text-muted);
}

.ovza-substep.shareholder.completed .ovza-substep-dot {
    background: var(--ovza-success);
}

.ovza-substep.shareholder.pending .ovza-substep-dot {
    background: var(--ovza-text-muted);
}

.ovza-substep.shareholder.current .ovza-substep-dot {
    background: var(--ovza-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Shareholder icon styling */
.ovza-substep.shareholder .ovza-substep-icon {
    font-size: 14px;
    margin-right: 4px;
}

/* Shareholder status text */
.ovza-substep.shareholder .ovza-substep-status.completed {
    color: var(--ovza-success);
}

.ovza-substep.shareholder .ovza-substep-status.pending {
    color: var(--ovza-text-muted);
}

/* Shareholder timestamp */
.ovza-substep-timestamp {
    font-size: 11px;
    color: var(--ovza-text-muted);
    margin-top: 2px;
}

/* Mobile responsive for shareholder sub-steps */
@media (max-width: 768px) {
    .ovza-substep-method {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .ovza-substep.shareholder .ovza-substep-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* === FIX: Ensure proper spacing for shareholder sub-steps === */
.ovza-substep-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.ovza-substep-title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ovza-substep-status {
    white-space: nowrap;
    text-align: left;
}

/* Ensure method badge doesn't collapse into name */
.ovza-substep-method {
    display: inline-block;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Trustpilot Review Collector inside the final timeline step
   — content on the left, review-us-on-Trustpilot box pinned to the right */
.ovza-timeline-item.ovza-has-review {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ovza-timeline-item.ovza-has-review .ovza-timeline-content {
    flex: 1 1 auto;
    min-width: 0;
}
.ovza-timeline-item.ovza-has-review > .trustpilot-widget {
    flex: 0 0 240px;
    max-width: 240px;
    width: 100%;
    margin-top: 10px;
}
@media (max-width: 480px) {
    /* Drop flex on mobile so the timeline-item behaves like every other item
       (icon and connecting ::before line stay correctly positioned). The widget
       just falls below the content as a block, naturally left-aligned. */
    .ovza-timeline-item.ovza-has-review {
        display: block;
    }
    .ovza-timeline-item.ovza-has-review > .trustpilot-widget {
        display: block;
        width: 240px;
        max-width: 100%;
        margin-top: 10px;
        margin-left: -12px;
        margin-right: 24px;
        padding-top: 24px;
    }
}
