:root {
    --color-primary: #10b981; /* Emerald 500 (vitória) */
    --color-secondary: #f43f5e; /* Rose 500 (derrota) */
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
}
.card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.btn-win {
    background-color: var(--color-primary);
    transition: all 0.15s ease;
}
.btn-win:hover {
    background-color: #059669; /* Emerald 600 */
    transform: translateY(-1px);
}
.btn-loss {
    background-color: var(--color-secondary);
    transition: all 0.15s ease;
}
.btn-loss:hover {
    background-color: #e11d48; /* Rose 600 */
    transform: translateY(-1px);
}
.error-highlight {
    border-color: var(--color-secondary) !important; 
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.5) !important;
}
#bankrollChartContainer {
    position: relative;
    height: 40vh;
    width: 100%;
    max-height: 400px;
}
.llm-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}
.llm-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin-left: -8px;
    margin-top: -8px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 12px;
}
@media (max-width: 640px) {
    th, td {
        font-size: 0.75rem;
        padding: 8px;
    }
    #bankrollChartContainer {
        height: 50vh;
    }
}