/* ===========================================
   Cost Dashboard Styles
   =========================================== */

/* Main Container */
.cost-dashboard-container {
    padding: 20px;
}

.cost-dashboard-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 24px;
}

/* Cards Container */
.cost-cards-container {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

/* Individual Card */
.cost-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    min-height: 120px;
}

.cost-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cost-card-label {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Icons */
.cost-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.cost-card-icon-total {
    background-color: #e0f2fe;
    color: #0284c7;
}

.cost-card-icon-user {
    background-color: #f0fdf4;
    color: #16a34a;
}

.cost-card-icon-role {
    background-color: #fef3c7;
    color: #d97706;
}

.cost-card-icon-resource {
    background-color: #ede9fe;
    color: #7c3aed;
}

/* Card Value */
.cost-card-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 12px 0 8px 0;
}

/* Change Indicators */
.cost-change-positive {
    color: #16a34a;
}

.cost-change-negative {
    color: #dc2626;
}

.cost-change-neutral {
    color: #6b7280;
}

.cost-change-arrow {
    font-size: 12px;
}

/* Search and Export Row */
.cost-toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.cost-toolbar-spacer {
    margin-left: auto;
}

/* Grid Container */
.cost-grid-container {
    padding-left: 0 !important;
    border-radius: 8px;
    overflow: hidden;
}
/* Remove filter panel background and border - Direct targeting */
.filters-panel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Remove grid internal padding for alignment */
.cost-grid-container .grid-header,
.cost-grid-container .main-table {
    padding-left: 0 !important;
}

/* Ensure search and filters align */
.cost-toolbar {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Hide the empty gwt-HTML div */
.filters-panel > .gwt-HTML:first-child {
    display: none !important;
}

/* Remove default margin from dropdowns */
.filters-panel .dropdown {
    margin: 0 !important;
}

/* Align grid content with filters */
.cost-grid-container > div {
    padding-left: 0 !important;
}