/**
 * HoneyRuns Landing Page Styles
 * Extracted and organized for maintainability
 */

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 15px rgba(253, 184, 19, 0.4); }
    50% { box-shadow: 0 0 25px rgba(253, 184, 19, 0.6); }
}

@keyframes honeyPulse {
    0%, 100% {
        border-color: rgba(253, 184, 19, 0.6);
        box-shadow: 0 0 0 0 rgba(253, 184, 19, 0);
    }
    50% {
        border-color: rgba(253, 184, 19, 0.8);
        box-shadow: 0 0 8px 2px rgba(253, 184, 19, 0.2);
    }
}

/* Animation Delay Utilities */
.delay-1s { animation-delay: -1s; }
.delay-2s { animation-delay: -2s; }
.delay-3s { animation-delay: -3s; }
.delay-4s { animation-delay: -4s; }


/* ============================================================================
   BASE & TYPOGRAPHY
   ============================================================================ */

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scroll-padding-top: 40px; /* Account for fixed navbar height + extra spacing */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-weight: 900; }
h2, h3 { font-weight: 700; }
h4, h5 { font-weight: 600; }
h6 { font-weight: 500; }


/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.glass-effect {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.smooth-gradient {
    background: rgba(253, 184, 19, 0.08);
}

.star-rating {
    display: flex;
    margin-bottom: 1rem;
}

.star-rating svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #FDB813;
    fill: currentColor;
}


/* ============================================================================
   RUN CARD COMPONENTS
   ============================================================================ */

/* Run Card Text Styling - Match Next.js app exactly */
.run-card h4,
.run-card-mobile h4,
.run-card-running h4,
.run-card-completed h4,
[class*="run"] h4,
[id*="RunCard"] h4 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    color: #2c1810 !important; /* Primary text - warm brown-black */
}

/* Run Card Base Styles */
.run-card-running,
.run-card-completed {
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 60px;
    transition: all 0.15s ease;
    width: 100% !important;
}

.run-card-running:hover,
.run-card-completed:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Running Cards - Specific Styling */
.run-card-running {
    background: white !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
}

/* Completed Cards - Specific Styling */
.run-card-completed {
    background: rgba(34, 197, 94, 0.03) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    opacity: 0.8;
}

/* Run Card Text Colors */
.run-card h4 + div {
    color: #2c1810 !important; /* Same as titles */
}

.run-card h4 + div + div {
    color: #4a3426 !important; /* Secondary text - lighter brown */
}


/* ============================================================================
   RUN ICON COMPONENT
   ============================================================================ */

.runicon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.runicon-line {
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: #94A3B8;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s ease;
}

/* Action Required / Waiting for Approval - Top line shifted */
.runicon-action-required .runicon-line-top {
    transform: translateX(-40%);
    background: #F59E0B;
}

/* Running - Middle line shifted */
.runicon-running .runicon-line-middle {
    transform: translateX(-40%);
    background: #F59E0B;
}

/* Completed - Bottom line green */
.runicon-completed .runicon-line-bottom {
    background: #22C55E;
}

/* Priority Variants - Action Required */
.runicon-action-required.runicon-high .runicon-line-top {
    background: #F97316;
}

.runicon-action-required.runicon-medium .runicon-line-top {
    background: #FB923C;
}

.runicon-action-required.runicon-low .runicon-line-top {
    background: #FDBA74;
}

/* Priority Variants - Running */
.runicon-running.runicon-high .runicon-line-middle {
    background: #F97316;
}

.runicon-running.runicon-medium .runicon-line-middle {
    background: #FB923C;
}

.runicon-running.runicon-low .runicon-line-middle {
    background: #FDBA74;
}


/* ============================================================================
   MAP COMPONENTS
   ============================================================================ */

.regional-focus-map {
    width: 100%;
    height: 100%;
    position: relative;
}

.regional-focus-map svg {
    width: 100%;
    height: 100%;
}

/* Fix tooltip width and positioning to prevent squeezing */
.datamaps-hoverover {
    position: absolute !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    min-width: 200px !important;
}


