.consumption-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.metric-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: #3c8dbc;
}

.metric-content {
    flex: 1;
}

.metric-label {
    font-size: 1rem;
    color: #666;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.billing-period-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.period-item {
    display: flex;
    gap: 10px;
}

.period-item strong {
    color: #555;
    font-size: 1.6rem;
}

.period-item span {
    color: #333;
    font-size: 1.7rem;
}

.consumption-progress-section {
    margin-bottom: 30px;
}

.consumption-progress-section h2 {
    margin-bottom: 15px;
    color: #333;
}

.progress-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.progress {
    height: 35px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: width 0.6s ease;
    min-height: 35px;
}

.progress-percent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
}

.progress-bar-success {
    background-color: #5cb85c;
}

.progress-bar-warning {
    background-color: #f0ad4e;
}

.progress-bar-danger {
    background-color: #d9534f;
}

.progress-legend {
    margin-top: 10px;
    text-align: center;
}

.progress-label {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.consumption-warning {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 6px;
}

.consumption-warning i {
    font-size: 2rem;
}

.alert-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.alert-content p {
    margin: 0;
}

.recent-tickets-section {
    margin-bottom: 30px;
}

.recent-tickets-section h2 {
    margin-bottom: 15px;
    color: #333;
}

.recent-tickets-filters {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.recent-tickets-filters .filter-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.recent-tickets-filters .filter-group {
    display: flex;
    gap: 5px;
    align-items: center;
}

.tickets-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.tickets-summary table {
    margin-top: 15px;
    width: 100%;
}

.tickets-summary table th {
    white-space: nowrap;
    padding: 10px;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.tickets-summary table td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.tickets-summary table td a {
    color: #3c8dbc;
    text-decoration: none;
}

.tickets-summary table td a:hover {
    text-decoration: underline;
}

.tickets-summary .status-badge {
    display: inline-block;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    vertical-align: middle;
}

.tickets-summary .status-open {
    color: #779500;
}

.tickets-summary .status-answered {
    color: #000000;
}

.tickets-summary .status-customer-reply {
    color: #ff6600;
}

.tickets-summary .status-closed {
    color: #888888;
}

.tickets-summary .status-on-hold {
    color: #224488;
}

.tickets-summary .status-in-progress {
    color: #cc0000;
}

.tickets-summary .status-default {
    color: #999999;
}

.summary-text {
    margin-bottom: 20px;
    color: #555;
}

.no-tickets-message {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    color: #999;
}

.view-all-link {
    margin-top: 20px;
    text-align: center;
}

.consumption-error {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 6px;
}

.consumption-error i {
    font-size: 2rem;
}

.error-content h4 {
    margin: 0 0 10px 0;
}

.error-content p {
    margin: 5px 0;
}

.error-help {
    font-style: italic;
    color: #999;
}

