:root {
    --dum-primary: #A80000;
    --dum-primary-hover: #8B0000;
    --dum-bg: #f8f9fa;
    --dum-card-bg: #ffffff;
    --dum-text: #1d3557;
    --dum-text-muted: #457b9d;
    --dum-border: #e1e4e8;
    --dum-shadow: none;
    --dum-glass: rgba(255, 255, 255, 0.9);
}

.dum-lot-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--dum-text);
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Header & Filters */
.dum-lot-header {
    background: var(--dum-glass);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--dum-border);
}

.dum-lot-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    text-align: center;
    color: var(--dum-primary);
}

.dum-lot-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: center;
}

.dum-lot-filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 200px;
}

.dum-lot-filter-group label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dum-lot-select-wrapper,
.dum-lot-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.dum-lot-select,
.dum-lot-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--dum-border);
    background: #fff;
    font-size: 1rem;
    appearance: none;
    transition: all 0.2s ease;
}

.dum-lot-select {
    padding-right: 2.5rem;
}

.dum-lot-select:focus,
.dum-lot-input:focus {
    outline: none;
    border-color: var(--dum-primary);
}

.dum-lot-select-wrapper i {
    position: absolute;
    right: 0.8rem;
    color: var(--dum-text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.dum-lot-btn {
    background: var(--dum-primary);
    color: #fff;
    border: none;
    padding: 0;
    border-radius: 0.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    height: 48px;
    width: 48px;
}

.dum-lot-btn:hover {
    background: var(--dum-primary-hover);
}

.dum-lot-actions {
    display: flex;
    align-items: center;
}

.dum-lot-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dum-text-muted);
    transition: color 0.2s ease;
    padding: 0.5rem;
    height: 48px;
    width: 48px;
}

.dum-lot-clear:hover {
    color: var(--dum-primary);
}

/* Date Sections */
.dum-lot-date-title {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.dum-lot-date-title i {
    color: var(--dum-primary);
}

/* Grid & Cards */
.dum-lot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.dum-lot-card {
    background: var(--dum-card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--dum-border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.dum-lot-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dum-lot-logo-bg {
    width: 60px;
    height: 60px;
    background: #f0f2f5;
    border-radius: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.dum-lot-logo-bg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dum-lot-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: var(--dum-text);
}

.dum-lot-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dum-text-muted);
    text-transform: uppercase;
}

/* Numbers */
.dum-lot-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.dum-lot-ball {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
    background: var(--dum-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
}

.dum-lot-extra {
    border-top: 1px dashed var(--dum-border);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.dum-lot-premio {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.dum-lot-premio .label {
    font-weight: 600;
    color: var(--dum-text-muted);
}

.dum-lot-premio .value {
    font-weight: 800;
    color: var(--dum-text);
}

/* Pagination */
.dum-lot-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem;
    padding: 2rem 0;
}

.dum-lot-page-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 1px solid var(--dum-border);
    border-radius: 0.5rem;
    text-decoration: none !important;
    color: var(--dum-text);
    font-weight: 700;
    transition: all 0.2s ease;
}

.dum-lot-page-info {
    font-weight: 600;
    color: var(--dum-text-muted);
}

.dum-lot-page-info strong {
    color: var(--dum-primary);
    font-size: 1.2rem;
}

/* Empty State */
.dum-lot-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--dum-text-muted);
}

.dum-lot-empty i {
    margin-bottom: 1rem;
    opacity: 0.3;
}

.animate-spin {
    animation: dum-spin 1s linear infinite;
}

@keyframes dum-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .dum-lot-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .dum-lot-btn {
        justify-content: center;
    }

    .dum-lot-grid {
        grid-template-columns: 1fr;
    }

    .dum-lot-title {
        font-size: 1.8rem;
    }
}