/* ============================================================================
   RESPONSIVE - MOBILE STYLES
   ============================================================================ */

@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    #how-it-works {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }

    #how-it-works > * {
        max-width: 100% !important;
    }

    #how-it-works .flex.justify-center.mb-8.border-b {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hide the yellow custom arrow on mobile */
    #dynamicArrow {
        display: none !important;
    }

    /* Reduce gap between navbar and title on mobile */
    .relative.max-w-7xl.py-16 {
        padding-top: 1.5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Mobile-optimized CTA button */
    .cta-button-mobile {
        width: 100% !important;
        justify-content: center !important;
        padding: 1rem 1.5rem !important;
        min-height: 48px !important; /* Touch-friendly */
        border-radius: 12px !important;
    }

    #ctaButtonContainer {
        margin-bottom: 1rem !important;
        padding: 0 !important;
    }

    /* Reduce grid gap on mobile for tighter spacing */
    .grid.lg\:grid-cols-2.gap-16 {
        gap: 2rem !important;
    }

    /* Reduce bottom margin on title container */
    .text-center.lg\:text-left.mb-16 {
        margin-bottom: 1.5rem !important;
    }

    /* Fix runs dashboard height and width jumping when switching tabs */
    #runsDashboard {
        min-height: 400px;
        max-width: 100%;
        overflow-x: hidden;
    }

    #queueCards,
    #runningCards,
    #completedCards {
        min-height: 300px;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Ensure run cards and approve buttons fit properly */
    .run-card-mobile {
        width: 88% !important;
        min-width: 0 !important;
    }

    .approve-button-mobile {
        flex-shrink: 0;
        font-size: 0.75rem !important;
        padding: 4px 8px !important;
    }

    /* Make running and completed cards full width on mobile */
    #runningCards > div,
    #completedCards > div {
        width: 100% !important;
    }

    /* Ensure run context info doesn't overflow */
    .run-context {
        min-width: 80px !important;
    }

    /* Hide the scale section map on mobile */
    #testimonials .relative.w-full.h-80 {
        display: none !important;
    }

    /* How It Works Tabs - Mobile */
    .how-it-works-tab {
        flex: 1;
        padding: 0 !important; /* NO padding at all */
        margin: 0 !important;
        font-size: 0.5rem;
        gap: 0;
        min-height: 48px;
        flex-direction: row;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
    }

    /* Hide runicon on mobile */
    .how-it-works-tab .tab-number {
        display: none !important;
    }

    .tab-label {
        font-size: 0.5rem;
        line-height: 1.1;
        padding: 0 !important;
        margin: 0 !important;
        word-spacing: -0.1em;
        letter-spacing: -0.03em;
        white-space: normal; /* Allow text to wrap if needed */
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Ensure progress bar animation works on mobile */
    .how-it-works-tab.progress-active::after {
        bottom: -3px;
        height: 3px;
        z-index: 2; /* Ensure it's visible above border */
    }

    .visual-placeholder {
        min-height: 300px;
    }

    /* Center detection demo on mobile */
    .detection-demo {
        margin: 0 auto !important;
    }
}


/* ============================================================================
   HOW IT WORKS TAB SYSTEM
   ============================================================================ */

/* Tab Navigation */
.how-it-works-tab {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px; /* Compensate for border to prevent shift */
}

.how-it-works-tab:hover {
    background-color: rgba(253, 184, 19, 0.05);
}

.how-it-works-tab.active {
    border-bottom-color: rgba(253, 184, 19, 0.5);
}

/* Progress bar animation */
.how-it-works-tab.progress-active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    width: 0;
    background-color: #FDB813;
    animation: progressBar 12s linear forwards;
    z-index: 1;
}

@keyframes progressBar {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.tab-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    min-width: 1.5rem; /* Prevent shrinking */
    min-height: 1.5rem; /* Prevent shrinking */
    font-weight: 600;
    font-size: 1.125rem;
}

.how-it-works-tab.active .tab-number {
    /* Removed scale transform to prevent shift */
}

