/* Dados Page Styles */

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 1rem;
    text-align: center;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.btn-outline-brown {
    color: rgb(109, 62, 47);
    border-color: rgb(109, 62, 47);
}
.btn-outline-brown:hover,
.btn-outline-brown:focus {
    color: #fff;
    background-color: rgb(109, 62, 47);
}

.filter-buttons .btn-group {
    gap: 0.5rem;
}

.filter-buttons .btn {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-buttons .btn.active {
    color: #fff;
    background-color: rgba(123, 84, 69, 0.89);
    border-color: rgba(109, 84, 76, 0.61);
}

/* Data Grid */
.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Data Cards */
.data-card {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Card Header */
.data-card-header {
    background: rgba(248, 249, 250, 0.8);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(240, 240, 240, 0.6);
}

.data-icon {
    font-size: 1.2rem;
    color: #6d3e2f;
}

.data-type-badge {
    background: rgba(129, 82, 67, 0.9);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Trend Indicators */
.data-trend {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.trend-value {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

.trend-value.positive {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.trend-value.negative {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.trend-period {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Card Body */
.data-card-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.data-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Data Value */
.data-value-container {
    margin-bottom: 1rem;
}

.data-value {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.data-value.success {
    background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
    color: #198754;
    border: 2px solid rgba(25, 135, 84, 0.2);
}

.data-value.primary {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(13, 110, 253, 0.05));
    color: #0d6efd;
    border: 2px solid rgba(13, 110, 253, 0.2);
}

.data-value.info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 202, 240, 0.05));
    color: #0dcaf0;
    border: 2px solid rgba(13, 202, 240, 0.2);
}

.data-value.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
    color: #ffc107;
    border: 2px solid rgba(255, 193, 7, 0.2);
}

/* Data Description */
.data-description {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Chart Placeholder */
.data-chart-placeholder {
    height: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    overflow: hidden;
    margin-top: auto;
}

.chart-bar {
    height: 100%;
    background: linear-gradient(90deg, #6d3e2f, #cd6129);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Summary Section */
.summary-section {
    background: rgba(248, 249, 250, 0.5);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(240, 240, 240, 0.6);
}

.summary-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-left: 4px solid #6d3e2f;
}

.summary-card h4 {
    color: #6d3e2f;
    font-weight: 600;
    margin-bottom: 1rem;
}

.summary-card p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filter-buttons .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .filter-buttons .btn {
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .data-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .data-value {
        font-size: 2rem;
        padding: 0.75rem;
    }
    
    .summary-section {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .data-card-body {
        padding: 1rem;
    }
    
    .data-title {
        font-size: 1rem;
    }
    
    .data-description {
        font-size: 0.9rem;
    }
    
    .data-value {
        font-size: 1.75rem;
        padding: 0.5rem;
    }
    
    .summary-card {
        padding: 1rem;
    }
}
