.service-card {
    transition: all 0.2s ease;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.service-metrics {
    display: flex;
    flex-wrap: wrap;
}

.metric-item {
    flex: 1 0 33%;
    padding: 1rem;
    text-align: center;
    border-right: 1px solid #f1f5f9;
}

.metric-item:last-child {
    border-right: none;
}

.service-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.service-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
}

.service-time-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-time-value {
    font-weight: 600;
    color: #1e293b;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.service-item {
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-item.expanded {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.service-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.service-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.toggle-icon {
    transition: transform 0.2s ease, color 0.2s ease;
    font-size: 0.75rem;
}

.service-item:hover .toggle-icon {
    color: #3b82f6;
}

.expanded .toggle-icon {
    transform: rotate(90deg);
    color: #3b82f6;
}

.service-stats {
    display: flex;
    align-items: center;
}

.service-quantity {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.quantity-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1.2;
}

.quantity-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: lowercase;
}

.service-details {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.service-details-content {
    padding: 1.25rem;
}

.service-details-content .card-tempo {
    margin: 0.5rem 0;
}

.time-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    height: 100%;
}

.time-metric:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #eff6ff;
    color: #3b82f6;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.metric-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

#servicos-container {
    padding: 0;
}

#servicos-container > .service-list {
    background-color: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

#servicos-container > .card-body {
    padding: 0;
}

#resumo-geral .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.resumo-card {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.resumo-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.resumo-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.resumo-card-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}