.tab-label {
    position: relative;
    font-size: 1.125rem;
    font-weight: 500;
    color: #2c1810;
}

.how-it-works-tab.active .tab-label {
    /* Only border changes on active state */
}

/* Tab Content */
.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Visual Placeholder */
.visual-placeholder {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border: 2px dashed #d1d5db;
    border-radius: 1rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.visual-placeholder:hover {
    border-color: #FDB813;
    background: linear-gradient(135deg, #fffbf0 0%, #fef9e7 100%);
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

/* ============================================================================
   NAVIGATION HOVER EFFECTS
   ============================================================================ */

/* Animated underline effect for menu items */
.animated-underline {
    position: relative;
}

.animated-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #FDB813; /* Honey gold color */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease-out;
}

.animated-underline:hover::after {
    transform: scaleX(1);
}

/* Hero "1 click" animated underline - permanent gold, lighter gold slides in on hover (5px thick) */
.hero-animated-underline {
    position: relative;
    white-space: nowrap;
}

/* Permanent base underline */
.hero-animated-underline::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 5px;
    background-color: #FDB813; /* Standard gold */
    z-index: 1;
}

/* Stronger/darker gold underline that slides in on hover */
.hero-animated-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 5px;
    background-color: #E09600; /* Darker, stronger gold */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease-out;
    z-index: 2;
}

.hero-animated-underline:hover::after {
    transform: scaleX(1);
}

/* Footer "1 click" animated underline - permanent gold, stronger gold slides in on hover (2px thin) */
.footer-animated-underline {
    position: relative;
}

/* Permanent base underline */
.footer-animated-underline::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #FDB813; /* Standard gold */
    z-index: 1;
}

/* Stronger/darker gold underline that slides in on hover */
.footer-animated-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #E09600; /* Darker, stronger gold */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease-out;
    z-index: 2;
}

.footer-animated-underline:hover::after {
    transform: scaleX(1);
}

/* ============================================================================
   CHAT ANIMATION STYLES
   ============================================================================ */

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#coordinationChat {
    width: 100%;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-message.show {
    opacity: 1;
    transform: translateY(0);
}

.chat-message.driver {
    align-items: flex-start;
}

.chat-message.system {
    align-items: flex-end;
}

.chat-name {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    margin-bottom: 4px;
    padding: 0 4px;
}

.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-line;
}

.chat-message.driver .chat-bubble {
    background-color: #E2E8F0;
    color: #1E293B;
    border-bottom-left-radius: 4px;
}

.chat-message.system .chat-bubble {
    background-color: #FDB813;
    color: #1A1A1A;
    border-bottom-right-radius: 4px;
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px 20px !important;
    min-width: 60px;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #1A1A1A;
    display: inline-block;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Scrollbar styling for chat */
#coordinationChat::-webkit-scrollbar {
    width: 6px;
}

#coordinationChat::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

#coordinationChat::-webkit-scrollbar-thumb {
    background: rgba(253, 184, 19, 0.3);
    border-radius: 3px;
}

#coordinationChat::-webkit-scrollbar-thumb:hover {
    background: rgba(253, 184, 19, 0.5);
}

/* Checkpoints */
.checkpoints-container {
    margin-bottom: 0;
    padding: 12px 16px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.checkpoint-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #94A3B8;
    transition: color 0.3s ease;
}

.checkpoint-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkpoint-icon svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    color: white;
}

/* Loading state */
.checkpoint-item.loading {
    color: #64748B;
}

.checkpoint-item.loading .checkpoint-icon {
    border-color: #FDB813;
    position: relative;
}

.checkpoint-item.loading .checkpoint-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #FDB813;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Completed state */
.checkpoint-item.completed {
    color: #1E293B;
}

.checkpoint-item.completed .checkpoint-icon {
    background-color: #FDB813;
    border-color: #FDB813;
}

.checkpoint-item.completed .checkpoint-icon::before {
    display: none;
}

.checkpoint-item.completed .checkpoint-icon svg {
    opacity: 1;
    transform: scale(1);
}

