:root {
    --primary-text: #18181b;
    --secondary-text: #52525b;
    --card-bg: #ffffff;
    --accent-color: #000000;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Interactive Buttons */
.interactive-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    color: var(--secondary-text);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.interactive-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-text);
}

.interactive-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.interactive-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Outcome Cards */
.outcome-card {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--card-bg);
    min-width: 320px;
    max-width: 320px;
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.outcome-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.outcome-image {
    height: 180px;
    width: 100%;
    object-fit: cover;
    background-color: #f4f4f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.probability-bar {
    height: 4px;
    background-color: #f4f4f5;
    border-radius: 2px;
    overflow: hidden;
}

.probability-fill {
    height: 100%;
    background-color: var(--accent-color);
}

/* Slider */
.outcomes-slider {
    position: relative;
    width: 100%;
}

.outcomes-slides-container {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.outcomes-slides-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Analysis Progress Animation */
.analysis-step-icon.active {
    background-color: #000;
    color: white;
}

@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}

.animate-progress {
    animation: progress 1.5s ease-in-out forwards;
}

/* General Styles */
.font-geist-mono {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Text colors */
.text-red-500 {
    color: #ef4444;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Notifications */
#notification {
    z-index: 50;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .outcomes-slides {
        gap: 1rem;
    }
    
    .outcome-card {
        min-width: 280px;
        max-width: 280px;
    }
}