/* ============================================================================
   DETECTION DEMO STYLES
   ============================================================================ */

.detection-demo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: fit-content;
}

.detection-vehicle-card {
    background: transparent;
    padding: 0;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detection-header {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.health-ring {
    flex-shrink: 0;
    margin-top: 2px;
}

.vehicle-name {
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
    font-family: 'Satoshi', sans-serif;
    line-height: 1.4;
}

.vehicle-model {
    font-size: 11px;
    color: #64748B;
    font-weight: 400;
    line-height: 1.4;
}

.detection-issue {
    background: rgba(139, 0, 0, 0.02);
    border: 1px solid rgba(139, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
}


.detection-run-wrapper.expanded .detection-issue {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-arrow {
    flex-shrink: 0;
    color: #000000;
    transition: transform 0.2s ease;
}

.detection-run-wrapper.expanded .dropdown-arrow {
    transform: rotate(180deg);
}

.detection-issue-details {
    background: rgba(139, 0, 0, 0.02);
    border: 1px solid rgba(139, 0, 0, 0.4);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: -8px;
}

.detection-run-wrapper.expanded .detection-issue-details {
    display: flex;
}

.issue-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #64748B;
    padding-left: 8px;
}

.issue-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
}

.issue-content {
    flex: 1;
    min-width: 0;
}

.issue-code {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin: 0;
    font-family: 'Satoshi', sans-serif;
}

.issue-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    font-weight: 400;
}

.issue-urgency {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.urgency-medium {
    color: #F59E0B;
}

.detection-status-ok {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #F0FDF4;
    border-radius: 6px;
    color: #15803D;
    font-size: 14px;
    font-weight: 500;
}

.detection-status-ok svg {
    color: #4CAF50;
}

/* ============================================================================
   CARDNA TIMELINE
   ============================================================================ */

.cardna-timeline-container {
    padding: 24px 0;
}

.cardna-section {
    margin-bottom: 48px;
}

.cardna-section:last-child {
    margin-bottom: 0;
}

.cardna-strand-label {
    font-size: 16px;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.cardna-strand {
    position: relative;
    height: 4px;
    background: linear-gradient(90deg, #E8E8E8 0%, #D4D4D4 100%);
    border-radius: 2px;
    margin-bottom: 8px;
}

.cardna-service-strand {
    background: linear-gradient(90deg, #2C1810 0%, #1a0f0a 100%);
}

.cardna-telemetrics-strand {
    background: linear-gradient(90deg, #FDB813 0%, #F5A623 100%);
    margin-bottom: 24px;
}

.cardna-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.cardna-dot:hover {
    transform: translate(-50%, -50%) scale(1.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.cardna-dot-completed {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.cardna-dot-pending {
    background: linear-gradient(135deg, #FDB813 0%, #F5A623 100%);
}

.cardna-dot-high {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    animation: pulse 2s infinite;
}

.cardna-dot-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(239, 68, 68, 0);
    }
}

.cardna-timeline-axis {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.cardna-axis-start,
.cardna-axis-end {
    position: relative;
    padding-top: 8px;
}

.cardna-axis-start::before,
.cardna-axis-end::before {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 6px;
    background: #D1D5DB;
}

.cardna-axis-start::before {
    left: 0;
}

.cardna-axis-end::before {
    right: 0;
}

.cardna-hover-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -40px;
    padding: 8px 16px;
    background: transparent;
    color: #2C1810;
    border: 1px solid #2C1810;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cardna-hover-tooltip.visible {
    opacity: 1;
}

/* ============================================================================
   RESPONSIVE - DESKTOP STYLES
   ============================================================================ */

@media (min-width: 769px) {
    /* Make checkmarks more minimal on larger screens */
    .approve-button-mobile {
        font-size: 0.9rem !important;
        padding: 6px 8px !important;
    }

    /* Enhanced timeline on larger screens */
    .cardna-timeline-container {
        padding: 32px 0;
    }

    .cardna-dot {
        width: 14px;
        height: 14px;
    }
}
